Thread overview | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
December 12, 2011 GDC rpm for Fedora? | ||||
---|---|---|---|---|
| ||||
Any chance we might see a GDC Fedora .rpm at some point? I'm relatively new to Linux in general but I use Fedora because it has LDC D2 in the software center and comes with a clean Gnome Shell (my favorite DE) by default. If I had more experience I'd try to build one myself, only I just got GDC to compile a month ago and I still don't know how to install it (like the LDC is installed) so I think I'm a bit too green just yet. GCC seems to yield better overall runtime performance than LLVM so I'd like to easily be able to use GDC with Mono-D without having to Bash "export PATH=$PATH:/opt/gdc/bin" or remember not to delete the gdc folder out of my Home directory. |
December 12, 2011 Re: GDC rpm for Fedora? | ||||
---|---|---|---|---|
| ||||
Posted in reply to F i L | On 12 December 2011 20:17, F i L <witte2008@gmail.com> wrote: > Any chance we might see a GDC Fedora .rpm at some point? I'm relatively new to Linux in general but I use Fedora because it has LDC D2 in the software center and comes with a clean Gnome Shell (my favorite DE) by default. If I had more experience I'd try to build one myself, only I just got GDC to compile a month ago and I still don't know how to install it (like the LDC is installed) so I think I'm a bit too green just yet. GCC seems to yield better overall runtime performance than LLVM so I'd like to easily be able to use GDC with Mono-D without having to Bash "export PATH=$PATH:/opt/gdc/bin" or remember not to delete the gdc folder out of my Home directory. Fedora requires that GDC be on the current release that they are shipping in rawhide (which currently would be 4.7 pre-release) - as there is no (actively maintained) port for that, they probably won't ship. The same issue is with gcc-pascal too, to which only supports 4.1. -- Iain Buclaw *(p < e ? p++ : p) = (c & 0x0f) + '0'; |
December 13, 2011 Re: GDC rpm for Fedora? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Iain Buclaw | On Monday, 12 December 2011 at 20:36:04 UTC, Iain Buclaw wrote:
> On 12 December 2011 20:17, F i L <witte2008@gmail.com> wrote:
>> Any chance we might see a GDC Fedora .rpm at some point? I'm relatively new
>> to Linux in general but I use Fedora because it has LDC D2 in the software
>> center and comes with a clean Gnome Shell (my favorite DE) by default. If I
>> had more experience I'd try to build one myself, only I just got GDC to
>> compile a month ago and I still don't know how to install it (like the LDC
>> is installed) so I think I'm a bit too green just yet. GCC seems to yield
>> better overall runtime performance than LLVM so I'd like to easily be able
>> to use GDC with Mono-D without having to Bash "export
>> PATH=$PATH:/opt/gdc/bin" or remember not to delete the gdc folder out of my
>> Home directory.
>
>
> Fedora requires that GDC be on the current release that they are
> shipping in rawhide (which currently would be 4.7 pre-release) - as
> there is no (actively maintained) port for that, they probably won't
> ship. The same issue is with gcc-pascal too, to which only supports
> 4.1.
Sorry, I'm still a bit confused. Are you saying you'd have to wait until Fedora 17 to release GDC on that distro (due to aggressive regulations)? Or simply that no one is actively maintaining a repository for it right now?
Sorry for what's probably an obvious question. Like I said, I'm new to Linux. On one hand I really like the way Linux distros provide user friendly software centers. On the other, it's annoying how apparently fragmented, disconnected, and out-of-date they are from one another.
|
December 13, 2011 Re: GDC rpm for Fedora? | ||||
---|---|---|---|---|
| ||||
Posted in reply to F i L | On 12/12/2011 02:17 PM, F i L wrote:
> Any chance we might see a GDC Fedora .rpm at some point? I'm relatively new to Linux in general but I use Fedora because it has LDC D2 in the software center and comes with a clean Gnome Shell (my favorite DE) by default. If I had more experience I'd try to build one myself, only I just got GDC to compile a month ago and I still don't know how to install it (like the LDC is installed) so I think I'm a bit too green just yet. GCC seems to yield better overall runtime performance than LLVM so I'd like to easily be able to use GDC with Mono-D without having to Bash "export PATH=$PATH:/opt/gdc/bin" or remember not to delete the gdc folder out of my Home directory.
I did this once a month or two ago. Tomorrow I'll see if I can't find the scripts I used for you
|
December 13, 2011 Re: GDC rpm for Fedora? | ||||
---|---|---|---|---|
| ||||
Posted in reply to F i L | > If I had more experience I'd try to build one myself, only I just got GDC to compile a month ago and I still don't know how to install it (like the LDC is installed) I don't understand. Building it is the harder part (though imho it's not hard at all on Linux). Just run make install or make install-strip (just make sure you configured prefix right). The build instructions explain everything. > I'd like to easily be able to use GDC with Mono-D without having to Bash "export PATH=$PATH:/opt/gdc/bin" or remember not to delete the gdc folder out of my Home directory. Where's the problem with adding it to your path? I have both ldc and gdc (in /opt) in my path. Works perfectly. |
December 13, 2011 Re: GDC rpm for Fedora? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ellery Newcomer | On 12/13/2011 01:43 AM, Ellery Newcomer wrote: > On 12/12/2011 02:17 PM, F i L wrote: >> Any chance we might see a GDC Fedora .rpm at some point? I'm relatively new to Linux in general but I use Fedora because it has LDC D2 in the software center and comes with a clean Gnome Shell (my favorite DE) by default. If I had more experience I'd try to build one myself, only I just got GDC to compile a month ago and I still don't know how to install it (like the LDC is installed) so I think I'm a bit too green just yet. GCC seems to yield better overall runtime performance than LLVM so I'd like to easily be able to use GDC with Mono-D without having to Bash "export PATH=$PATH:/opt/gdc/bin" or remember not to delete the gdc folder out of my Home directory. > > I did this once a month or two ago. Tomorrow I'll see if I can't find the scripts I used for you http://personal.utulsa.edu/~ellery-newcomer/gdcbuild.sh http://personal.utulsa.edu/~ellery-newcomer/rpmbuild.sh looks like the second script wants the file gdc-1.0.tar.gz [to be in the same directory], which has gdc-1.0 as the top level directory. It should contain everything that gets installed to $PREFIX in the first script. also looks like f16 is on gcc 4.6.2 now.. resulting rpm contains only files unique to gdc. looks to gcc and gcc-c++ for everything else. for some reason, gdc doesn't seem to know where object.d is, and you have to add the flags -I /usr/include/d2/4.6.1/ -I /usr/include/d2/4.6.1/x86_64-redhat-linux/ |
December 13, 2011 Re: GDC rpm for Fedora? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ellery Newcomer | On 13 December 2011 22:15, Ellery Newcomer <ellery-newcomer@utulsa.edu> wrote:
>
> for some reason, gdc doesn't seem to know where object.d is, and you have to add the flags
>
> -I /usr/include/d2/4.6.1/ -I /usr/include/d2/4.6.1/x86_64-redhat-linux/
That will probably be because of:
PREFIX=`echo ~`/gdc3
...
./configure --prefix=$PREFIX
gdc will look in $PREFIX/include/d2 for the import files.
Regards
---
Iain Buclaw
*(p < e ? p++ : p) = (c & 0x0f) + '0';
|
December 13, 2011 Re: GDC rpm for Fedora? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ellery Newcomer | Ellery Newcomer wrote:
> http://personal.utulsa.edu/~ellery-newcomer/gdcbuild.sh
> http://personal.utulsa.edu/~ellery-newcomer/rpmbuild.sh
Awesome! I'll give this a try. Thanks :)
|
December 13, 2011 Re: GDC rpm for Fedora? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Trass3r | Trass3r wrote:
> Just run make install or make install-strip (just make sure you configured prefix right).
Thanks for the info.
|
December 14, 2011 Re: GDC rpm for Fedora? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Iain Buclaw | On 12/13/2011 05:10 PM, Iain Buclaw wrote:
>
> That will probably be because of:
>
> PREFIX=`echo ~`/gdc3
> ...
> ./configure --prefix=$PREFIX
>
>
> gdc will look in $PREFIX/include/d2 for the import files.
>
would setting --prefix=/usr/ and then running
make install prefix=otherprefix
be an effective workaround?
also, for gdc rev 695, I'm getting a
../../gcc/d/d-glue.cc:3030:11: error: ‘struct function’ has no member named ‘naked’
know what that's about?
@F i L: gdcbuild seems to be a bit buggy. I'll update it here when I've gotten a build out of it.
|
Copyright © 1999-2021 by the D Language Foundation