delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/08/06/17:15:58

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: <021801c35c5f$e63aaf40$c460883e@starfruit>
From: "Max Bowsher" <maxb AT ukf DOT net>
To: "Doru Carastan" <doru DOT carastan AT mvista DOT com>
Cc: <cygwin AT cygwin DOT com>
References: <3F21F6E5 DOT 4070107 AT mvista DOT com> <3F21FD8D DOT 43882685 AT acm DOT org> <3F3160E3 DOT 2030403 AT mvista DOT com>
Subject: Re: Cygwin DLL configuration
Date: Wed, 6 Aug 2003 22:15:43 +0100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165

Doru Carastan wrote:
> David Rothenberger wrote:
>> Gerrit recently posted a script ...
>>
>> See <http://www.cygwin.com/ml/cygwin/2003-07/msg01316.html>.
>>
>
> Thank you David, it did the trick. tooldir is the culprit.
>
> ifeq ($(target_alias),$(host_alias))
> ifeq ($(build_alias),$(host_alias))
> tooldir:=$(exec_prefix)
> else
> tooldir:=$(exec_prefix)/$(target_alias)
> endif
> else
> tooldir:=$(exec_prefix)/$(target_alias)
> endif
>
> For some reason the tooldir variable does not get set to ${exec_prefix}.

The reason is that the top level Makefile defines tooldir, and passes it
down through the FLAGS_TO_PASS mechanism, causing it to appear on the
command line of the sub-make. And command line variable definitions override
normal definitions of variables inside Makefiles.

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/

- Raw text -


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