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: Pavel Janík
Subject: Re: [Qemu-devel] -cc checking wrong
Date: Mon, 08 May 2006 00:46:24 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

   From: address@hidden (Pavel Janík)
   Date: Mon, 01 May 2006 09:41:14 +0200

   > address@hidden:/tmp/QEMU/qemu-cvs> ./configure --cc="ccache gcc"
   > Compiler ccache gcc could not be found
   > address@hidden:/tmp/QEMU/qemu-cvs> 

This comes from

revision 1.93
date: 2006-04-23 16:35:23 +0200;  author: bellard;  state: Exp;  lines: +5 -0
check if specified compiler exists

configure contains:

if [ ! -x "`which $cc`" ] ; then
    echo "Compiler $cc could not be found"
    exit
fi

You should check if the command compiles, not if it exists and is executable.
-- 
Pavel Janík

Two wrongs do not make a right.
                  -- Linus Torvalds in linux-kernel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]