Compile X Window Manager

evilrat evilrat666 at gmail.com
Mon May 20 01:10:21 PDT 2013


On Monday, 20 May 2013 at 07:28:42 UTC, Samms wrote:
> But why this command:
>
> gdc ./main.d -o Refuja -L /usr/include/d2/4.6/std/c/linux/X11/ 
> -l Xlib
>
> not work?

i don't know gdc, but dmd is frontend so u work with frontend 
which pass linker flags with -L, that means if you need to tell 
linker "-L /some/path" try doing something like this 
"-L-L/some/path"(single string) or "-LL(or -L-L?) -L/some/path"

may be someone more experienced can tell you the details about 
gdc linker options.


More information about the D.gnu mailing list