Re: Preferring a specific compiler?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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!




_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux