qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Pavel@Janik.cz (Pavel Janík)
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] -cc checking wrong
Date: Mon, 08 May 2006 00:46:24 +0200	[thread overview]
Message-ID: <87d5eppicn.fsf@Janik.cz> (raw)
In-Reply-To: <87aca2qjj9.fsf@Janik.cz> (Pavel Janík's message of "Mon, 01 May 2006 09:41:14 +0200")

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

   > pavel@paveljanik:/tmp/QEMU/qemu-cvs> ./configure --cc="ccache gcc"
   > Compiler ccache gcc could not be found
   > pavel@paveljanik:/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	other threads:[~2006-05-07 22:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-01  7:41 [Qemu-devel] -cc checking wrong Pavel Janík
2006-05-07 22:46 ` Pavel Janík [this message]
2006-05-08  0:18   ` Jim C. Brown
2006-05-08  0:34     ` Jim C. Brown
2006-05-08  7:52       ` Pavel Janík
2006-05-08 15:12         ` Jim C. Brown
2006-05-08 18:53           ` Pavel Janík
2006-05-08 19:08             ` Jim C. Brown
2006-05-08  0:53     ` Paul Brook
2006-05-08  1:13       ` Jim C. Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d5eppicn.fsf@Janik.cz \
    --to=pavel@janik.cz \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).