cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/01/18:00:24

From: Andrew Crabtree <andrewc AT typhoon DOT rose DOT hp DOT com>
Message-Id: <199707012159.AA265254382@typhoon.rose.hp.com>
Subject: Funny Strip.exe behaviour
To: djgpp AT delorie DOT com
Date: Tue, 01 Jul 1997 14:59:42 PDT

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019