delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1997/07/15/05:00:54

Date: Tue, 15 Jul 1997 10:58:01 +0200 (METDST)
From: Robert Hoehne <robert DOT hoehne AT mathematik DOT tu-chemnitz DOT de>
To: DJGPP workers <djgpp-workers AT delorie DOT com>
Subject: Canonical systemname for DJGPP
Message-Id: <Pine.HPP.3.95q.970715105220.5957G-100000@newton.mathematik.tu-chemnitz.de>
Mime-Version: 1.0

During my port for binutils 2.8.1 I made a patch to
config.guess which evaluates now when running under
DJGPP to the canonical name i386-pc-msdosdjgpp.

Richard Stallmann wrote me today that he applied the
patch. That means, that anyone who will make in the
future any ports of the GNU packages should use
(and eventually modify some configuration scripts) to use that
name so that we can come to a common base. For instance
until now there was (and is) a difference between binutils
and gcc because they they use different target names for
DJGPP so making a cross development system was not so easy.

Here is the patch which I have made:

--- binutils-2.8.1/config.guess~	Wed Apr 30 18:57:44 1997
+++ binutils-2.8.1/config.guess	Tue Jul  8 16:11:54 1997
@@ -514,6 +514,14 @@
 		echo ${UNAME_MACHINE}-pc-sysv32
 	fi
 	exit 0 ;;
+# uname -m prints for DJGPP always 'pc', but it prints nothing about
+# the processor, I do it safe by assuming i386 (and not i[45..]86)
+# I echo here now i386-pc-msdosdjgpp, because I think, this should be
+# the right string for DJGPP, and NOT i386-*-go32 which was former
+# used
+    pc:*:*:*)
+	echo i386-pc-msdosdjgpp
+        exit 0 ;;
     Intel:Mach:3*:*)
 	echo i386-pc-mach3
 	exit 0 ;;


*****************************************************************
* Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau *
* Post:    Am Berg 3, D-09573 Dittmannsdorf                     *
* e-Mail:  Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE              *
* WWW:     http://www.tu-chemnitz.de/~rho                       *
*****************************************************************

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019