Compiling the hello world example fails

chmike christophe at meessen.net
Fri Aug 23 08:58:31 PDT 2013


On Friday, 23 August 2013 at 15:11:32 UTC, chmike wrote:
> dmd main.d -I./imp -J./org.eclipse.swt.gtk.linux.x86/res 
> -L-L./lib -L-lorg.eclipse.swt.gtk.linux.x86 -L-ldwt-base

adding -v I can see that everything compiles without error until 
the gcc command which is the following:

gcc main.o -o main -m64 -L./lib -lorg.eclipse.swt.gtk.linux.x86 
-ldwt-base -L/usr/lib/x86_64-linux-gnu -L/usr/lib/i386-linux-gnu 
-Xlinker --no-warn-search-mismatch -Xlinker --export-dynamic 
-l:libphobos2.a -lpthread -lm -lrt

The command looks Ok.


Checking with gcc --help and other help variants I don't see any 
-Lxxx or -lxxx command line options.


More information about the Digitalmars-d-dwt mailing list