hidden symbol `__divdi3' is referenced by DSO
Jeff Johnston
jjohnstn@redhat.com
Tue Dec 7 02:34:00 GMT 2004
Great. Patch checked in.
-- Jeff J.
Shaun Jackman wrote:
> 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!
More information about the Newlib
mailing list