Compiling with newlib headers?

Michael Sokolov msokolov@ivan.Harhan.ORG
Fri Sep 29 06:42:00 GMT 2000


"Russ.Shaw" <russell@webaxs.net> 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?

All wrong. You should not configure, build, or install any of binutils, gcc, or
newlib separately at all. You should use the unified Cygnus tree with all of
them in it and configure, build, and install them all with one command. See
ivan.Harhan.ORG:/pub/embedded/cygnus-tree-intro.

> Are there other ways of including newlib
> when compiling the whole system?

Yes, see above.

--
Michael Sokolov		Harhan Engineering Laboratory
Public Service Agent	International Free Computing Task Force
			International Engineering and Science Task Force
			615 N GOOD LATIMER EXPY STE #4
			DALLAS TX 75204-5852 USA

Phone: +1-214-824-7693 (Harhan Eng Lab office)
E-mail: msokolov@ivan.Harhan.ORG (ARPA TCP/SMTP) (UUCP coming soon)


More information about the Gcc-help mailing list