This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Cygwin DLL configuration
- From: "Max Bowsher" <maxb at ukf dot net>
- To: "Doru Carastan" <doru dot carastan at mvista dot com>
- Cc: <cygwin at cygwin dot com>
- Date: Wed, 6 Aug 2003 22:15:43 +0100
- Subject: Re: Cygwin DLL configuration
- References: <3F21F6E5.4070107@mvista.com> <3F21FD8D.43882685@acm.org> <3F3160E3.2030403@mvista.com>
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/