This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [patch ada]: Last fix for PR ada/47163 on windows native hosts


2011/4/5 Arnaud Charlet <charlet@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


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