autoconf
[Top][All Lists]
Advanced

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

Re: Checking for and setting compiler to use


From: Akim Demaille
Subject: Re: Checking for and setting compiler to use
Date: 25 Apr 2002 12:39:41 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp)

>>>>> "Sam" == Sam Liddicott <address@hidden> writes:

>> -----Original Message----- From: Adam Tee
>> [mailto:address@hidden Sent: 25 April 2002 10:12 To:
>> address@hidden Subject: Checking for and setting compiler to use
>> 
>> 
>> Hi,
>> 
>> I'm wondering how I can check for and set a compiler version??  The
>> reason I want to do this is because I have both gcc 2.95 and gcc3
>> installed and want to be able to choose between them when I
>> configure the project.

Sam> CC=gcc3 CXX=g++3 ./configure

Sam> or

Sam> CC=gcc CXX=g++ ./configure

Sam> Should work fine.

Using the following is better:

./configure CC=gcc CXX=g++



reply via email to

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