Bare Bone Arm-Elf-Gcc

Richard Earnshaw rearnsha@arm.com
Sun Feb 9 17:27:00 GMT 2003


> Well, for starters you haven't removed the problem of having the
> syscalls in newlib.  Because they are in libc, you can't simply
> add your own library to replace them.
> 
> I will soon be checking in a patch to add the configuration option I
> mention below.
> 
> Now, regarding modifying libnosys.  What modifications did you have in mind?
> It currently is a generic default stub library meant to patch up any library
> missing syscalls.  It doesn't supply _exit so in itself is not complete.
> I don't see much value-add in making this platform-specific / board-specific
> as there is already a system in place for building platform-specific / board-specific
> libraries.
> 

Can you provide more information on how this is supposed to work?  As I 
understand your intent, it would appear that there will be a separate 
library now that contains the syscalls.  How is that going to be linked 
into an application?  Are you expecting GCC to know about it?  If so, then 
that's going to mean a separate configuration for targeting Newlib, 
something we've never needed before.

R.



More information about the Newlib mailing list