Intel C Compiller 10 and linux 2.6.22

Submitted by Anonymous
on July 11, 2007 - 4:11am

Hi everyone

Have someone tried to compile latest kernel with ICC 10? Everything's OK until asm-offset.s file in arch/i386/kernel/. ICC ignores headers definition and brakes compilation. What HOSTCCFLAGS should I use to compile kernel?

Use CFLAGS, not HOSTCFLAGS

on
July 11, 2007 - 8:36pm

No idea about the exact flags - I'd read ICC docs about gcc compatibility, and set those flags in CFLAGS (not HOSTCFLAGS, that's about binaries to be _run_ on the host, like the programs for menuconfig).

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.