Compiling with newlib headers?
Russ.Shaw
russell@webaxs.net
Fri Sep 29 16:17:00 GMT 2000
Hi,
Is the path to the newlib headers just the directory that
all of newlib is under, or is it a subdirectory within this?
> configure gcc (--with-headers=<path to the newlib-headers>)
Stefan Petters wrote:
>
> Hi,
>
> Russ.Shaw wrote:
> > When compiling gcc for an embedded cpu, and newlib
> > is required, is "with-headers" needed as an option
> > to "configure gcc" ?
> >
> > Does this mean newlib should be installed before
> > gcc?
> >
> > Does the "with-headers" option need to point to
> > a directory?
> >
> > Should newlib be installed before binutils?
> >
> > Are there other ways of including newlib
> > when compiling the whole system?
> This means you should have newlib unpacked for making the compiler. You
> can't make the newlib without having a compiler, but the compiler needs
> to know, what will be in the newlib once it's done (for libgcc I
> believe).
>
> Normally it goes the following way.
>
> make binutils
> unpack newlib
> unpack gcc
> configure gcc (--with-headers=<path to the newlib-headers>)
> make gcc
> configure and make newlib.
>
--
*******************************************
* Russell Shaw, B.Eng, M.Eng(Research) *
* email: russell@webaxs.net *
* Victoria, Australia *
*******************************************
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
More information about the crossgcc
mailing list