On Wed, Mar 3, 2010 at 12:27 PM, Paul Smith <[email protected]> wrote:

> In fact the output explicitly does NOT show in any particular order.
>

Thanks. When you say "explicit", do you mean literally that it's documented
somewhere?


> Variables are stored internally to make in a hash table, and the -p flag
> dumps the contents by walking the hash table.  So, the values are
> printed in essentially random order.
>
>
This is somewhat surprising to me - after all, given the makefile

CFLAGS = -g
CFLAGS = -O
all:;   @echo CFLAGS=$(CFLAGS)

the order is crucial to getting the right result. So make must keep track of
order somehow, no? And if it has that data, why not use it in -p mode?

Thanks,
AK
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to