www.digitalmars.com         C & C++   DMDScript  

D - Link static

Hello.

How can I link static with gdc?
At the moment I tried:

gdc -o myprog myprog.d mysql.d -static -Xlinker /usr/lib/libmysqlclient.so

But this return a non working binary.

Thanks, Andreas
Jan 26 2007