This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc 3.3.4 cross build for mipsel mischooses the `as' to run


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]