>>>>> "Sam" == Sam Liddicott <[EMAIL PROTECTED]> writes:

>> -----Original Message----- From: Adam Tee
>> [mailto:[EMAIL PROTECTED]] Sent: 25 April 2002 10:12 To:
>> [EMAIL PROTECTED] 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