From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FdArc-0005pe-2C for qemu-devel@nongnu.org; Mon, 08 May 2006 14:53:48 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FdAra-0005pR-Sg for qemu-devel@nongnu.org; Mon, 08 May 2006 14:53:47 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FdAra-0005pO-PN for qemu-devel@nongnu.org; Mon, 08 May 2006 14:53:46 -0400 Received: from [212.20.112.165] (helo=pavel.int.rudna.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FdAsT-0005Z0-Rl for qemu-devel@nongnu.org; Mon, 08 May 2006 14:54:42 -0400 From: Pavel@Janik.cz (Pavel =?iso-8859-2?Q?Jan=EDk?=) Subject: Re: [Qemu-devel] -cc checking wrong In-Reply-To: <20060508151254.GA10640@jbrown.mylinuxbox.org> (Jim C. Brown's message of "Mon, 8 May 2006 11:12:54 -0400") Date: Mon, 08 May 2006 20:53:29 +0200 Message-ID: <87u080l55i.fsf@Janik.cz> References: <87aca2qjj9.fsf@Janik.cz> <87d5eppicn.fsf@Janik.cz> <20060508001855.GA15033@jbrown.mylinuxbox.org> <20060508003411.GB15033@jbrown.mylinuxbox.org> <87d5epnec3.fsf@Janik.cz> <20060508151254.GA10640@jbrown.mylinuxbox.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: quoted-printable Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org From: "Jim C. Brown" Date: Mon, 8 May 2006 11:12:54 -0400 > Maybe make the check into a function, and if the first arg is distcc= or ccache, Do you know icecast or compilercache? Sorry, this is incorrect way by definition. > check that the first arg is -x This is also incorrect. pavel@paveljanik:/tmp> alias compiler=3Dgcc pavel@paveljanik:/tmp> compiler -v Reading specs from /usr/lib/gcc-lib/i586-suse-linux/3.3.5/specs [...] pavel@paveljanik:/tmp> [ -x compiler ] || echo ERROR ERROR pavel@paveljanik:/tmp>=20 The only correct way is to *execute* simple test. --=20 Pavel Jan=EDk "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