Incompatible libphobos2.a?

Andre Tampubolon andre at lc.vlsm.org
Mon Jan 2 19:35:49 PST 2012


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 is being invoked, and I use this command to build:
make -f posix.mak MODEL=64

The strange thing is if I just grab 64 bit libphobos2.a from the
official DMD distribution, then it'll go fine.



More information about the Digitalmars-d mailing list