bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#5655: incorrect paths for crt1.o, crtn.o, etc.


From: Glenn Morris
Subject: bug#5655: incorrect paths for crt1.o, crtn.o, etc.
Date: Tue, 27 Apr 2010 16:17:25 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Sven Joachim wrote:

> That's better, but unfortunately it does not fix the problem described
> in <87iq7dcsp6.fsf@turtle.gmx.de>.

Painfully inching towards a solution.

*** configure.in        2010-04-27 08:09:01 +0000
--- configure.in        2010-04-27 20:14:42 +0000
***************
*** 761,766 ****
--- 761,780 ----
  if test "x$RANLIB" = x; then
    AC_PROG_RANLIB
  fi
+ 
+ ## Although we're running on an amd64 kernel, we're actually compiling for
+ ## the x86 architecture.  The user should probably have provided an
+ ## explicit --build to `configure', but if everything else than the kernel
+ ## is running in i386 mode, we can help them out.
+ if test "$machine" = "amdx86-64"; then
+   AC_CHECK_DECL([i386])
+   if test "$ac_cv_have_decl_i386" = "yes"; then
+     canonical=`echo "$canonical" | sed -e 's/^amd64/i386/' -e 
's/^x86_64/i386/'`
+     machine=intel386
+     machfile="m/${machine}.h"
+   fi
+ fi
+ 
  AC_PATH_PROG(INSTALL_INFO, install-info)
  AC_PATH_PROG(INSTALL_INFO, install-info,, /usr/sbin)
  AC_PATH_PROG(INSTALL_INFO, install-info,:, /sbin)






reply via email to

[Prev in Thread] Current Thread [Next in Thread]