[fpc-pascal]Running 32bit on 64bit suse [solved]
rkimber at ntlworld.com
rkimber at ntlworld.com
Thu Aug 5 17:45:45 CEST 2004
On Wed, 4 Aug 2004 23:28:09 +0200 (CEST)
marcov at stack.nl (Marco van de Voort) wrote:
> > I tried running the 32bit fpc on my opteron suse 9.1 64bit, which
> > should be possible, but I get linking problems:
> Use
> fpc -FD/path/to/32bitbinutils <file>
It turns out that the suse linker does both 32 and 64 bit and that I
needed wrapper scripts for as and ld
as:
exec as --32 "$@"
ld:
exec ld -m elf_i386 "$@"
Provided they are not in a directory that is in the PATH then it works
fine using your solution
fpc -FD/path/to/wrapperscripts <file>
Many thanks.
- Richard.
--
Richard Kimber
http://www.psr.keele.ac.uk/
More information about the fpc-pascal
mailing list