On Sun, Jan 2, 2011 at 12:24 PM, Ian Lance Taylor <i...@google.com> wrote:
> Richard Guenther <richard.guent...@gmail.com> writes:
>
>> Your small patch removing have_o || is ok I guess.
>
> Wait.  That will change the behaviour of
>    gcc -o foo.o -c f1.c f2.c f3.c
> Is that what we want?
>

No.  We always do

[i...@gnu-1 gcc]$ gcc -o foo.o -c t1.c t2.c
gcc: cannot specify -o with -c, -S or -E with multiple files
[i...@gnu-1 gcc]$ ./xgcc -B./ -o foo.o -c t1.c t2.c
xgcc: fatal error: cannot specify -o with -c, -S or -E with multiple files
compilation terminated.
[i...@gnu-1 gcc]$


-- 
H.J.

Reply via email to