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.
> 
> [EMAIL PROTECTED]:/tmp> alias compiler=gcc
> [EMAIL PROTECTED]:/tmp> compiler -v
> Reading specs from /usr/lib/gcc-lib/i586-suse-linux/3.3.5/specs
> [...]
> [EMAIL PROTECTED]:/tmp> [ -x compiler ] || echo ERROR
> ERROR
> [EMAIL PROTECTED]:/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.



_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel

Reply via email to