This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: Should i compile newlib after
- From: jjohnstn <jjohnstn at redhat dot com>
- To: Paul Chavent <paul dot chavent at fnac dot net>
- Cc: newlib at sources dot redhat dot com
- Date: Thu, 6 Jan 2005 15:34:59 -0500 (EST)
- Subject: Re: Should i compile newlib after
On Wed, 5 Jan 2005, Paul Chavent wrote:
> Hello.
> I am building a cross-compile toolchain for an arm7tdmi (gameboy). I
> would like to know if it is usefull to 'configure' and 'make all
> install' for newlib if i have compiled gcc with the '--with-newlib' and
> i have copy the newlib directory in gcc sources ?
> If it is usefull, what is it used for ?
> And, sometimes, we see some people recompile gcc after newlib ?
> Is it usefull and what is it used for ?
>
If you have merged the newlib sources into the gcc source tree and
have configured for a cross-target, you should be fine.
The --with-newlib flag is used to tell gcc to use newlib header files.
The header files are used, for example, when building the target library
libgcc.
When doing a cross-target build and newlib is present in the source
tree, this occurs automatically.
-- Jeff J.
> Thank you.
>
> Happy new year.
>
> Paul.
>