aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/.Sanitize1
-rw-r--r--config/mh-go3224
-rw-r--r--configure.in12
3 files changed, 37 insertions, 0 deletions
diff --git a/config/.Sanitize b/config/.Sanitize
index a56b920..5343a80 100644
--- a/config/.Sanitize
+++ b/config/.Sanitize
@@ -37,6 +37,7 @@ mh-apollo68
mh-decstation
mh-delta88
mh-dgux
+mh-go32
mh-hp300
mh-hpux
mh-irix4
diff --git a/config/mh-go32 b/config/mh-go32
new file mode 100644
index 0000000..27562b5
--- /dev/null
+++ b/config/mh-go32
@@ -0,0 +1,24 @@
+CC=i386-go32-gcc
+AR=i386-go32-ar
+RANLIB=i386-go32-ranlib
+CC_FOR_BUILD=gcc
+HOST_CC=gcc
+HOST_CFLAGS=
+CFLAGS=-O2 -fno-omit-frame-pointer
+HOST_PREFIX=foo
+HOST_PREFIX_1=foo
+RANLIB=i386-go32-ranlib
+AR=i386-go32-ar
+GCC_FOR_TARGET=${target}-gcc
+CC_FOR_TARGET=${target_alias}-gcc
+AR_FOR_TARGET=${target_alias}-ar
+RANLIB_FOR_TARGET=${target_alias}-ranlib
+HOST_PREFIX=cross
+HOST_PREFIX_1=cross
+MAKEINFOFLAGS=--no-split
+
+INSTALL_LAST=install-dosrel
+
+
+
+
diff --git a/configure.in b/configure.in
index d8cd005..c682d46 100644
--- a/configure.in
+++ b/configure.in
@@ -104,6 +104,7 @@ case "${host}" in
i[34]86-*-linux*) host_makefile_frag=config/mh-linux ;;
i[34]86-*-solaris2*) host_makefile_frag=config/mh-sysv4 ;;
i[34]86-*-aix*) host_makefile_frag=config/mh-aix386 ;;
+ i[34]86-*-go32*) host_makefile_frag=config/mh-go32 ;;
vax-*-ultrix2*) host_makefile_frag=config/mh-vaxult2 ;;
*-ibm-aix*) host_makefile_frag=config/mh-aix ;;
*-bull-bosx*) host_makefile_frag=config/mh-aix ;;
@@ -160,6 +161,13 @@ else
done
fi
+# Configure extra directories which are host specific
+
+case "${host}" in
+ i[34]86-*-go32*)
+ configdirs="$configdirs dosrel" ;;
+esac
+
# Remove more programs from consideration, based on the host or
# target this usually means that a port of the program doesn't
# exist yet.
@@ -178,6 +186,10 @@ case "${host}" in
;;
esac
+
+
+
+
case "${target}" in
alpha-dec-osf1*)
noconfigdirs="$noconfigdirs emacs fileutils grep newlib"