GDC rpm for Fedora?

Ellery Newcomer ellery-newcomer at utulsa.edu
Tue Dec 13 14:15:27 PST 2011


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/


More information about the D.gnu mailing list