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

How to force compilerversion



Hi folks, 

for kali-linux I need to build a kernel-module (it is the nvidia kernel 
module).

Make module does not work, as it says, kernel is build with gcc-10 and 
installed is gcc-11.

Setting IGNORE_CC_MISMATCH is set to 1 (which is default).

How can I set the environment, to use the older gcc version once, without 
deinstalling gcc-11 or killing my whole system?

Best regards

Hans



Reply to: