This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Do the prebuilt toolchains include newlib?
- From: Bart Veer <bartv at ecoscentric dot com>
- To: ahbishop at msn dot com
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Mon, 10 Jan 2005 23:08:16 +0000 (GMT)
- Subject: Re: [ECOS] Do the prebuilt toolchains include newlib?
- References: <BAY11-F3147601B1777DFD2055116C3970@phx.gbl>
>>>>> "Alan" == Alan Bishop <ahbishop@msn.com> writes:
Alan> I'm new to eCos, and was glad to see that running the
Alan> installation tool provided me with a pre-built cross
Alan> toolchain for my target (arm-elf). I verified I got the
Alan> tools, but what about newlib? I can't seem to find basic
Alan> stuff, like libc. The notes for building your own toolchain
Alan> (http://ecos.sourceware.org/build-toolchain.html) indicate
Alan> newlib gets built when gcc gets built, which makes me wonder
Alan> what the pre-built tools provided.
Alan> The other reason I'm looking for newlib is I have to do some
Alan> porting there, too. I've read the newlib documentation, and
Alan> anticipiate having to port newlib to deal with things like
Alan> interfacing to my console device. But where's the source? Of
Alan> course, I can download newlib sources myself, but it seems
Alan> I'd be essentially building newlib from scratch. This leads
Alan> me back to my original question: Do the pre-built toolchains
Alan> "come with" newlib?
No. Newlib is not needed for eCos because that has its own C library.
To keep down the size of the downloads newlib has been removed from
the toolchain builds. If you need newlib then you'll have to rebuild
it yourself. Following the build-toolchain.html instructions will give
you a full toolchain build, including newlib.
Bart
--
Bart Veer eCos Configuration Architect
http://www.ecoscentric.com/ The eCos and RedBoot experts
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss