This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
building a cross compiler
- To: gnu-win32 at cygnus dot com
- Subject: building a cross compiler
- From: Irio Lavagno <irio dot lavagno at torino dot alpcom dot it>
- Date: Fri, 02 May 1997 18:41:50 +0200
I tried to build a cross compiler version of cygwin32 on my linux box
everything works well until it tries
to build the utils, at this point it complains as follows
configuring in utils
running /bin/sh ./configure --host=i386-cygwin32
--with-cross-host=i586-pc-linux-gnu --with-target-subdir=i386-cygwin32
--cache-file=.././config.cache --srcdir=.
loading cache .././config.cache
checking for gcc... (cached) /usr/local/src/cygwin32/gcc/xgcc
-B/usr/local/src/cygwin32/gcc/ -idirafter
/usr/local/src/cygwin32/i386-cygwin32/newlib/targ-include -idirafter
/usr/local/src/cygwin32/newlib/libc/include -nostdinc
checking whether we are using GNU C... (cached) yes
configure: error: can not find install-sh or install.sh in . ./..
./../..
configure: error: ./configure failed for utils
make: *** [configure-target-winsup] Error 1
I've been able to make it compile anyway copying the install.sh in one
of the dirs it looks in, but I'm not
sure this is the best way to solve the problem.
The command line I use to build this cross-compiler is (as stated by
Geoffrey Noer in one of his answers):
configure --target=i386-cygwin32
Configure completes successfully, but make fails after a while with the
above message.
Thanks for your help
Irio Lavagno
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".