delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/11/11:10:48

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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: <013d01c3003c$7d9db0b0$1c85883e@pomello>
From: "Max Bowsher" <maxb AT ukf DOT net>
To: <cygwin AT cygwin DOT com>
Subject: [Bug+partial diagnosis] Can't build Cygwin source tarball with out-of-tree w32api
Date: Fri, 11 Apr 2003 16:06:25 +0100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

Attempting to build Cygwin against an out-of-tree w32api fails, because of a
bug in src/winsup/Makefile.common.

There is some make/gcc/awk magic to try and find the w32api lib directory.
This is broken:

The final output of it all is:
"/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/lib/ /lib/
/usr/lib/w32api"

gcc -print-search-dirs outputs multiple library directories matching the awk
commands, and they all get passed through to make, resulting in a variable
containing spaces, which causes havoc whenever it is expanded.

For a plain Cygwin build, it is sufficient to hardcode /usr/lib/w32api. I
assume the complex awk stuff is to handle the cross-compile case.



Max.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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