libtool
[Top][All Lists]
Advanced

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

Link flags that get ignored


From: Josep M. Perez Cancer
Subject: Link flags that get ignored
Date: Tue, 09 Mar 2004 19:56:11 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007

Hello,

I am using libtool to create a library on mips-sgi-irix6.5 with the following constraints:

CC=cc                      (The platform C compiler)
CFLAGS=-64                 (64 bits)
CXX=CC                     (The platform C++ compiler)
CXXFLAGS=-LANG:std -64     (C++ conformity flag and 64 bits)
LDFLAGS=-64                (64 bits)

Libtool doesn't pass the -64 argument to the linker, and then I can't create a 64 bit library. I have had the same problem with other architectures before. Is there any way I can make it not ignore the flag?

Sample output:

/bin/sh ./libtool --mode=link CC -LANG:std -64 -64 -o libGS-master.la -rpath /user1/uni/upc/ac/perez/gsHEAD/lib -version-info 0:0:0 -lglobus_gram_client_vendorcc64 -lglobus_gass_copy_vendorcc64 GS.lo base64.lo broker.lo common.lo disklist.lo filehash.lo graph.lo hash.lo license.lo list.lo mem.lo task.lo -L/aplic/GLOBUS/2.4/lib -lpthread

CC -shared -all -multigot .libs/GS.o .libs/base64.o .libs/broker.o .libs/common.o .libs/disklist.o .libs/filehash.o .libs/graph.o .libs/hash.o .libs/license.o .libs/list.o .libs/mem.o .libs/task.o -Wl,-rpath -Wl,/aplic/GLOBUS/2.4/lib -L/aplic/GLOBUS/2.4/lib /aplic/GLOBUS/2.4/lib/libglobus_gram_client_vendorcc64.so /aplic/GLOBUS/2.4/lib/libglobus_gass_copy_vendorcc64.so -lpthread -soname libGS-master.so.1 `test -n "sgi1.0" && echo -set_version sgi1.0` -update_registry .libs/so_locations -o .libs/libGS-master.so.1.0

ld32: FATAL   12 : Expecting n32 objects: .libs/GS.o is n64.


Thanks in advance,
Josep M. Perez C.





reply via email to

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