|
Re: Link flags that get ignored: msg#00031gnu.libtool.general
In regard to: Link flags that get ignored, Josep M. Perez Cancer said (at...: >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? What happens if you go completely around libtool, and set SGI_ABI before you invoke libtool (and then don't pass -64 to anything via CC/CFLAGS etc.)? See the ABI(5) man page for more information. Also, whether or not that works, what happens if you instead do: CC='cc -64 -Wl,-64' CXX='CC -64 -Wl,-64' CXXFLAGS='-LANG:std' LDFLAGS='-64' Do either of these work around the problem successfully? Ideally libtool should be passing the link flags unmolested, but it's not (yet) perfect. Tim -- Tim Mooney mooney@xxxxxxxxxxxxxxxxxxxxxxxxx Information Technology Services (701) 231-1076 (Voice) Room 242-J6, IACC Building (701) 231-8541 (Fax) North Dakota State University, Fargo, ND 58105-5164 |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: no serial number?: 00031, Patrick Welche |
|---|---|
| Next by Date: | Problems installing dependant libraries: 00031, Fredrick Meunier |
| Previous by Thread: | Link flags that get ignoredi: 00031, Josep M. Perez Cancer |
| Next by Thread: | huge growth gain apuzpe: 00031, Carmine Oneill |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |