Updated configure CPU detection (still terrible for Athlon non 64 CPUs though >_<). Put in object converter to convert NASM ELF32 output to ELF x86-64. Made x86-64 get -k8 Optimization, Intel CPUs can go jump in a lake for now.

This commit is contained in:
n-a-c-h
2005-07-10 22:57:43 +00:00
parent b8da7916e2
commit 9ef907edf9
4 changed files with 933 additions and 365 deletions

View File

@@ -6,6 +6,8 @@ ISODATE=`date +%Y-%m-%d`
AC_SUBST(ISODATE)
VERSION=1.42
AC_SUBST(VERSION)
X8664="false"
AC_SUBST(X8664)
AC_ARG_WITH(nasm-prefix,[ --with-nasm-prefix=PFX Prefix where nasm is installed (optional)], nasm_prefix="$withval", nasm_prefix="")
dnl -- Where is our compiler, and who are we compiling for?
@@ -141,6 +143,11 @@ if test x$debug != xyes; then
dnl CFLAGS="$CFLAGS -march=pentium3 -mmmx -msse -mfpmath=sse,387"
AC_MSG_RESULT(686)
;;
x86_64-*-* | x86_64-*-*-*)
CFLAGS="$CFLAGS -march=k8"
X8664="true"
AC_MSG_RESULT(x86-64)
;;
*)
AC_MSG_RESULT(386)
AC_MSG_WARN(*** This is probably not what you want use --target)