+2003-01-02 Yoshinori K. Okuji <okuji@enbug.org>
+
+ From Jeremy Katz:
+ * configure.in: Support building on x86_64 with gcc -m32.
+
2003-01-02 Yoshinori K. Okuji <okuji@enbug.org>
From Jeremy Katz:
case "$host_cpu" in
i[3456]86) host_cpu=i386 ;;
+x86_64) host_cpu=x86_64 ;;
*) { { echo "$as_me:$LINENO: error: unsupported CPU type" >&5
echo "$as_me: error: unsupported CPU type" >&2;}
{ (exit 1); exit 1; }; } ;;
default_CFLAGS=yes
fi
+if test "x$host_cpu" = xx86_64; then
+ CFLAGS="-m32 $CFLAGS"
+fi
+
#
# Programs
#
# optimization flags
if test "x$ac_cv_c_compiler_gnu" = xyes; then
if test "x$default_CFLAGS" = xyes; then
- CFLAGS="-g"
+ CFLAGS="$CFLAGS -g"
# If the user specify the directory for binutils, add the option `-B'.
if test "x$with_binutils" != x; then
CFLAGS="-B$with_binutils/ $CFLAGS"
case "$host_cpu" in
i[[3456]]86) host_cpu=i386 ;;
+x86_64) host_cpu=x86_64 ;;
*) AC_MSG_ERROR([unsupported CPU type]) ;;
esac
default_CFLAGS=yes
fi
+if test "x$host_cpu" = xx86_64; then
+ CFLAGS="-m32 $CFLAGS"
+fi
+
#
# Programs
#
# optimization flags
if test "x$ac_cv_prog_gcc" = xyes; then
if test "x$default_CFLAGS" = xyes; then
- CFLAGS="-g"
+ CFLAGS="$CFLAGS -g"
# If the user specify the directory for binutils, add the option `-B'.
if test "x$with_binutils" != x; then
CFLAGS="-B$with_binutils/ $CFLAGS"
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.23.
-.TH GRUB-INSTALL "8" "December 2002" "grub-install (GNU GRUB 0.93)" FSF
+.TH GRUB-INSTALL "8" "January 2003" "grub-install (GNU GRUB 0.93)" FSF
.SH NAME
grub-install \- install GRUB on your drive
.SH SYNOPSIS
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.23.
-.TH GRUB-MD5-CRYPT "8" "December 2002" "grub-md5-crypt (GNU GRUB )" FSF
+.TH GRUB-MD5-CRYPT "8" "January 2003" "grub-md5-crypt (GNU GRUB )" FSF
.SH NAME
grub-md5-crypt \- Encrypt a password in MD5 format
.SH SYNOPSIS
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.23.
-.TH GRUB-TERMINFO "8" "December 2002" "grub-terminfo (GNU GRUB 0.93)" FSF
+.TH GRUB-TERMINFO "8" "January 2003" "grub-terminfo (GNU GRUB 0.93)" FSF
.SH NAME
grub-terminfo \- Generate a terminfo command from a terminfo name
.SH SYNOPSIS
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.23.
-.TH GRUB "8" "December 2002" "grub (GNU GRUB 0.93)" FSF
+.TH GRUB "8" "January 2003" "grub (GNU GRUB 0.93)" FSF
.SH NAME
grub \- the grub shell
.SH SYNOPSIS
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.23.
-.TH MBCHK "1" "December 2002" "mbchk (GNU GRUB 0.93)" FSF
+.TH MBCHK "1" "January 2003" "mbchk (GNU GRUB 0.93)" FSF
.SH NAME
mbchk \- check the format of a Multiboot kernel
.SH SYNOPSIS