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: [patch]: Fix multilib/non-multilib build for 4.6 for *-w64-mingw32


> Right, beside the point that it uses the lib-confoguration provided by
> multilib. This makes sense for targets which can easily use symbolic
> links.

I'm not sure I understand why.  On SPARC/Solaris, the 64-bit libraries are 
always in lib/sparcv9 (and the 32-bit ones in lib), there are no symlinks 
involved.  So every compiler, being 32-bit or 64-bit, being configured w/ or 
w/o multilibs, must install and search for 64-bit libraries in lib/sparcv9.

> But for win32 targets, which don't have symlink support in 
> general (beside cygwin), this isn't a good solution. The
> standard-behavior of mingw32 (x86) and cygwin (x86) is, that libraries
> are put into /lib.

OK, so you should always reserve lib/ for 32-bit libraries and lib64/ for 
64-bit libraries, whatever the compiler; that's what MULTILIB_OSDIRNAMES is 
designed for.

-- 
Eric Botcazou


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