In the past there was an effort to use the Intel C++ compiler on Red Hat to compile the 2.6.18 kernel. For the last few months I have been working (along with some friends) with Intel development to get a more recent kernel source going that will compile under Intel's high performance C++ compiler. We have finally got it to compile, Still a work in progress but I have put up a mirror with the modified source and the special wrapper needed to compile it with:
www.linuxdna.com
Feel free to download it and test it yourself!
Right now we are using version 10.0.018 of the Intel compiler to compile with so you will need at least this version or higher to compile with.
***If you are using a higher version of the compiler to work with you will need to make the following changes to a few lines in the source:
1.) Makefile, add libirc_s.a as follows:
--start-group $(vmlinux-main) /opt/intel/cc/10.1.021/lib/libirc_s.a --end-group \
(in the source now it is 10.1.018 - replace with whatever version you are using... in this case 10.1.021)
2.) Edit arch/x86/boot/Makefile,find these lines:
LDFLAGS_setup.elf := -T
$(obj)/setup.elf: $(src)/setup.ld $(SETUP_OBJS) FORCE
$(call if_changed,ld)
Then add: /opt/intel/cc/10.1.021/lib/libirc_s.a after "FORCE".
(in the source now it is 10.1.018 - replace with whatever version you are using... in this case 10.1.021)
3.) In ./scripts/Makefile.modpost,
quiet_cmd_ld_ko_o = LD [M] $@
cmd_ld_ko_o = $(LD) $(LDFLAGS) $(LDFLAGS_MODULE) -o $@ \
- $(filter-out FORCE,$^)
+ $(filter-out FORCE,$^) /opt/intel/cc/10.1.018/lib/libirc_s.a


Reply With Quote
