export CC=/usr/bin/gcc-3.2 - switch gcc version?
So, if I needed to have my default compiler be gcc and I have two versions (3.2 and 2.95) can I just use the:
export CC=/usr/bin/gcc-3.2 command before doing a kernel compile for instance to assure that the newer compiler is used? Thanks. |
2.95 is the stable and most reliable version of gcc, and I would not recommend you to use 3.2 as some errors may pop up,you can change the compiler in many ways (using alias,exporting as you did )
or better still edit the top level makefile in the line CC=gcc edit to make CC=gcc3.2 |
All times are GMT -5. The time now is 01:17 PM. |