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 15:08:04 -0400
User-agent: Mutt/1.4.2.1i

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.
> 
> 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.

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
> 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]