Hans Reiser <reiser(a)idiom.com> wrote:
Jan Vroonhof wrote:
>Using egcs 1.1.2 are you? That compiler is broken with respect
>to the warnings. Under Solaris (with CC) and with gcc 2.7.2 or
>gcc 2.95 there are close to know warnings.
Ok, if the compiler the developer uses generates no warnings, it
is ridiculous to expect more.
gcc -dumpversion
egcs-2.91.66
It is what I got off a fresh redhat 6.0 install. It seems I
should upgrade before I get bit by it.
This reminds me...
...I just built GCC 2.95 on a Red Hat 6.0 box and removed the egcs rpms.
This broke the config.guess (and thus breaks "configure") from XEmacs
21.1.4. Somewhere in there it does a "ld --help" to extract the "supported
emulations". For some strange reason, it only finds "elf_i386" and not
"i386linux". I assume this is because ld's output format changed and the
sed
filter breaks, but I don't speak sed so I'm not sure. Forcing
"i586-pc-linux" as an argument to "configure" works.
I have no idea how to fix this. Presumably it requires hacking configure.in
or a new version of config.guess (maybe one that knows about "elf_i386"?).
However, just catching this can be done by checking the exit status of
config.guess. I dunno what is the "right" approach here; maybe I'm way off.
-link