This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cygwin DLL configuration


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]