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: Sven Joachim
Subject: bug#5655: incorrect paths for crt1.o, crtn.o, etc.
Date: Wed, 28 Apr 2010 07:49:05 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.96 (gnu/linux)

On 2010-04-27 22:17 +0200, Glenn Morris wrote:

> 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)

Thanks, this works.

Sven






reply via email to

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