This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project. See the Cygwin home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]

Re: lsh and/or gmp?



> |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

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* \

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