aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1994-05-06 21:25:45 +0000
committerSteve Chamberlain <sac@cygnus>1994-05-06 21:25:45 +0000
commiteebd76cbbb92732f9a6779e69dbe3fb32b28f1ff (patch)
treed607c73d7506da3a90f52b780f3f881f550d6410
parentc794f0aa850c5a5a25f4261b577eb68d7b01db15 (diff)
downloadgdb-eebd76cbbb92732f9a6779e69dbe3fb32b28f1ff.zip
gdb-eebd76cbbb92732f9a6779e69dbe3fb32b28f1ff.tar.gz
gdb-eebd76cbbb92732f9a6779e69dbe3fb32b28f1ff.tar.bz2
* configure.in (host==go32): Configure dosrel too.
* Makefile.in (INTALL_TARGET): Call INSTALL_LAST last. (HOST_CC, HOST_PREFIX, HOST_PREFIX_1): Undefine, they should be set by incoming names or templates. (INSTALL_LAST): New rule. * config/mh-go32: New fragment.
-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"