Re: passing my own compiler options into linux kernel compiling

From: Martin Zwickel (martin.zwickel@technotrend.de)
Date: Thu Jul 24 2003 - 03:01:11 EST


On Thu, 24 Jul 2003 09:16:17 +0200
Michal Semler <cijoml@volny.cz> bubbled:

> Hello,
>
> I use gcc-3.3 and I would like compile my kernel with flags:
>
> -O4 -march=pentium3 -mcpu=pentium3
-O4 is useless. max is -O3

try this file: arch/i386/Makefile
there is something like:

ifdef CONFIG_MPENTIUMIII
CFLAGS += -march=i686
endif

maybe this helps...

Regards,
Martin

-- 
MyExcuse:
Arcserve crashed the server again.

Martin Zwickel <martin.zwickel@technotrend.de> Research & Development

TechnoTrend AG <http://www.technotrend.de> - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jul 31 2003 - 22:00:22 EST