lkml.org 
[lkml]   [2003]   [Jul]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
FromMichal Semler <>
SubjectRe: passing my own compiler options into linux kernel compiling
DateThu, 24 Jul 2003 10:50:25 +0200
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/

\
 
 \ /
  Last update: 2005-03-22 13:47    [from the cache]
©2003-2010