gcc 3.3.4 cross build for mipsel mischooses the `as' to run
Zack Weinberg
zack@codesourcery.com
Thu Aug 5 04:01:00 GMT 2004
James E Wilson <wilson@specifixinc.com> writes:
> gcc knows how to find subprograms. It has to, in order to find cc1.
> It also knows how to find the binutils subprograms, assuming you
> configured binutils the same way as gcc. Thus gcc will find as
> regardless of whether you have $prefix/bin on your path.
This is a nice theory, but in practice I find that on any system where
there's a choice between (GNU as and/or ld) and (the system-provided
as and/or ld), I have to hit configure over the head with explicit
--with-{as,ld}=<path> AND the appropriate --with/--without-gnu-{as,ld}
in order to get it to pick the ones I want and then feed them the
appropriate input. The usual failure mode is: configure recognizes
that $prefix/as exists and is GNU as, so cc1 generates input suitable
for GNU as, and then xgcc ignores $prefix/as and feeds that input to
/usr/ccs/bin/as which blows chunks.
zw
More information about the Gcc
mailing list