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


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.


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