On Fri, 03 Dec 2004 14:29:37 -0500, Jeff Johnston <jjohnstn@redhat.com> wrote:
It really only needs to be done when we finally form the libraries in the
top-level Makefile. Could you try the accompanying patch and verify it works
for you? The problem doesn't show itself on Red Hat Linux.
-- Jeff J.
Your patch worked well. Thanks Jeff!
Cheers,
Shaun
$ cc -nostdlib -L/usr/lib/newlib /usr/lib/newlib/crt0.o hello.c -lc -o hello
$ ldd hello
libc-newlib.so.0 => /usr/lib/libc-newlib.so.0 (0x4002d000)
$ ./hello
Hello, world!