gcc Pentium3 flags in menuconfig
when I build the Linux kernel for a Pentium3 I get '-march=i686' as compiler option in the build process while I would have expected '-march=pentium3'. And why is the option -O2 used instead of -O3?
Do I have to correct this manually? Regards, Kristian Keller |
These settings are set in the variable $CFLAGS
Here is some background from my /etc/make.conf file: Code:
# Host and optimization settings |
The options in the makefile in /usr/src/linux/arch/i386 should be set cpu specific but they aren't, I changed the appropriate definition to 'pentium3', likewise for other processors.
The optimization -O3 results in a larger kernel as well, that doesn't seem to fit on a floppy and therefore fails to link. Probably not so interesting anyway. |
All times are GMT -5. The time now is 10:05 PM. |