This is the mail archive of the gcc-patches@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: [RFC PATCH] GCC multilib vs. OS multilib naming


On Fri, Sep 20, 2002 at 04:44:51PM +0200, Jakub Jelinek wrote:
> A follow-up patch would be modifying libstdc++/libgcj etc. configury to
> install libs which go to OS owned directories into
> --print-multi-os-directory, not --print-multi-directory directories.
> Say with --prefix /usr, libstdc++.so.5.0.1 should be installed into
> /usr/lib/`gcc $flags -print-multi-os-directory`/libstdc++.so.5.0.1.

And another followup could put either just libgcc_s*.so, or even better
all .so symlinks and all .a/.la files into
<libdir>/gcc-lib/<target>/<version>/<gcc_multilib_dir>/ 
(.so symlinks as relative to ../../../<os_multilib_dir>/libstdc++.so.5.0.1 etc.
(where number of ../ depends on how deep the thing is), .a/.la files
directly).
Installing /usr/lib/libstdc++.so or /usr/lib/libstdc++.a is IMHO a bad
thing, it prevents multiple compilers to coexist with the same --prefix
(and just binaries suffixed or prefixed with something).

	Jakub


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