Compile X Window Manager

Samms matesax at gmail.com
Tue May 21 05:36:26 PDT 2013


On Tuesday, 21 May 2013 at 08:35:09 UTC, eles wrote:
> On Tuesday, 21 May 2013 at 06:59:55 UTC, Iain Buclaw wrote:
>> On 21 May 2013 04:58, Samms <matesax at gmail.com> wrote:
>
> Basically, the command line should be:
>
> gdc ./main.d /usr/include/d2/4.6/std/c/linux/X11/Xlib.d -o 
> Refuja
> -L/usr/include/X11/ -lXlib -lX11
>
> with the "-L/usr/include/X11/" part being almost useless (more 
> probably, you wanted to write: "-L/usr/lib", but that should be 
> taken into account by default.
>
> Samms, try this:
>
> gdc ./main.d /usr/include/d2/4.6/std/c/linux/X11/Xlib.d -o 
> Refuja -lXlib -lX11

This problem is resolved...

>Hooray! :)

>gdc ./main.d /usr/include/d2/4.6/std/c/linux/X11/Xlib.d -o 
>Refuja -L-L/usr/include/X11/ -L-lXlib -lX11


More information about the D.gnu mailing list