From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FdB5U-0006E1-Ao for qemu-devel@nongnu.org; Mon, 08 May 2006 15:08:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FdB5S-0006BT-S8 for qemu-devel@nongnu.org; Mon, 08 May 2006 15:08:08 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FdB5S-0006BL-Or for qemu-devel@nongnu.org; Mon, 08 May 2006 15:08:06 -0400 Received: from [128.8.10.163] (helo=po1.wam.umd.edu) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FdB6M-0006og-9D for qemu-devel@nongnu.org; Mon, 08 May 2006 15:09:02 -0400 Received: from jbrown.mylinuxbox.org (jma-box.student.umd.edu [129.2.253.219]) by po1.wam.umd.edu (8.12.11.20060308/8.12.10) with ESMTP id k48J85kj024891 for ; Mon, 8 May 2006 15:08:05 -0400 (EDT) Date: Mon, 8 May 2006 15:08:04 -0400 From: "Jim C. Brown" Subject: Re: [Qemu-devel] -cc checking wrong Message-ID: <20060508190804.GA10821@jbrown.mylinuxbox.org> 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> <87u080l55i.fsf@Janik.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87u080l55i.fsf@Janik.cz> 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 On Mon, May 08, 2006 at 08:53:29PM +0200, Pavel Jan?k wrote: > > > check that the first arg is -x > > This is also incorrect. > > pavel@paveljanik:/tmp> alias compiler=gcc > 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> > > The only correct way is to *execute* simple test. Incidently, this is not correct either way. $ alias compiler=gcc $ compiler -v Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/specs [...] $ ./configure --cc=compiler ERROR: "compiler" either does not exist or does not work Thats with the fixed CVS that uses my other patch. Aliases aren't suppose to pass through to shell scripts. > -- > 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 > > > _______________________________________________ > Qemu-devel mailing list > Qemu-devel@nongnu.org > http://lists.nongnu.org/mailman/listinfo/qemu-devel > -- Infinite complexity begets infinite beauty. Infinite precision begets infinite perfection.