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:
command before doing a kernel compile for instance to assure that the newer compiler is used?
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
|All times are GMT -5. The time now is 10:14 AM.|