This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Can't build correctly working crosscompiler with 4.3.0. 4.2.1 worked like charm
Denys Vlasenko wrote:
> (Is it necessary to do this "/../../../../" thing?)
A useful trick to make this easier for a human to read is to pipe the
output through
sed -e :a -e "s,[^/]*/\.\.\/,," -e ta
I don't guarantee that this will always result in the correct semantics
in all situations but it's not too far off. "readlink -m" would be
closer if needed.
Denys Vlasenko wrote:
> What happened to the good old concept of looking up executables'
> location in $PATH if they have no slashes on the name?
>
> (Oh well)^2. Recompiling with --with-as="/usr/bin/$CROSS-as"...
Why do you think it's necessary to specify this? Configure will
automatically find and use $tooldir/bin/as (= $prefix/$target/bin/as) or
$target-as in PATH.
Brian