Delivered-To: listarch-cygwin@sourceware.cygnus.com
Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
Message-ID: <36C0DD0E.4E2E158C@uni-duesseldorf.de>
Date: Wed, 10 Feb 1999 02:12:46 +0100
From: Stipe Tolj <tolj@uni-duesseldorf.de>
Organization: Department of Economical Computer Science, University of Cologne, 
              Germany
X-Mailer: Mozilla 4.05 [de]C-NECCK (Win95; I)
MIME-Version: 1.0
To: Marc Haber <Marc.Haber-lists@gmx.de>
CC: cygwin@sourceware.cygnus.com
Subject: Re: lsh and/or gmp?
References: <199902090201.UAA11542@modi.xraylith.wisc.edu> <E10AAPu-0002vn-00.1999-02-09-11-29-18@torres.gf1.internal>
Content-Type: multipart/mixed; boundary="------------98B48CC9EA19D95CAFE97B96"

--------------98B48CC9EA19D95CAFE97B96
Content-type: text/plain; charset="us-ascii"

> |bash-2.02$ cd /home/mh/gmp-2.0.2
> |bash-2.02$ ./configure i586-cygwin32
> |Invalid configuration `i586-cygwin32': system `cygwin32' not recognized
> |Invalid configuration `i586-cygwin32': system `cygwin32' not recognized
> |Unrecognized host system name i586-cygwin32.
> |bash-2.02$ pwd
>
> Doesn't seem to work :-(

There are two problems causing configure to fail. First of all within
config.guess the old i386-unknown-cygwin32 is specified, it should be
i586-unknown-cygwin32 since cygwin b20. But the more serious problem is the non
defines os for cygwin within the old config.sub.

See the attached patch file and change the necessary thing. The gmp-2.0.2 package
build out of the box on my cygwin b20.1 (egcs-1.1.1 release) system.

Regards,
Stipe

--
Stipe Tolj <tolj@uni-duesseldorf.de>

Cygwin Porting Project -- "We build UNIX on top of Windows"
http://www.student.uni-koeln.de/cygwin/

Department of Economical Computer Science
University of Cologne, Germany


--------------98B48CC9EA19D95CAFE97B96
Content-type: text/plain; charset="us-ascii"

diff -ur gmp-2.0.2/config.guess gmp-2.0.2-cygwin/config.guess
--- gmp-2.0.2/config.guess	Wed May 08 10:10:50 1996
+++ gmp-2.0.2-cygwin/config.guess	Wed Feb 10 01:36:36 1999
@@ -325,7 +325,7 @@
 	echo ${UNAME_MACHINE}-unknown-netbsd`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
 	exit 0 ;;
     i*:CYGWIN*:*)
-	echo i386-unknown-cygwin32
+	echo i586-unknown-cygwin32
 	exit 0 ;;
     p*:CYGWIN*:*)
 	echo powerpcle-unknown-cygwin32
Only in gmp-2.0.2-cygwin: config.status
diff -ur gmp-2.0.2/config.sub gmp-2.0.2-cygwin/config.sub
--- gmp-2.0.2/config.sub	Fri May 10 18:39:12 1996
+++ gmp-2.0.2-cygwin/config.sub	Wed Feb 10 01:43:52 1999
@@ -822,7 +822,7 @@
 	      | -hiux* | -386bsd* | -netbsd* | -freebsd* | -riscix*  | -lites* \
 	      | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* \
 	      | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta | -udi \
-	      | -eabi* | -ieee*)
+	      | -eabi* | -ieee* | -cygwin32*)
 		;;
 	# CYGNUS LOCAL
 	-go32 | -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \


--------------98B48CC9EA19D95CAFE97B96
Content-Type: text/plain; charset=

--   
Want to unsubscribe from this list?                             
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
--------------98B48CC9EA19D95CAFE97B96--

