This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: Updating top-level autoconf to 2.59
- From: DJ Delorie <dj at redhat dot com>
- To: erik at dd dot nec dot com dot au (Erik Christiansen)
- Cc: gcc-patches at gcc dot gnu dot org, binutils at sourceware dot org, newlib at sourceware dot org
- Date: 09 Feb 2007 13:54:12 -0500
- Subject: Re: Updating top-level autoconf to 2.59
- References: <45CC20D0.2010200@eagercon.com> <20070209083424.GA7770@dd.nec.com.au>
erik@dd.nec.com.au (Erik Christiansen) writes:
> --build seems to be a synonym for --host,
Not at all. To recap:
--build is the machine running the build
--host is the machine the resulting programs will run on
--target is the machine those programs generate code for
So, for example, if I wanted to use my linux box to build a gcc.exe
that runs on cygwin and produces m32c programs:
./configure --build=linux --host=cygwin --target=m32c
(names are abbreviations, of course)