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]

Re: Compiling with newlib headers?


"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)

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