qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] -cc checking wrong


From: Jim C. Brown
Subject: Re: [Qemu-devel] -cc checking wrong
Date: Mon, 8 May 2006 11:12:54 -0400
User-agent: Mutt/1.4.2.1i

On Mon, May 08, 2006 at 09:52:12AM +0200, Pavel Jan?k wrote:
>    From: "Jim C. Brown" <address@hidden>
>    Date: Sun, 7 May 2006 20:34:11 -0400
> 
>    > The right thing to do might be to check if the first arg is ccache,
>    > and if so check for both ccache and the 2nd compiler. Especially if
>    > ccache is the only compiler that requires arguments be passed to it
>    > in --cc or CC=
> 
> This is also wrong - you can use "distcc ccache gcc" as your compiler...

Hmm.

Maybe make the check into a function, and if the first arg is distcc or ccache,
check that the first arg is -x and then call the function recursively with the
remaining args. Else just check if the compiler exists.

> -- 
> Pavel Jan?k
> 
> Sounds like a "bug waiting to be implemented" ;)
>                   -- Rik van Riel in linux-kernel
> 
> 
> _______________________________________________
> Qemu-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
> 

-- 
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]