This is the mail archive of the gcc-bugs@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]

Re: with_cross_host vs cross-hosted


DJ Delorie <dj@redhat.com> writes:

> > No.  I posted about this a couple of weeks ago.  Your patch is wrong;
> > once we're building libstdc++, $host is what is normally considered
> > $target, and $target is undefined.
> 
> Right, forgot about that.  What's the history behind that, anyway?  It
> always bothers me in libiberty.

The machine the code will run on is the "host".  Since libstdc++ runs
on the thing the toplevel knows as "target", it follows that for
compiling libstdc++ the toplevel must set host to target.  "target" is
the machine that code will be compiled for, but libstdc++ isn't
a compiler, so it doesn't need a target setting.

-- 
- Geoffrey Keating <geoffk@geoffk.org>


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