Den 2010-11-02 06:46 skrev Ralf Wildenhues:
> Except then you may run into MSVC which prints its command-line options
> (dunno whether on stdout or stderr) ...
To expand on that tangent...
MSVC "only" prints the options it ends up feeding to link.exe (or maybe
it's link.exe that prints them?) and
On Tue, Nov 2, 2010 at 4:04 PM, Peter Rosin wrote:
> Den 2010-11-02 06:46 skrev Ralf Wildenhues:
>> Except then you may run into MSVC which prints its command-line options
>> (dunno whether on stdout or stderr) ...
>
> To expand on that tangent...
>
> MSVC "only" prints the options it ends up feed
Den 2010-11-02 08:18 skrev Miles Bader:
> On Tue, Nov 2, 2010 at 4:04 PM, Peter Rosin wrote:
>> Den 2010-11-02 06:46 skrev Ralf Wildenhues:
>>> Except then you may run into MSVC which prints its command-line options
>>> (dunno whether on stdout or stderr) ...
>>
>> To expand on that tangent...
>>
On Tue, Nov 2, 2010 at 4:30 PM, Peter Rosin wrote:
> That will not work for options that take an argument as a separate
> command line argument, e.g. the -x LANGUAGE option in gcc. Those
> options may not be common with gcc, but they do exist, and who knows
> what other compiler vendors come up w
Hello Peter, Miles,
* Miles Bader wrote on Tue, Nov 02, 2010 at 08:18:24AM CET:
> On Tue, Nov 2, 2010 at 4:04 PM, Peter Rosin wrote:
> > Den 2010-11-02 06:46 skrev Ralf Wildenhues:
> >> Except then you may run into MSVC which prints its command-line options
> >> (dunno whether on stdout or stderr)
Ralf Wildenhues writes:
>> if grep -e "$ONE_OPT" conftest.err >/dev/null; then
>
> -e is not portable to Solaris grep. Does MSVC print options at the
> beginning of the line? If not, then you could
> if grep ".$ONE_OPT" ...
Hmm, ".*$ONE_OPT" should work everywhere, righ
* Miles Bader wrote on Wed, Nov 03, 2010 at 01:24:10AM CET:
> Ralf Wildenhues writes:
> >> if grep -e "$ONE_OPT" conftest.err >/dev/null; then
> >
> > -e is not portable to Solaris grep. Does MSVC print options at the
> > beginning of the line? If not, then you could
> > if g