2011/4/5 Arnaud Charlet <char...@adacore.com>: >> I know about that. And in fact I am use Wine for doing an native >> compile. Nevertheless most users using msys for native windows. Btw >> that it would work on cygwin is more theory, > > It's not theory, it's what e.g. we do at AdaCore so it's very much > reality rather than theory. Interesting
>> Sorry, here I am a bit curious. Maybe I am just unaware, but what have >> the arguments of the LN_S call to do with the amount of entries in the >> list, which are getting enumerated by foreach? The $f variable anyway >> will contain just one filename, isn't it? Is such an foreach loop >> unrolled before execution so that I have 'elements-in-foreach' * >> 'size-of-executed-command'? > > Yes, GNU make 'foreach' will expand all the commands and concatenate them > into a single command line. In other words, foreach is simply a text > substition, unlike sh 'for' command. Thanks for the explaining. I wasn't aware. Kai