* Versions compatibility questions
@ 2000-11-14 10:10 Philippe Gamba - Sun Microsystems
0 siblings, 0 replies; only message in thread
From: Philippe Gamba - Sun Microsystems @ 2000-11-14 10:10 UTC (permalink / raw)
To: gcc-help
Hello,
Using gcc on Solaris (2.5.1, 2.6 or 2.8), I would like to understand 2
differences between the 2 versions of gcc I work with :
"oldest" one : 2.7.2.1
"newest" one : egcs-2.91.66
If I link with 2.7.2.1, the binary generated has very few symbols
in dynsym (dynamic symbol table). That provoques run-time linker to fail
because of 'unresolved symbol'error.
If I link with egcs-2.91.66, the binary generated has a complete
dynsym. The run-time linker succeeds. But I cannot compile with my
usual options that are : $ /usr/gnu/bin/gcc -c -MDupdate
SunOS5.6_DBG.OBJ/.md <file>.c
$ gcc: unrecognized option `-MDupdate'
This option is correct with 2.7.2.1
- why 2.7.2.1 does not generate a full dynsym ?
- why egcs-2.91.66 does not understand -MDupdate ?
and more over what is the best solution to have both working ?
Thanks a lot for any explanation,
Philippe
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-11-14 10:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-14 10:10 Versions compatibility questions Philippe Gamba - Sun Microsystems
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).