[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libtool 1.5.2 on SGI/IRIX

From: Florian Bachmann
Subject: Re: libtool 1.5.2 on SGI/IRIX
Date: Wed, 28 Jan 2004 20:14:00 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113

Scott James Remnant wrote:
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?


Thanks for the quick reply, Scott.

I have experimented with CFLAGS, CXXFLAGS, etc. before but had no success... until I set both CFLAGS _and_ CXXFLAGS to "-mabi=64", which produced the desired results. It seems libtool only scans CFLAGS and not CXXFLAGS. Anyway, it seems to work now. Thank you!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]