From 01acac518cf9c290902aae37eabee34db0b119aa Mon Sep 17 00:00:00 2001 From: "Clifford T. Matthews" Date: Mon, 8 Jun 2009 11:36:57 -0600 Subject: [PATCH] --disable-native appears to work (needs more testing) --- TODO | 11 +++++++---- configure.ac | 5 +++-- runtime/native/null/host-xlate.h | 0 runtime/native/null/subdir-stmp | 0 4 files changed, 10 insertions(+), 6 deletions(-) create mode 100644 runtime/native/null/host-xlate.h create mode 100644 runtime/native/null/subdir-stmp diff --git a/TODO b/TODO index 13175ec..6093075 100644 --- a/TODO +++ b/TODO @@ -1,7 +1,11 @@ - Non-native version can't be built + --enable-native should default to true IFF on i386 - may need to dig into ancient svn history to find old - makefiles that used to build it + x86_64 (non-native) doesn't run + + try to get non-native i386 running first + + look at how we convert between Mac addresses and pointers + (especially look at code we used to use on alpha) Mac OS X fixes: @@ -39,4 +43,3 @@ need a .spec file so we can build syn68k and syn68k-devel RPMS - diff --git a/configure.ac b/configure.ac index 327efd1..510c883 100644 --- a/configure.ac +++ b/configure.ac @@ -61,18 +61,19 @@ esac AC_SUBST(host_cpu_class) -HOST_NATIVE="native/i386" -AC_SUBST(HOST_NATIVE) AC_ARG_ENABLE([native], AC_HELP_STRING([--enable-native], [native or nonnative (default is native)]), [var_native=$enable_native], [var_native=yes] ) if test "$var_native" = "yes"; then + HOST_NATIVE="native/i386" NO_NATIVE=FALSE else + HOST_NATIVE="native/null" NO_NATIVE=TRUE fi +AC_SUBST(HOST_NATIVE) AC_SUBST(NO_NATIVE) AC_ARG_ENABLE([debug], diff --git a/runtime/native/null/host-xlate.h b/runtime/native/null/host-xlate.h new file mode 100644 index 0000000..e69de29 diff --git a/runtime/native/null/subdir-stmp b/runtime/native/null/subdir-stmp new file mode 100644 index 0000000..e69de29