[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Preferring a specific compiler?
From: |
Dan Stromberg |
Subject: |
Re: Preferring a specific compiler? |
Date: |
Tue, 31 May 2005 12:55:31 -0700 |
User-agent: |
Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.) |
On Tue, 31 May 2005 21:16:00 +0200, Stepan Kasal wrote:
> Hi,
>
> On Tue, May 31, 2005 at 10:27:01AM -0700, Dan Stromberg wrote:
>> I have an app I'd like to compile with tcc -b if available, otherwise try
>> gcc, and if that is unavailable too, then try cc.
>
> place
>
> AC_PROG_CC(["tcc -b" gcc cc])
>
> near the top of your configure.ac
>
> Stepan
That's generating a ./configure line:
for ac_prog in "tcc -b" gcc cc
...but it's not finding tcc. Perhaps it's looking for a program called
"tcc -b", and not a program called "tcc" with a "-b" argument?
Thanks!