This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: Adding crti.o and crtn.o to the newlib directory
- From: Jeff Johnston <jjohnstn at redhat dot com>
- To: Thomas Epperson <thomas dot epperson at gmail dot com>
- Cc: newlib at sourceware dot org
- Date: Wed, 15 Oct 2008 18:15:45 -0400
- Subject: Re: Adding crti.o and crtn.o to the newlib directory
- References: <3f9ff4db0810130636k2806421as61614b8e6368d5f5@mail.gmail.com>
Thomas Epperson wrote:
Is this something that would violate the way newlib operates with libgloss?
For the configuration I have, I need to have my
newlib/libc/sys/(system) generate crti.o and crtn.o (which it does)
and then have those object files installed along with crt0.o.
Can I get any pointers to adding this to the config files in a way
that doesn't break other configurations?
Once I am done I will post my results so that others might benefit from it.
You're going to have to elaborate your particular situation. If you
have a crti.S and/or crtn.S for a particular
platform or a set of particular platforms, then they belong in libgloss
in the various platform directories along
with their crt0.S counterparts.
-- Jeff J.