PDA

View Full Version : compiling with compat-gcc32



netjrc
3rd August 2005, 06:43 PM
How can I can compile using compat-gcc32.

I don't know how to pass the CC=gcc32 option when I want to ./configure -> make -> make install.

dwisianto
3rd August 2005, 06:51 PM
CC=gcc32 ./configure ....

OR

You can also change the CC variable in makefiles. If its written extra
correctly then you can do

make CC=gcc32 target..

Belegdol
3rd August 2005, 06:52 PM
also you might try:
export CC=gcc32
./configure

netjrc
4th August 2005, 07:13 PM
also you might try:
export CC=gcc32
./configure

Thank you all...

One more question (if I may)... This last options will make gcc32 my default compiler, correct?
(I'm new at this)

Twey
4th August 2005, 07:20 PM
Only until you close your current shell.
You can also use ./configure CC=gcc32 or ./configure --cc=gcc32. For C++ apps you'll also want to set CXX to g++32, by any method above.