Using libgloss with newlib

Shaun Jackman sjackman@gmail.com
Thu Feb 24 19:18:00 GMT 2005


Where does libgloss fit into the newlib picture?
libgloss/arm/syscalls.c and newlib/libc/sys/arm/syscalls.c are
identical files, but libgloss also provides the alternative
libgloss/arm/redboot-syscalls.c which seems more Unix-ish than either
the RDP or RDI syscall interface. libgloss also includes alternative
specs, linker scripts, and crt0.S files. These don't seem to be
installed by default, but I see there is a make install-redboot
target. If I wanted to link a simple "Hello, world!" application
against the redboot interface, rather than the RDP and RDI interfaces
that newlib supports out of the box, how would I go about it?

Thanks in advance,
Shaun



More information about the Newlib mailing list