Re: passing my own compiler options into linux kernel compiling

From: Michal Semler (cijoml@volny.cz)
Date: Thu Jul 24 2003 - 03:50:25 EST


Hi,

-O4 is a feature - for example MPlayer (www.mplayerhq.hu) using it.

Is easyer way of passing these args planned? Editing source every time I
change kernel is not goood way. make oldconfig adding these args is better
way.

Michal

Dne čt 24. července 2003 10:01 jste napsal(a):
> 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

-
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