From: | "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx> |
Date: | Tue, 6 Dec 2005 23:55:24 +0100 |
$strings -a firefox-bin | grep GCC GCC: (GNU) 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8) [many identical lines snipped]
My question is: under what conditions would two different such compiler version-strings appear in *one* executable file?
like % touch foo.c % echo "int main;" > bar.c % env CCVER=gcc40 cc -c foo.c % cc bar.c foo.o % strings -a a.out|grep GCC GCC: (GNU) 3.4.5 20050809 (prerelease) GCC: (GNU) 3.4.5 20050809 (prerelease) GCC: (GNU) 3.4.5 20050809 (prerelease) GCC: (GNU) 4.0.1 GCC: (GNU) 3.4.5 20050809 (prerelease)
The obvious corollary is: why does gcc leave such version- stamps in a file in the first place?
cheers simon
-- Serve - BSD +++ RENT this banner advert +++ ASCII Ribbon /"\ Work - Mac +++ space for low €€€ NOW!1 +++ Campaign \ / Party Enjoy Relax | http://dragonflybsd.org Against HTML \ Dude 2c 2 the max ! http://golden-apple.biz Mail + News / \
Attachment:
PGP.sig
Description: This is a digitally signed message part