On Wed, Jun 19, 2013 at 03:20:33PM +0200, Jakub Jelinek wrote:
> Hi!
>
> If say /usr/bin/gcc-ar doesn't find /usr//bin/ar (and a few others),
> it gives up unless CROSS_DIRECTORY_STRUCTURE, while e.g. collect2 looks for
> ld, nm etc. in $PATH. The collect2.c snippet is:
Looks good. Thanks for fi
Am 19.06.2013 15:20, schrieb Jakub Jelinek:
> Here is so far untested attempt to do that in gcc-{ar,nm,ranlib} too, ok if
> bootstrap/regtest passes and testing shows it works (for 4.8 too, in 4.7 it
> worked)?
works for me, checked with a 4.8 native build and install.
Matthias
Hi!
If say /usr/bin/gcc-ar doesn't find /usr//bin/ar (and a few others),
it gives up unless CROSS_DIRECTORY_STRUCTURE, while e.g. collect2 looks for
ld, nm etc. in $PATH. The collect2.c snippet is:
/* Search the compiler directories for `ld'. We have protection against
recursive calls in