Hi!
Well I'm under gentoo, but you'll have to recompile
gcc from scratch to integrate gdc...
- extract gcc-3.4.4 into your source-compile dir
- extract gdc-0.18 into gcc-3.4.4/gcc/ ->
you'll get a gcc-3.4.4/gcc/d/ dir
- in terminal cd to gcc-3.4.4
- ./gcc/d/setup-gcc.sh
- now
./configure --prefix=/opt/gdc --enable-languages=c,d,c++
(1 command-line of course)
make
make install
This is the very same way as written in the gdc-INSTALL text, so no miracles for ppcs
To use the gdc-gcc instead of the gentoo-gcc I simply
add the PATH & LD_LIBRARY_PATH to /opt/gdc:
export PATH=/opt/gdc/bin:$PATH
export LD_LIBRARY_PATH=/opt/gdc/lib:$LD_LIBRARY_PATH
(LD_LIBRARY_PATH very likely isn't required...)
some (all?) d-sources need the executable "dmd",
so I did:
ln -s /opt/gdc/bin/gdmd /opt/gdc/bin/dmd
I also cloned libgphobos.a to libphobos.a (in /opt/gdc/lib)
The compiler seems to work, but I got some "undefined
reference to 'ModuleInfo_3SDL" in linking tumikifighters....
cheers
frostwork