This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
[PATCH] One liner to allow i786 in cygwin
- From: Kelley Cook <kcook34 at ford dot com>
- To: cygwin-patches at cygwin dot com
- Date: Tue, 03 Jun 2003 12:35:43 -0400
- Subject: [PATCH] One liner to allow i786 in cygwin
- Hop-count: 1
This patch allows the Cygwin DLL to be configured and compiled for
--{host,build,target}=i786-pc-cygwin.
After applying a pending patch to the toplevel config.sub as well as the
hand changing the questionable old copies of config.sub that need to be
in the mingw and w32api directories, I have configured, compiled and
installed the DLL for --{host,build,target}=pentium4-pc-cygwin. A make
check showed zero unexpected failures and one unexpected pass:
ltp/gethostid01.c.
Similar patches have already been installed for the toplevel, binutils,
libiberty, and newlib.
I also have a simple autoconf/automake patch pending which corrects the
need for the (IMO bogus) mingw/w32api config.{sub,guess}. Should I also
post that patch here for inclusion in the Cygwin versions of
autoconf/automake.
Kelley Cook
2003-06-03 Kelley Cook <kelleycook@wideopenwest.com>
* configure.in: Allow i786 variant.
* configure: Regenerate.
--- cygwin/configure.in.orig 2003-06-03 10:43:30.000000000 -0400
+++ cygwin/configure.in 2003-06-03 10:27:26.000000000 -0400
@@ -205,7 +205,7 @@
dnl fi
case "$target_cpu" in
- i386|i486|i586|i686) DLL_ENTRY="_dll_entry@12"
+ i[[3-7]]86) DLL_ENTRY="_dll_entry@12"
DEF_DLL_ENTRY="dll_entry@12"
ALLOCA="_alloca"
CONFIG_DIR="i386" ;;