This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Bare Bone Arm-Elf-Gcc


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]