Problem with Athlon 64 lazarus / 1-Linux ---------------------------------------------------------------------- eric · 2004-11-02 10:39 I've got a new Athlon 64 machine with SuSE 9.2 (64-bit) installed on it. When I try to build Lazarus, everything compiles properly, but the linking fails right at the end with: Linking ./lazarus /usr/bin/ld: skipping incompatible /usr/lib/fpc/1.9.5/units/linux/rtl/cprt21.o when searching for /usr/lib/fpc/1.9.5/units/linux/rtl/cprt21.o /usr/bin/ld: cannot find /usr/lib/fpc/1.9.5/units/linux/rtl/cprt21.o lazarus.pp(97,1) Error: Error while linking If I use a compiled Lazarus executable from another system, Lazarus runs and works normally, but when I try to compile a program I get exactly the same error. The same Lazarus source and FPC version work fine on a 32-bit machine. Any comments? Eric ---------------------------------------------------------------------- Marc · 2004-11-02 17:43 I don't know if FPC on AMD64 is fully operational. AFAIK there is still worked on. ---------------------------------------------------------------------- eric · 2004-11-02 19:01 Well, I think it should be using the 32-bit mode of the processor, and therefore running just the same as it does on an i386. Eric ---------------------------------------------------------------------- Anonymous · 2004-11-08 02:35 03 Nov 2004 The x86-64 (aka. AMD64) compiler is progressing nicely so we created a snapshot. You can download the x86 64/Linux snapshot ftp://ftp.freepascal.org/pub/fpc/snapshot/v19/linux-x86_64/fpc- 1.9.5.x86_64.tar.gz B.Eyes ---------------------------------------------------------------------- eric · 2004-11-08 07:54 Yes, I saw that, but the trouble is that it's only a binary snapshot. Also, I'm not sure that it's what I want, i.e. will it only compile 64-bit programs? What I want is a working 32-bit development system running on my Athlon 64 PC. The system is capable; what I'm searching for is a way to get Lazarus/FPC to function in it. Eric ---------------------------------------------------------------------- Lightning · 2004-11-08 12:16 I have the feeling that the compiler wants to use 64 bit libs, i might be wrong ... ---------------------------------------------------------------------- Marc · 2004-11-08 16:24 Maybe ask this on the fpc-devel mailinglist. You can also join #fpc (or #lazarus-ide)  at irc.freenode.org and ask there. ---------------------------------------------------------------------- eric · 2004-11-08 19:40 Thanks, I'll give that a try. Eric