Mac OS X 10.5

Dave Cheney dave at cheney.net
Wed Oct 31 00:03:31 PDT 2007


Hi

I was able to build a workable gdc 0.24 from the darwin ports archive 
by removing the reference to c++ in the configure.args section of this 
file

/opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/gdc/Portfile

and 

then installing with

sudo port install gdc

This builds gdc 0.24 against gcc 4.1.2.

During operation gdc generates numerous warnings

/var/folders/-9/-91jp5FuE3GuA1DJFsQFLE+++TI/-Tmp-//cckNieF8.s:658:indirect 
jmp without `*'
/var/folders/-9/-91jp5FuE3GuA1DJFsQFLE+++TI/-Tmp-//cckNieF8.s:673:indirect 
jmp without `*'
/var/folders/-9/-91jp5FuE3GuA1DJFsQFLE+++TI/-Tmp-//cckNieF8.s:692:indirect 
jmp without `*'
/var/folders/-9/-91jp5FuE3GuA1DJFsQFLE+++TI/-Tmp-//cckNieF8.s:707:indirect 
jmp without `*'

but produces a workabout executable

I haven't had any luck compiling gdc from svn yet as the only apple 
compiler sources available are gcc-5363, which is from the tiger 
series. It appears that the gcc built into Leopard is build from 
revision 5465 which has just been released now. If I have any luck 
building against leopards gcc i'll report it to this list

Cheers

Dave



More information about the D.gnu mailing list