This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos 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: Re: Newlib usage in eCos (tool-chain question)


>>>>> "Grant" == Grant Edwards <grante@visi.com> writes:

    Grant> I've always wondered why newlib is required as part of the
    Grant> toolchain build process, but never found an explanation.
    Grant> Why is it not possible to build gcc w/o a library?

Theoretically you should be able to build gcc without newlib. However
that is not the way the gcc maintainers will typically build things:
for a cross-compiler newlib provides the run-time for the gcc
testsuite. Hence if you build the compiler without newlib you are
doing something different from the gcc maintainers, and that involves
an element of risk. Add in complications like libgcc, which you must
have, and libsupc++, and the whole build process gets rather
convoluted. Unless you are doing a lot of compiler building and
rebuilding, there is very little harm in just sticking with the
established recipes.

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


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