Re: cygwin-specific gcc question

2010-07-23 Thread Eric Blake
On 07/22/2010 06:09 PM, Dave Korn wrote: > On 21/07/2010 22:54, Eric Blake wrote: >> Is there any sane reason that: >> >> gcc -E -dD -o - foo.c >> >> generates ./-.exe on cygwin, rather than outputting to stdout like on >> every other platform? This tripped up an autoconf test. Fortunately, >> re

Re: cygwin-specific gcc question

2010-07-22 Thread Dave Korn
On 21/07/2010 22:54, Eric Blake wrote: > Is there any sane reason that: > > gcc -E -dD -o - foo.c > > generates ./-.exe on cygwin, rather than outputting to stdout like on > every other platform? This tripped up an autoconf test. Fortunately, > removing '-o -' appears to be portable. I've se

cygwin-specific gcc question

2010-07-21 Thread Eric Blake
Is there any sane reason that: gcc -E -dD -o - foo.c generates ./-.exe on cygwin, rather than outputting to stdout like on every other platform? This tripped up an autoconf test. Fortunately, removing '-o -' appears to be portable. -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt