On Wed, 2004-01-28 at 14:18, Florian Bachmann wrote:
I am trying to produce a 64bit shared library on a IRIX 6.5 (MIPS4)
machine using the GNU toolchain (gcc, autoconf, automake, libtool).
I am configuring gcc to produce 64bit binaries with CC="gcc -mabi=64".
Libtool correctly picks up the SGI system linker ("/usr/bin/ld"), but
for some reason it will always add the "-n32" option, which instructs
ld to link 32bit binaries. What is the correct way of telling libtool
to run ld with the "-64" option instead?
What happens if you specify "-mabi=64" in CFLAGS instead of changing
CC? Does that work?
Scott