This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cygwin source directory has moved


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.


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,

Best regards,

Steve

Robert P. J. Day wrote:
  just a note that the one sample cygwin-related .dat file in
crosstool-0.31 has a CYGWIN_URL that is no longer relevant -- you
can't get the tarball from sources.redhat.com anymore, at least not
from *that* directory.

rday

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



diff -uNr crosstool-0.31.orig/demo-cygwin.sh crosstool-0.31/demo-cygwin.sh
--- crosstool-0.31.orig/demo-cygwin.sh	2005-03-08 00:34:35.000000000 +0000
+++ crosstool-0.31/demo-cygwin.sh	2005-04-22 15:13:05.000000000 +0100
@@ -11,6 +11,7 @@
 mkdir -p $RESULT_TOP
 
 # Build the toolchain.
-eval `cat i686-cygwin.dat gcc-3.3.2-cygwin-1.5.10-3.dat`  sh all.sh --notest
+# eval `cat i686-cygwin.dat gcc-3.3.2-cygwin-1.5.10-3.dat`  sh all.sh --notest
+eval `cat i686-cygwin.dat gcc-3.3.2-cygwin-1.5.15-1.dat`  sh all.sh --notest
 
 echo Done.
diff -uNr crosstool-0.31.orig/gcc-3.3.2-cygwin-1.5.15-1.dat crosstool-0.31/gcc-3.3.2-cygwin-1.5.15-1.dat
--- crosstool-0.31.orig/gcc-3.3.2-cygwin-1.5.15-1.dat	1970-01-01 01:00:00.000000000 +0100
+++ crosstool-0.31/gcc-3.3.2-cygwin-1.5.15-1.dat	2005-04-22 15:14:08.000000000 +0100
@@ -0,0 +1,4 @@
+BINUTILS_DIR=binutils-2.15
+GCC_DIR=gcc-3.3.2
+CYGWIN_DIR=cygwin-1.5.15-1
+CYGWIN_URL=ftp://mirrors.rcn.net/pub/sourceware/cygwin/release/cygwin

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)


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]