On Monday, 20 May 2013 at 03:54:47 UTC, Samms wrote:
Paths:

import std.c.linux.X11.Xlib;
import std.c.linux.X11.X;

/usr/include/d2/4.6/std/c/linux/X11

if you do such imports with 3rd party modules you could just add import search location for top level path(which in this case is /usr/include/d2/4.6), then import system find modules by packages path, also with dmd(which is at least uses gcc linker,though i might be wrong on this) you link like this "dmd file.d -L/path/to/lib.a"

p.s. don't blame if this doesn't work for you as i don't use gdc, just dmd and ldc(once or so)

Reply via email to