public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: tmm <tmm@fastmail.fm>
To: ecos-discuss@ecos.sourceware.org
Subject: [ECOS] Using a different Standard C library.
Date: Thu, 20 Dec 2007 08:03:00 -0000	[thread overview]
Message-ID: <4769AE95.5000104@fastmail.fm> (raw)

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

             reply	other threads:[~2007-12-19 23:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-20  8:03 tmm [this message]
2007-12-20 10:47 ` Andrew Lunn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4769AE95.5000104@fastmail.fm \
    --to=tmm@fastmail.fm \
    --cc=ecos-discuss@ecos.sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).