-   Linux - Software (
-   -   export CC=/usr/bin/gcc-3.2 - switch gcc version? (

ferreter 08-19-2003 01:32 PM

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?


rch 08-20-2003 01:07 AM

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 08:28 AM.