* crtbegin.o oddities on redhat 7.2/7.3 with gcc 3.2
@ 2002-09-12 19:38 Marty Leisner
0 siblings, 0 replies; only message in thread
From: Marty Leisner @ 2002-09-12 19:38 UTC (permalink / raw)
To: gcc-help
I built gcc 3.2 for redhat 7.2 and 7.3 -- they run fine on
each platform.
(this seems to be true with all 3.x gcc's -- but I'm not looking to find out).
I have binary portability (compiling random programs) from 7.2 to 7.3.
But when I try to run 7.3 compiled binaries on 7.2 I get:
./bash: /lib/i686/libc.so.6: version `GCC_3.0' not found (required by ./bash)
This happens with the program
main() {}
(far from bash)
What I did to get it to work is I used crtbegin.o from gcc 2.96 on
7.3 (I hacked up the specs file) -- so I'm doing everything normal with
gcc 3.2 except swapping in another crtbegin.o
But it seems crtbegin.o is the same on 7.2 and 7.3...
I haven't studied what is going on -- had this difficulty for a few weeks --
this solution SEEMS to work (any body want to propose something BETTER?)
Marty Leisner
leisner@rochester.rr.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-09-13 2:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-12 19:38 crtbegin.o oddities on redhat 7.2/7.3 with gcc 3.2 Marty Leisner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).