------- Comment #2 from ktietz at gcc dot gnu dot org  2009-08-13 06:08 -------
(In reply to comment #1)
> Even the target-specific i686-mingw32/bin directory contains host 
> applications,
> i.e. the non-$target-prefixed versions of the binutils.
> 
> So since these DLLs are never going to be used on the host, we could put them
> in $target/lib.  That might end up altering the link order a bit, since ld
> supports linking directly against dlls but $prefix/bin isn't usually in the
> link path; however as long as the compiler's private directory
> $prefix/lib/gcc/$target/$version is first in the list, the dll's related 
> import
> lib will always be found first.
> 
> The other place to install them would be in GCC's private dir.  I'm not sure
> yet which might be preferable.
> 

I would vote for the $prefix/lib/gcc/$target/$version directory. There is the
bug 38294 for multilib install, which has same reason.

Kai


-- 

ktietz at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ktietz at gcc dot gnu dot
                   |                            |org


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

Reply via email to