[Top][All Lists]

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

Re: [Qemu-devel] -cc checking wrong

From: Pavel Janík
Subject: Re: [Qemu-devel] -cc checking wrong
Date: Mon, 08 May 2006 20:53:29 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

   From: "Jim C. Brown" <address@hidden>
   Date: Mon, 8 May 2006 11:12:54 -0400

   > Maybe make the check into a function, and if the first arg is distcc or 

Do you know icecast or compilercache? Sorry, this is incorrect way by

   > check that the first arg is -x

This is also incorrect.

address@hidden:/tmp> alias compiler=gcc
address@hidden:/tmp> compiler -v
Reading specs from /usr/lib/gcc-lib/i586-suse-linux/3.3.5/specs
address@hidden:/tmp> [ -x compiler ] || echo ERROR

The only correct way is to *execute* simple test.
Pavel Janík

"With some developers it is not needed to run the code through
obfuscator... I have inherited code which only the compiler could
understand."      -- someone in LKML

reply via email to

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