[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dynamic evaluation of build scripts

From: SF Markus Elfring
Subject: Re: Dynamic evaluation of build scripts
Date: Mon, 12 Jan 2015 13:14:02 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

> GNU make is the only implementation of make that supports any GNU
> make functions, including $(eval ...), if that's what you mean.

I hope that more software tools can cope with make file syntax and
processing of corresponding GNU extensions.

> In fact, recursive variable expansion is about the only one
> of the techniques I discuss above which is widely implemented
> in other versions of make.

I find it interesting which limitations from other approaches need
to be also considered for the development of reasonably portable
build scripts.

> No other make, that I know of, supports regenerating makefiles and
> re-exec'ing.  And definitely no other make supports $(eval ...).

Does GNU software provide some promising functionality here?

Are there any chances that it will spread out to further implementations?

> The $(call ...) function is what's normally used to create
> a user-defined function that takes multiple arguments in GNU make...

Would it help to mention explicitly that the built-in function "eval"
takes script code as a single input parameter?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]