Here is a script for building on Debian and Ubuntu
Joakim Karlsson
aio at treyst.se
Mon Feb 20 13:40:52 PST 2006
I have finally given myself the time to create a little script for more
or less automagicly building gdc on Debian and Ubuntu systems.
Here you go...
#!/bin/sh
PREFIX=/opt/gdc
GCC_PACKAGE=gcc-4.0
GDC_SOURCE=gdc-0.17.tar.bz2
GDC_URL=http://home.earthlink.net/~dvdfrdmn/d/${GDC_SOURCE}
mkdir gdc
cd gdc
apt-get source ${GCC_PACKAGE}
tar xzf gcc*.orig.tar.gz
cd *.orig
tar xjf *.tar.bz2
cd gcc*
cd gcc
wget ${GDC_URL}
tar xjf gdc*.tar.bz2
cd ..
gcc/d/setup-gcc.sh
cd ..
gcc*/configure --prefix=${PREFIX} --enable-languages=d
make
sudo make install
//Joakim Karlsson
More information about the D.gnu
mailing list