This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: compile failure, egcs-latest
- To: Zack Weinberg <zack at rabi dot phys dot columbia dot edu>
- Subject: Re: compile failure, egcs-latest
- From: Jim Wilson <wilson at cygnus dot com>
- Date: Mon, 16 Mar 1998 18:12:24 -0800
- cc: egcs-bugs at cygnus dot com
If you configure egcs with --build=i?86-pc-linux-gnulibc1 and
--host=i?86-pc-linux-gnu then genattr.c doesn't get HAVE_STDLIB_H
defined because it includes hconfig.h not config.h.
This is a known problem. We don't yet correctly handle build!=host when
it matters to autoconf. Since your two systems are very similar to each
other, you can perhaps make it work simply by having hconfig.h include
auto-config.h.
H.J.Lu has posted a possible patch to fix this a few times, but as yet no
one has looked at it. An old version of his patch can be found at
http://www.cygnus.com/ml/egcs/1997-Aug/0055.html
I think he has posted more recent versions, but I don't know where they are
offhand.
Jim