This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: PATCH: Fix native warning
On Wed, Dec 18, 2002 at 05:51:38PM -0500, DJ Delorie wrote:
>
> > Say build is i686-linux, target is i686-linux and host is ia64-linux.
> > The just built gcc will be hosted on ia64-linux and targeted for
> > i686-linux. How do you run the just built ia64-linux gcc binary on
> > i686-linux? In that case, the compiler used to build gcc is a cross
> > compiler from i686-linux to ia64-linux. The compiler for build is the
> > native compiler for i686-linux. When I did that last time, I made sure
> > the native compiler came from the same source.
>
> Normally, /bin/cc would be used to build the build libiberty, and
> i686-linux-gcc would be used to build the target library. Ideally,
> i686-linux-gcc would have been built from the same sources as you're
> building the ia64 cross with, in case there are interface issues.
Do we require i686-linux-gcc in this case or do we just assume/require
cc == i686-linux-gcc?
H.J.