public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] What is Newlib actually used for?
@ 2007-09-05 11:35 Hans Rosenfeld
  0 siblings, 0 replies; only message in thread
From: Hans Rosenfeld @ 2007-09-05 11:35 UTC (permalink / raw)
  To: ecos-discuss

I'm wondering what use eCos actually makes of Newlib.

The Newlib libary is used when building the GCC part of the toolchain,
as far as I understand libsupc++ uses it. This seems to be the reason
for the undefined references to __impure_ptr in this library, as a part
of it uses stdio functions for printing some kind of error message.
Stdin and the like are defined by Newlib headers as members of a struct
located at __impure_ptr.

I think eCos never actually uses any Newlib code, so wouldn't a
libsupc++ compiled with Newlib headers cause lots of problems when it's
linked against eCos libraries?

I don't quite understand whats the point of using Newlib and how this is
supposed to work at all. I hope someone can enlighten me about this :)


-- 
%SYSTEM-F-ANARCHISM, The operating system has been overthrown

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-09-05 11:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-05 11:35 [ECOS] What is Newlib actually used for? Hans Rosenfeld

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).