Mail Archives: djgpp/1997/07/01/18:00:24
Hello -
I've seen some odd behaviour out of strip.exe. I have rebuilt
libgcc.a, and it is 242K in size. If I run strip on it it shrinks
to 29K in size. A pretty good savings. However, at least 2 code
symbols seem to disappear when I do this.
gcc -o hello.exe hello.c
works fine with the unstripped libgcc.a, but the stripped one yields
libc.a(doprnt.o)(.text+0xb85):doprnt.c: undefined reference to '____
umoddi3'
libc.a(doprnt.o)(.text+0xb85):doprnt.c: undefined reference to '____
udivdi3'
In both cases the link line showed -lgcc -lc -lgcc.
I just don't get it, I assume its some normal behavious I just
don't know about ...?
Thanks
Andrew
- Raw text -