This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: Bare Bone Arm-Elf-Gcc
- From: Doug Evans <dje at transmeta 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
- Date: Thu, 6 Feb 2003 09:47:31 -0800 (PST)
- Subject: Re: Bare Bone Arm-Elf-Gcc
- References: <3e416ee0.5328.0@esatclear.ie><3E429678.6030708@redhat.com>
J. Johnston writes:
> Dave,
>
> From the newlib/libgloss side, I have been thinking about this and I
> propose that newlib adds a configuration option that tells newlib not to
> supply low-level syscalls. This would allow you to build newlib without
> the RDI/RDP syscalls. You should then place your new code
> in the libgloss/arm directory and build a separate library, crt0, and ld
> script which specifies both your library and your crt0. You can then
> use the compiler -T option to specify your ld script.
>
> The configuration options solves a long-standing problem regarding older
> platforms that put the syscall code in newlib and it really should be
> in libgloss. We could copy the existing code over to libgloss and eventually
> remove the problem by syncing up a default ld script with the compiler folks.
Excellent idea.