This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Building Secondary Languages After Newlib is Installed
- From: Ian Lance Taylor <iant at google dot com>
- To: Ralf Corsepius <ralf dot corsepius at rtems dot org>
- Cc: Joel Sherrill <joel dot sherrill at oarcorp dot com>, "gcc\ at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Thu, 27 Jan 2011 22:49:37 -0800
- Subject: Re: Building Secondary Languages After Newlib is Installed
- References: <4D41B628.4070009@oarcorp.com> <4D4238D7.1060809@rtems.org>
Ralf Corsepius <ralf.corsepius@rtems.org> writes:
> On 01/27/2011 07:15 PM, Joel Sherrill wrote:
>
>> What is the preferred combination of
>> --enable-newlib and --with-newlib settings
>> to build with newlib in the gcc source tree
>> but not build it and use the installed copy
>> for the Ada and Go builds?
>
> Theoretically, none at all, because building against an installed
> newlib should be equivalent to "standard cross-building".
But Joel has newlib in his source tree, so won't it get built by
default? That's what he wants to avoid.
(I say this without having tested it.)
Ian