2003-01-02 Yoshinori K. Okuji <okuji@enbug.org>

From Jeremy Katz:
	* configure.in: Support building on x86_64 with gcc -m32.
This commit is contained in:
okuji committed 2003-01-02 14:51:37 +00:00
1 parent 6ced081a2d
commit 7c1993fc4c
8 files changed
+22 -7

No files matched your search

+5
View File
@@ -1,3 +1,8 @@
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:
Vendored
+6 -1
View File
@@ -1665,6 +1665,7 @@ host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
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; }; } ;;
@@ -1752,6 +1753,10 @@ if test "x$CFLAGS" = x; then
default_CFLAGS=yes
fi
if test "x$host_cpu" = xx86_64; then
CFLAGS="-m32 $CFLAGS"
fi
#
# Programs
#
@@ -2912,7 +2917,7 @@ fi
# 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"
+6 -1
View File
@@ -21,6 +21,7 @@ AC_CANONICAL_HOST
case "$host_cpu" in
i[[3456]]86) host_cpu=i386 ;;
x86_64) host_cpu=x86_64 ;;
*) AC_MSG_ERROR([unsupported CPU type]) ;;
esac
@@ -44,6 +45,10 @@ if test "x$CFLAGS" = x; then
default_CFLAGS=yes
fi
if test "x$host_cpu" = xx86_64; then
CFLAGS="-m32 $CFLAGS"
fi
#
# Programs
#
@@ -72,7 +77,7 @@ fi
# 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"
+1 -1
View File
@@ -1,5 +1,5 @@
.\" 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
+1 -1
View File
@@ -1,5 +1,5 @@
.\" 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
+1 -1
View File
@@ -1,5 +1,5 @@
.\" 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
+1 -1
View File
@@ -1,5 +1,5 @@
.\" 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
+1 -1
View File
@@ -1,5 +1,5 @@
.\" 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