I tried running the 32bit fpc on my opteron suse 9.1 64bit, which should be possible, but I get linking problems:
Free Pascal Compiler version 1.9.4 [2004/05/30] for i386 Copyright (c) 1993-2004 by Florian Klaempfl
Target OS: Linux for i386
Compiling hello.pas
Linking hello
/usr/bin/ld: skipping incompatible
/usr/local/lib/fpc/1.9.4/units/linux/rtl/prt0.o when searching for /usr/local/lib/fpc/1.9.4/units/linux/rtl/prt0.o
/usr/bin/ld: cannot find
/usr/local/lib/fpc/1.9.4/units/linux/rtl/prt0.o hello.pas(4,1) Error: Error while linking Closing script ppas.sh
I get the same error whether I run it 'normally' or do: linux32 fpc hello.pas
I also tried 1.0.10 in the same way and got;
Free Pascal Compiler version 1.0.10 [2003/06/26] for i386 Copyright (c) 1993-2003 by Florian Klaempfl
Target OS: Linux for i386
Compiling hello.pas
Assembling hello
hello.s: Assembler messages:
hello.s:14: Error: suffix or operands invalid for `push' hello.s:20: Error: `-4(%ebp)' is not a valid 64 bit base/index expression hello.s:21: Error: suffix or operands invalid for `push' hello.s:22: Error: `-4(%ebp)' is not a valid 64 bit base/index expression hello.s:23: Error: suffix or operands invalid for `push' hello.s:25: Error: `-4(%ebp)' is not a valid 64 bit base/index expression hello.s:27: Error: suffix or operands invalid for `push' hello.pas(4,4) Error: Error while assembling exitcode 1 hello.pas(4,4) Fatal: There were 2 errors compiling module, stopping
I'd be grateful if anyone can tell me a way out of this, other than going back completely to i386 linux. I tried the suse amd64 list but got no answer.
Thanks,
- Richard.
