public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Using a different Standard C library.
@ 2007-12-20  8:03 tmm
  2007-12-20 10:47 ` Andrew Lunn
  0 siblings, 1 reply; 2+ messages in thread
From: tmm @ 2007-12-20  8:03 UTC (permalink / raw)
  To: ecos-discuss

Some of the eCos packages that I'm using require the Standard C library 
so I've included the CYGPKG_ISOINFRA (ISO C & POSIX Infrastructure) 
package and several of the CPYPKG_LIBC_* packages.

But, I would rather use a different C library: the one that comes with 
my Code Sorcery ARM compiler.  Though this is not the normal eCos way, I 
assume that it is not too unusual.  But how is this typically done?

I will probably continue to make my eCos library using the eCos C 
library headers.  But I would hack the makefiles so that the source code 
for the C library packages doesn't get included in the my projects' 
library.  In place of the eCos C library code I would link in my own C 
library when I link my applications.  (When I write 'my own' C library I 
mean the compiler's.)

The tricky part of this is the 'ISO C & POSIX Infrastructure' package.  
This contains a mix of code that I do need (the POSIX stuff) and code 
that will be provided by my C library.

Perhaps instead I should take the code of my C library and replace the 
eCos C library code with it (and make corresponding changes to the 
package definitions)?

Thanks for any suggestions,
Tom.

-- 
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] 2+ messages in thread

end of thread, other threads:[~2007-12-20  8:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-20  8:03 [ECOS] Using a different Standard C library tmm
2007-12-20 10:47 ` Andrew Lunn

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