Should i compile newlib after

Thu Jan 6 20:35:00 GMT 2005

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 

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.

More information about the Newlib mailing list