This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Kernel Optimization and RH 6
- To: Rolando López <ralch at infovia dot com dot gt>
- Subject: Re: Kernel Optimization and RH 6
- From: Jamie Lokier <egcs at tantalophile dot demon dot co dot uk>
- Date: Tue, 13 Jul 1999 19:28:33 +0200
- Cc: egcs at egcs dot cygnus dot com
- References: <01a201beccab$cb630250$1687eaa8@infovia.com.gt>
Rolando López wrote:
> Are the lines below the best option to compile a 2.2.x kernel with egcs running
> on a Pentium II?
>
> -O6 -mpentiumpro -march=pentiumpro -malign-function=2
> -malign-jumps=2 -malign-loops=2 -fomit-frame-pointer
> -fstrength-reduce
You might try -mregparm=1 though you have to modify the kernel a little
in order to get it to run :-)
(No I don't have patches).
-- Jamie