Setting GCC version to 3.3
doko at ubuntu.com
Sun Mar 12 20:37:34 UTC 2006
Michael Williams schrieb:
> I have inherited a scientific program which depends on an ancient
> version of the Blitz C++ library and Fortran 77. All attempts to rebuild
> the system with gcc 4.0 have failed, so I have installed gcc-3.3 and
> g++-3.3. The program builds with these versions of gcc, so I would like
> to use gcc by default on my system.
use CC=gcc-3.3 CXX=g++-3.3 F77=g77-3.3 ./configure ...
More information about the ubuntu-users