delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/01/23/09:02:12

From: prins AT itu3 DOT sun DOT ac DOT za ("MNR. W PRINS")
Subject: Building cross compiler
23 Jan 1997 09:02:12 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <E0vnJih-0006md-00.cygnus.gnu-win32@itu3.sun.ac.za>
Mime-Version: 1.0
Original-To: gnu-win32 AT cygnus DOT com
X-Mailer: ELM [version 2.4ME+ PL28 (25)]
Original-Sender: owner-gnu-win32 AT cygnus DOT com

Hi,

I've downloaded the newest Beta17.1 cdk source tree.  I am trying to build
a cross compiler on my Redhat 4.1 Linux box.  (I managed to do this with the
old Beta16 kit.) Anyway, the compilation fails at some stage with:

---
make[1]: Entering directory `/home/prins/Cygnus/i586-cygwin32/winsup'
rootme=`pwd` ; export rootme ; \
rootsrc=`(cd . ; pwd)` ; export rootsrc ; \
cd utils; make all CC="/home/prins/Cygnus/gcc/xgcc -B/home/prins/Cygnus/gcc/ -B/home/prins/Cygnus/newlib/ -L/home/prins/Cygnus/winsup -idirafter /home/prins/Cygnus/i586-cygwin32/newlib/targ-include -idirafter /home/prins/Cygnus/newlib/libc/include -nostdinc" CFLAGS="-g" CXXFLAGS="-g -O2" EXE_LDFLAGS="-B$rootme/../newlib/ -L.." AR="/home/prins/Cygnus/binutils/ar" RANLIB="/home/prins/Cygnus/binutils/ranlib" LD="/home/prins/Cygnus/ld/ld.new" DLLTOOL="/home/prins/Cygnus/binutils/dlltool"
make[2]: Entering directory `/home/prins/Cygnus/i586-cygwin32/winsup/utils'
make[2]: *** No rule to make target `all'.  Stop.
make[2]: Leaving directory `/home/prins/Cygnus/i586-cygwin32/winsup/utils'
make[1]: *** [utils-all] Error 2
make[1]: Leaving directory `/home/prins/Cygnus/i586-cygwin32/winsup'
make: *** [all-target-winsup] Error 2 

---
Now I've gotten this to compile by hand, but then it barfs later on because it wants
libc.a or something (newlib) for cygwin.dll.  It seems as if the winsup dir, 
and the newlib dir aren't being configured during the initial configuration 
process.  All I want to know is: Has anyone else managed to build a cross 
compiler on a similar setup?  What did you do? I used the following
commands (initially):
---
../configure --build=i586-linux --host=i586-linux --target=i586-cygwin32
# This configures as i586-pc-linux and i586-pc-cygwin32
make

Any ideas? 

--
Walter Prins                email: prins AT quark DOT cs DOT sun DOT ac DOT za | Sola Scriptura
Department of Computer Science     prins AT cs DOT sun DOT ac DOT za       | Sola Gratia
University of Stellenbosch    www: http://quark.cs.sun.ac.za| Sola Fide
South Africa                                                | Soli Deo Gloria

-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019