>>>> "Stephen" == Stephen J Turnbull
<stephen(a)xemacs.org> writes:
Stephen> Yeah, this is a bug in PPC gcc, which doesn't understand the -z flag
Stephen> for some reason.
In this case I think that the real problem is that you're passing "-b
i486-linuxaout" to the test. I don't think that there are many X86
cross-compilers found on PPC machines :-)
The relevant code from configure.in is:
dnl -lXt and -lX11 are required
dnl Some broken systems require the magic "-b i486-linuxaout" flag
AC_CHECK_LIB(X11, XOpenDisplay, have_lib_x11=yes)
if test "$have_lib_x11" != "yes"; then
AC_CHECK_LIB(X11, XGetFontProperty,
ld_switch_x_site="-b i486-linuxaout $ld_switch_x_site",
[AC_MSG_ERROR([Unable to find X11 libraries.])],
-b i486-linuxaout)
fi
libs_x="-lX11"
test "$extra_verbose" = "yes" && echo " Setting
libs_x to \"-lX11\""
Stephen> Probably we should force use of ld directly on that platform.
I don't think that's necessary. I've has no problems building bleeding edge
XEmacs with "configure --prefix=/usr/local/gcc3-world --with-gnome" on a Mac
for months using gcc 2.95 and 3.0.4.
Malcolm