------- Comment #3 from dougsemler at gmail dot com  2010-04-16 14:53 -------
Right now in a cross environment, the target libraries, when built as DLLs, are
also installed in the host's bindir, due to the -bindir flag now being passed
to libtool.  While this may be appropriate in a native compiler case, I don't
think it's right in a cross environment.

My opinion is that in a cross environment, the -bindir parameter should be
$(toolexeclibdir), and not $(bindir).  This will expand to
exec_prefix/target/lib/MULTIOSSUBDIR or gcc's private dir/MULTISUBDIR when
version-specific-runtime is specified.  This places the DLLs in the same
structure as their matching .dll.a files and separates the libs properly on
multilib 64 bit mingw.

I think, in a cross environment, libgcc_s should also follow this convention :)


-- 

dougsemler at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dougsemler at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40125

Reply via email to