This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: Bare Bone Arm-Elf-Gcc
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: "J. Johnston" <jjohnstn at redhat dot com>
- Cc: mckennad at esatclear dot ie, crossgcc at sources dot redhat dot com, newlib at sources dot redhat dot com, Richard dot Earnshaw at arm dot com
- Date: Sun, 09 Feb 2003 17:27:23 +0000
- Subject: Re: Bare Bone Arm-Elf-Gcc
- Organization: ARM Ltd.
- Reply-to: Richard dot Earnshaw at arm dot com
> 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.