How to get crt0.o without syscalls

Jeff Johnston jjohnstn@redhat.com
Tue Oct 18 01:58:00 GMT 2005


Randall Nortman wrote:
> On Mon, Oct 17, 2005 at 11:45:05AM -0400, Jeff Johnston wrote:
> [...]
> 
>>When you specify --disable-newlib-supplied-syscalls, the code in 
>>libgloss/arm is still compiled and there is a crt0.o there.
> 
> 
> This does not seem to be the case in 1.13.0.  I get rdimon-crt0.o,
> rdpmon-crt0.o, and redboot-crt0.o, but I'm not using any of these
> monitors.  I will try with the CVS code when I have some time, since
> apparently I ought to be using that anyway.
> 
> Thanks,
> 
> Randall

The missing crt0.o appears to be a typo on my part.  The crt0.o is only 
being built when newlib-supplied-syscalls are enabled, but this doesn't 
make sense since libc/sys/arm provides a crt0.o in that case.  I have 
just made a patch to the CVS sources.  Please try it out.

-- Jeff J.



More information about the Newlib mailing list