[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
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.
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
ERROR
address@hidden:/tmp>
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