Q: Optimisation

From: mirabilos (eccesys@topmail.de)
Date: Mon Apr 30 2001 - 06:12:19 EST

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.


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 : Mon Apr 30 2001 - 21:00:24 EST