[fpc-pascal]running on amd64
Peter Vreman
peter at freepascal.org
Fri Jul 16 13:59:40 CEST 2004
> As a non-expert, is there a way to use the 32bit fpc to compile programs
> on a dual amd opteron, SuSe 9.1 Prof?
>
> Fpc will check the syntax OK, but produces assembler errors, presumably
> because the assembler is 64bit.
>
> I am able to run programs that I compiled on my previous 32bit
> machine without problem, but I don't seem to be able to compile
> anything new, even using the linux32 emulation program.
>
> As I'm not an expert I'd appreciate some guidance.
I don't know how Suse works. I can only explain the basic theory. You need
to supply the prefix of the as and ld binaries that will assemble and link
32bit code. You can use the 32bit gcc -V to find the names of the as and
ld binaries. You can also build cross-binutils for it.
I've got it working correctly under a Debian chroot running sid-pure64
with self-build cross-binutils.
More information about the fpc-pascal
mailing list