tango on linux
sean at f4.ca
Sat Feb 10 16:52:18 PST 2007
> I have trouble to use tango on linux.
> I have tried both gdc and dmd, and they give me the same error:
> lab console # dmd hello.d
> gcc hello.o -o hello -m32 -lphobos -lpthread -lm
> hello.o:(.data+0x30): undefined reference to
> hello.o: In function `_Dmain':
> hello.d:(.gnu.linkonce.t_Dmain+0x10): undefined reference to
> collect2: ld returned 1 exit status
> --- errorlevel 1
I'm guessing you aren't using Bud or a similar tool? The user-level
Tango code isn't in the packaged static library.
> On windows it works for me, but in linux no..
Strange that it would work for you on Windows though.
More information about the Digitalmars-d-learn