add cinit-0.3pre15
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
parent
36de902919
commit
440caeb555
1013 changed files with 99995 additions and 0 deletions
|
|
@ -0,0 +1,33 @@
|
|||
--------------------------------------------------------------------------------
|
||||
optimising cinit,
|
||||
Nico Schottelius, 2005-06-09 (Last Modified: -)
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
0. Warning
|
||||
1. gcc options
|
||||
2. striping
|
||||
|
||||
|
||||
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.
|
||||
|
||||
The current standard for cinit is: (see CFLAGS in the Makefile).
|
||||
|
||||
|
||||
2. striping
|
||||
|
||||
With strip(1) you can remove specific sections of object files.
|
||||
You have to find out, which ones you can remove safely
|
||||
(for instance with objdump(1)).
|
||||
|
||||
The current standard for cinit is: (see STRIP in the Makefile)
|
||||
Loading…
Add table
Add a link
Reference in a new issue