Re: Incompatible libphobos2.a?

2012-01-03 Thread mta`chrono
I just built both 32 64 bit DMD. The 32 bit works fine, but the 64 bit not. I always get this: /usr/bin/ld: skipping incompatible /home/anta40/Digital-Mars/dmd-dev/lib64/libphobos2.a when searching for -lphobos2 Did you compile druntime for 64 bit, too? As libphobos2.a is just an archive

Re: Incompatible libphobos2.a?

2012-01-03 Thread Trass3r
There's another recent thread about this. The makefile is a mess. it doesn't build separate libs. Here's a Linux patch for druntime: diff --git a/posix.mak b/posix.mak index 5fd7fee..9ed2004 100644 --- a/posix.mak +++ b/posix.mak @@ -32,9 +32,9 @@ UDFLAGS=-m$(MODEL) -O -release -nofloat -w -d

Re: Incompatible libphobos2.a?

2012-01-03 Thread Andre Tampubolon
Ah OK. After I built druntime (both for 32 64), dmd works fine. But previously I didn't build druntime, only dmd and phobos, yet it worked (32 only though). I am confused. On 01/03/2012 05:10 PM, mta`chrono wrote: I just built both 32 64 bit DMD. The 32 bit works fine, but the 64 bit not.

Re: Incompatible libphobos2.a?

2012-01-03 Thread mta`chrono
Am 03.01.2012 12:10, schrieb Trass3r: There's another recent thread about this. The makefile is a mess. it doesn't build separate libs. Here's a Linux patch for druntime: Is this going to be official? I'd like to see that in druntime.

Re: Incompatible libphobos2.a?

2012-01-03 Thread Trass3r
On Tuesday, 3 January 2012 at 12:17:06 UTC, mta`chrono wrote: Am 03.01.2012 12:10, schrieb Trass3r: There's another recent thread about this. The makefile is a mess. it doesn't build separate libs. Here's a Linux patch for druntime: Is this going to be official? I'd like to see that in

Incompatible libphobos2.a?

2012-01-02 Thread Andre Tampubolon
I just built both 32 64 bit DMD. The 32 bit works fine, but the 64 bit not. I always get this: /usr/bin/ld: skipping incompatible /home/anta40/Digital-Mars/dmd-dev/lib64/libphobos2.a when searching for -lphobos2 Every time I build 64 bit phobos, I always make sure that it is the 64 bit dmd that