summaryrefslogtreecommitdiff
path: root/patches/cygwin
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-02-24 11:00:05 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-02-24 11:00:05 (GMT)
commit1906cf93f86d8d66f45f90380a8d3da25c087ee5 (patch)
tree90916c99abe1f1ec26709ee420e6c349eda4670a /patches/cygwin
parent2609573aede4ce198b3462976725b25eb1637d2e (diff)
Add the full crosstool-NG sources to the new repository of its own.
You might just say: 'Yeah! crosstool-NG's got its own repo!". Unfortunately, that's because the previous repo got damaged beyond repair and I had no backup. That means I'm putting backups in place in the afternoon. That also means we've lost history... :-(
Diffstat (limited to 'patches/cygwin')
-rw-r--r--patches/cygwin/1.5.15-1/cygwin-1.5.15-1-crossbuild.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/patches/cygwin/1.5.15-1/cygwin-1.5.15-1-crossbuild.patch b/patches/cygwin/1.5.15-1/cygwin-1.5.15-1-crossbuild.patch
new file mode 100644
index 0000000..d312403
--- /dev/null
+++ b/patches/cygwin/1.5.15-1/cygwin-1.5.15-1-crossbuild.patch
@@ -0,0 +1,40 @@
+Message-ID: <4269173F.7020705@zee2.com>
+Date: Fri, 22 Apr 2005 16:24:47 +0100
+From: Steve Papacharalambous <stevep@zee2.com>
+To: "Robert P. J. Day" <rpjday@mindspring.com>
+CC: crossgcc list <crossgcc@sources.redhat.com>
+Subject: Re: cygwin source directory has moved
+In-Reply-To: <Pine.LNX.4.61.0504181746050.11794@localhost.localdomain>
+
+Hi Robert,
+
+I've attached two patches:
+
+1/ For crosstool-0.31 which changes the CYGWIN_URL to one which has the
+cygwin source archives. The version of cygwin that is used to build the
+cross toolchain has been changed to cygwin-1.5.15-1-src.tar.bz2 since
+most of the mirror sites don't seem to have the original archive used.
+[created gcc-3.3.2-cygwin-1.5.15-1.dat - dank]
+
+
+2/ The later cygwin source archive fails to cross build with the error:
+/opt/crosstool/i686-pc-cygwin/gcc-3.3.2-cygwin-1.5.15-1/lib/gcc-lib/i686-pc-cygwin/bin/ld:
+cannot find -luser32
+
+unless the second patch is applied,
+
+
+diff -uNr cygwin-1.5.15-1.orig/winsup/mingw/Makefile.in cygwin-1.5.15-1/winsup/mingw/Makefile.in
+--- cygwin-1.5.15-1.orig/winsup/mingw/Makefile.in 2005-02-28 22:51:02.000000000 +0000
++++ cygwin-1.5.15-1/winsup/mingw/Makefile.in 2005-04-22 15:29:18.000000000 +0100
+@@ -71,7 +71,7 @@
+ mkinstalldirs = $(SHELL) @MKINSTALLDIRS@
+
+ CC := @CC@
+-override CC := ${filter-out -L% -B%,${shell echo $(CC) | sed -e 's%\(-isystem\|-iwithprefixbefore\) *[^ ]*\( \|$$\)% %g'}}
++override CC := ${filter-out -B%,${shell echo $(CC) | sed -e 's%\(-isystem\|-iwithprefixbefore\) *[^ ]*\( \|$$\)% %g'}}
+ # FIXME: Which is it, CC or CC_FOR_TARGET?
+ CC_FOR_TARGET = $(CC)
+ AS_FOR_TARGET = $(AS)
+
+