Martin Buchholz writes:
>>>>> "Robert" == Robert Pluim
<rpluim(a)bigfoot.com> writes:
Robert> Oops. Looks like this is a 2.5.1 gcc (and it uses GNU ld, not the
Robert> solaris one, also compiled on 2.5.1), and I'm running:
Running a gcc on a different OS version than it was compiled on is
very bad juju.
I also vaguely recall that using gcc with the GNU linker is bad juju.
Yes. Forcing gcc to use Solaris ld makes dumping work again. <sigh>
Maybe an entry for the PROBLEMS file?
I remember having success with the -fno-gnu-linker flag.
Hmm, that didn't seem to make any difference.
<rant>
Why the !@#$ does gcc still insist on using the gnu linker if it can
find it, even though I've configured it with --with-gnu-ld=no
LD=/usr/ccs/bin/ld? Is it morally or philosophically incorrect to wish
to use the vendor tools rather than the gnu ones? I repent, I recant,
GNU tools are the greatest, except in this instance they're _broken_,
and I'd just like to be able to _prove_ that so I can get on with
fixing stuff.
</rant>
Robert
--
The above are my opinions,
and my opinions only.