Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <012801c35105$13323650$bc6a883e@starfruit> From: "Max Bowsher" To: "Carlo Florendo" , References: <034501c350d2$6a4a6300$200aa8c0 AT thorin> Subject: Re: practicing building the cygwin.dll Date: Wed, 23 Jul 2003 11:22:26 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Carlo Florendo wrote: > Hello, > > I'm trying to build the cygwin dll from scratch. I downloaded the entire > distribution last year including the sources. I've never upgraded any > package since then. > > I have cygwin-1.3.12-4 installed. Attached is the output of cygcheck -svr > > I assumed that building the cygwin.dll is as simple as going inside the > ./cygwin-1.3.12-4/ directory, running ./configure, ./make, and ./make install. ./configure, make anyway. You don't want to do make install. (Or at least, not into your running system). > newlib.stdlib ..working in > atexit.c ..linked > atexit.exp ..linked > newlib.string ..working in > string.exp ..linked > tstring.c ..linked > loading cache ../config.cache > configure: error: can not find install-sh or install.sh in .. ./.. > make: *** [configure-target-newlib] Error 1 Don't build within the source dir. It doesn't seem to work properly. mkdir buildcyg && cd buildcyg && ../cygwin-1.x.xx-x/configure > make[1]: Entering directory `/usr/include/w32api' > make[1]: *** No rule to make target `all'. Stop. > make[1]: Leaving directory `/usr/include/w32api' You actually need to untar the mingw-runtime source to winsup/mingw, and the w32api source to winsup/w32api. It is supposed to work with the installed versions, but that support is broken at least in 1.3.x. A fix went in before 1.5.0, but hasn't been extensively tested. Max. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/