meta data for this page
This is an old revision of the document!
Linker
- –as-needed - do not load symbols from libraries specified in command line when they are not needed. This option couses many unresolved symbol errors when order of libraries specified in command line is not correct. http://savannah.gnu.org/forum/forum.php?forum_id=5655
- –hash-style - insert faster GNU hash table instead of SysV table. But looses compatiblity with older systems. http://stackoverflow.com/questions/11741816/only-one-hash-style-in-embedded-linux-why
Optimize per function
int foo(int i) __attribute__((optimize("-O3")));