I can really work with the linker, but here it just does not work
... :) That is why I'm asking for such stupid things...
gdc ./main.d -o Refuja -lXlib/usr/bin/ld: cannot find -lXlib
collect2: ld returned 1 exit status
Etc. Nothing works...
gdc ./main.d -o Refuja -L /usr/include/X11/ -l Xlib
Not work...
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
Paths:
import std.c.linux.X11.Xlib;
import std.c.linux.X11.X;
/usr/include/d2/4.6/std/c/linux/X11
Yes (I'm programmer for 7 years.), but this is not work... (-l
Xlib.h)
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
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...?
But what option do I use? I cannot find in the manual classical
-l... And path - absolute or relative?
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
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
http://bugzilla.gdcproject.org/show_bug.cgi?id=53
Johannes Pfau changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
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
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
http://bugzilla.gdcproject.org/show_bug.cgi?id=52
Johannes Pfau changed:
What|Removed |Added
CC||johannesp...@gmail.com
--
Configure bugm
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
16 matches
Mail list logo