This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: compile failure, egcs-latest


	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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]