delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/05/02/20:32:03

From: irio DOT lavagno AT torino DOT alpcom DOT it (Irio Lavagno)
Subject: building a cross compiler
2 May 1997 20:32:03 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <336A194E.2882315F.cygnus.gnu-win32@torino.alpcom.it>
Mime-Version: 1.0
Original-To: gnu-win32 AT cygnus DOT com
X-Mailer: Mozilla 3.01Gold (X11; I; Linux 2.0.27 i586)
Original-Sender: owner-gnu-win32 AT cygnus DOT com

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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


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