www.nico.schottelius.org/software/cinit/browse_source/cinit-0.0.8/doc/optimising.cinit
Nico Schottelius 423ba10303 import cinit from unix.schottelius.org
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-09-16 12:53:45 +02:00

23 lines
621 B
Text

--------------------------------------------------------------------------------
optimising cinit,
Nico Schottelius, 2005-06-09 (Last Modified: -)
--------------------------------------------------------------------------------
0. Warning
1. gcc options
0. Warning
Any optimisation may cause cinit (not just cinit, but any program) to fail
and to do mysterious things instead of expected actions.
1. gcc options
gcc knows of several optimisation flags. Mostly interesting is -Os for small
size (this is btw broken on gcc-3.4.3 on x86!).
One can also pass -Werror so that any warning makes the compile to fail.