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: <021801c35c5f$e63aaf40$c460883e@starfruit> From: "Max Bowsher" To: "Doru Carastan" Cc: 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 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 Doru Carastan wrote: > David Rothenberger wrote: >> Gerrit recently posted a script ... >> >> See . >> > > 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/