GCC change
hi,
I'm trying to compile a program under gcc-2.95 instead of the gcc-3.3.5 I have. I tried CC=gcc-2.95 but the version of the gcc doesn't change. Anyone knows how could I compile using the 2.95? thanks Bandrei |
Does your makefile use the $CC environment variable? Some may have 'gcc' hardcoded.
|
Quote:
Also, if the program uses a ./configure script, you could try passing it a --with-gcc=/path/to/old/gcc option. |
In the end I used
alias gcc=gcc-2.95 and it worked well. thanks a lot |
Glad you got it working, and thanks for posting your solution so that it may help others in the future!
|
All times are GMT -5. The time now is 08:57 PM. |