Adding crti.o and crtn.o to the newlib directory

Jeff Johnston
Wed Oct 15 22:42:00 GMT 2008

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.

More information about the Newlib mailing list