This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.
> 


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