lkml.org 
[lkml]   [2001]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectQ: Optimisation
Date
Hello,
if I want to compile a complete linux system
with the new-style CFLAGS and kernel opts so
that it RUNS on 486DX and is OPTIMISED for
Pentium, which options do I have to choose in

- kernel config (in 2.0.33 I used 586 for this, but since
2.2 I can't be sure that it runs on 486 then)

- kernel CFLAGS
- user CFLAGS

I think of CFLAGS=-march=i586 -mcpu=i486 -Os -fomit-frame-pointer -Wall

Do programmes compiled so really run on a 486 w/ FPU, and can I use
these CFLAGS (-Os e.g. instead of -O2) for the kernel?

I really want _small_ code (e.g. for floppy systems) and it doesn't
need to be the super-fastest, but it simply has to work.

TIA
-mirabilos

-
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 12:52    [W:0.033 / U:2.032 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site