Skip to contentSkip to conversation

Compilation options

DISCUSSION Uwaysi Bin Kareem 2 participants 2 messages Oct 22, 2012

lore
Share & tools
lore
#0 lore raw

Hiya, I compiled the kernel with V=1 and noticed "-mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx". Is there a way to turn this on? Alt, in what file is this string, so I can try without it.

Peace Be With You.

#1 lore raw
Quoted 1 line · Uwaysi Bin Kareem

Hiya, I compiled the kernel with V=1 and noticed "-mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx". Is there a way to turn this on? Alt, in what file is this string, so I can try without it.

Please teach your mail program to wrap lines around column 70-72. thanks.

That string is located in arch/x86/Makefile:

# prevent gcc from generating any FP code by mistake
KBUILD_CFLAGS += $(call cc-option,-mno-sse -mno-mmx -mno-sse2 -mno-3dnow,)
KBUILD_CFLAGS += $(call cc-option,-mno-avx,)
Signature · 1 line
~Randy