Re: Compile X Window Manager

2013-05-19 Thread Samms
I can really work with the linker, but here it just does not work ... :) That is why I'm asking for such stupid things...

Re: Compile X Window Manager

2013-05-19 Thread Samms
gdc ./main.d -o Refuja -lXlib/usr/bin/ld: cannot find -lXlib collect2: ld returned 1 exit status Etc. Nothing works...

Re: Compile X Window Manager

2013-05-19 Thread Samms
gdc ./main.d -o Refuja -L /usr/include/X11/ -l Xlib Not work...

Re: Compile X Window Manager

2013-05-19 Thread Alexandr Druzhinin
20.05.2013 10:51, Samms пишет: Yes (I'm programmer for 7 years.), but this is not work... (-l Xlib.h) Hmm... you ask unusual questions for a programmer with 7 year expirience. :) Try read gcc man about -l option - it says that after -l should be lib name without lib prefix (depends on OS) and

Re: Compile X Window Manager

2013-05-19 Thread Samms
Paths: import std.c.linux.X11.Xlib; import std.c.linux.X11.X; /usr/include/d2/4.6/std/c/linux/X11

Re: Compile X Window Manager

2013-05-19 Thread Samms
Yes (I'm programmer for 7 years.), but this is not work... (-l Xlib.h)

Re: Compile X Window Manager

2013-05-19 Thread Iain Buclaw
On May 19, 2013 9:30 PM, "Samms" wrote: > > On Sunday, 19 May 2013 at 20:28:13 UTC, Samms wrote: >> >> But what option do I use? I cannot find in the manual classical -l... And path - absolute or relative? > > > And - Xlib.h or Xlib.d or...? You seem to be going about this the illogical way. Do

Re: Compile X Window Manager

2013-05-19 Thread Samms
On Sunday, 19 May 2013 at 20:28:13 UTC, Samms wrote: But what option do I use? I cannot find in the manual classical -l... And path - absolute or relative? And - Xlib.h or Xlib.d or...?

Re: Compile X Window Manager

2013-05-19 Thread Samms
But what option do I use? I cannot find in the manual classical -l... And path - absolute or relative?

Re: Compile X Window Manager

2013-05-19 Thread Iain Buclaw
On 19 May 2013 20:58, Samms wrote: > Hi, > I found X.d and Xlib.d replacement for X11 library of C language. But it > returned many errors when compiling. Some problems was in non-static > declaration, but how can I resolve this problems: > > gdc ./main.d -o Refuja > /tmp/ccysZHrg.o: In function

Compile X Window Manager

2013-05-19 Thread Samms
Hi, I found X.d and Xlib.d replacement for X11 library of C language. But it returned many errors when compiling. Some problems was in non-static declaration, but how can I resolve this problems: gdc ./main.d -o Refuja /tmp/ccysZHrg.o: In function `_Dmain': main.d:(.text+0x3f): undefined refer

[Bug 53] internal compiler error: in toObjFile, at d/d-glue.cc:2986

2013-05-19 Thread gdc-bugzilla
http://bugzilla.gdcproject.org/show_bug.cgi?id=53 Johannes Pfau changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug 53] New: internal compiler error: in toObjFile, at d/d-glue.cc:2986

2013-05-19 Thread gdc-bugzilla
http://bugzilla.gdcproject.org/show_bug.cgi?id=53 Bug #: 53 Summary: internal compiler error: in toObjFile, at d/d-glue.cc:2986 Classification: Unclassified Product: GDC Version: 4.7.x Platform: x86_64 OS/Versi

Re: Unittest tester.

2013-05-19 Thread Johannes Pfau
Am Tue, 14 May 2013 18:59:14 +0200 schrieb "Iain Buclaw" : > core.exception.AssertError@libphobos/src/std/range.d(2995): This is a weird bug: This is what happens: Struct Take consists of an int and a size_t. In between those two we have 4 bytes padding on x86_64. If GCC returns this struct fro

[Bug 52] NRVO not implemented

2013-05-19 Thread gdc-bugzilla
http://bugzilla.gdcproject.org/show_bug.cgi?id=52 Johannes Pfau changed: What|Removed |Added CC||johannesp...@gmail.com -- Configure bugm

[Bug 52] New: NRVO not implemented

2013-05-19 Thread gdc-bugzilla
http://bugzilla.gdcproject.org/show_bug.cgi?id=52 Bug #: 52 Summary: NRVO not implemented Classification: Unclassified Product: GDC Version: development Platform: All OS/Version: All Status: NEW Severity: nor