This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]