inconsistency in location of static and shared libraries on sparc64-sun-solaris*

Aleksandar Milivojevic alex@milivojevic.org
Tue Jan 3 19:37:00 GMT 2006


Quoting Eric Botcazou <ebotcazou@libertysurf.fr>:

>> I've noticed one inconsistency how libraries are installed.  For shared
>> libraries (lib*.so), the 32-bit version is installed in prefix/lib, while
>> 64-bit version is installed in prefix/lib/sparcv9.
>>
>> For static libraries (lib*.a archives), it is the other way around.  The
>> 64-bit version is installed in prefix/lib, while 32-bit version is
>> installed in prefix/lib/sparcv7!?
>
> How many libraries do you have in prefix/lib/sparcv7?  Which one(s)?

Only one so far, libiberty.a.  The lib/sparcv7/libiberty.a contains 32-bit
object files, while lib/libiberty.a contains 64-bit object files.

Actually, looking more closely, the libiberty.a is the only one installed that
way (from the gcc sources).  All others (for example libstdc++.a) seem to
follow standard convention (32 bit in lib, 64 bit in lib/sparcv9).  
Hmmm... bug
in gcc-4.0.2/libiberty/Makefile.in?


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.





More information about the Gcc mailing list