tango and gdc

Jason House jason.james.house at gmail.com
Wed Aug 15 20:06:31 PDT 2007


Under linux, I have gotten past compilation issues with -fversion=Posix, 
but I fail to link.  Any ideas on what could be going wrong?

$ gdc -fversion=Posix -w -g *.d -o housebot-0.6.gdc -I /import/ -ltango
/home/jhouse/tmp/cceVjUiy.o: In function `_Dmain':
/home/jhouse/Documents/go/housebot-0.6/housebot.d:259: undefined 
reference to `_D3std2gc7disableFZv'
/bin/../lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libtango.a(tango.util.time.StopWatch.o): 
In function `_D5tango4util4time9StopWatch9StopWatch4stopMFZf':
tango/util/time/StopWatch.d:(.gnu.linkonce.t_D5tango4util4time9StopWatch9StopWatch4stopMFZf+0x17): 
undefined reference to `__U64_LDBL'
/bin/../lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libtango.a(tango.util.time.StopWatch.o): 
In function `_D5tango4util4time9StopWatch9StopWatch5timerFZm':
tango/util/time/StopWatch.d:(.gnu.linkonce.t_D5tango4util4time9StopWatch9StopWatch5timerFZm+0x4f): 
undefined reference to `_d_throw at 4'
/bin/../lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libtango.a(tango.math.Math.o): 
In function `_D5tango4math4Math4asinFcZc':
tango/math/Math.d:(.gnu.linkonce.t_D5tango4math4Math4asinFcZc+0x26): 
undefined reference to `_Cmul'
etc...


More information about the Digitalmars-d-learn mailing list