[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to change gcc in Debian - to compile with older version?



Drasko Draskovic wrote:
> I have problem compiling 2.4.28 vanilla kernel, which
> I need because I want to install LinSec patch that
> goes with this kernel version. How to enable having
> two (or more) gcc versions on my Debian host, and
> switch between them when necessary? 

There is normally no switch necessary, and the systems default compiler
should remain the same. Selecting a special compiler for a specific
package is usually done via

export CC=gcc-2.95

in the build shell. (Sidemark: At least generic 2.4.28 should compile
fine with gcc-3.3/gcc-3.4)


Thiemo



Reply to: