building a cross compiler

Irio Lavagno irio.lavagno@torino.alpcom.it
Fri May 2 16:41:00 GMT 1997


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".



More information about the Cygwin mailing list