On Thursday, 23 May 2019 at 17:39:32 UTC, Iain Buclaw wrote:
And what happens when you compile with -static-libphobos?
This confirms whether you are indeed linking against the wrong
library or not.
gdc main.d -static -libphobos -o main
/usr/bin/ld: cannot find -libphobos
collect2: error: ld
On Monday, 20 May 2019 at 15:19:27 UTC, Iain Buclaw wrote:
On Mon, 20 May 2019 at 12:50, D_Boy via D.gnu
wrote:
On Monday, 20 May 2019 at 08:01:01 UTC, D_Boy wrote:
> I am following Ali Çehreli's book. It says that
> stdout.write()
> should work the same as write()
>
>
On Monday, 20 May 2019 at 08:01:01 UTC, D_Boy wrote:
I am following Ali Çehreli's book. It says that stdout.write()
should work the same as write()
In DMD it works. But when trying to compile with GDC I get the
following error:
gdc anApp.d -o anApp && ./anApp
/usr/bin/ld: /tmp/cc5zJLcW.o: in
I am following Ali Çehreli's book. It says that stdout.write()
should work the same as write()
In DMD it works. But when trying to compile with GDC I get the
following error:
gdc anApp.d -o anApp && ./anApp
/usr/bin/ld: /tmp/cc5zJLcW.o: in function `_Dmain':
anApp.d:(.text+0x32): undefined re