How to tell to a 'configure' file to compile with a specified version of g++ ?
Thanks.
g++ is used to compile C++ program. gcc is used to compile C program.
In a bash shell you can do something like this:
./configure CC=gcc-2.95
There will be similar techniques for other shells but I couldn't help you with the specifics. If your project is C++ the variable you need to define is CXX
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With