GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing kroartem.wordpress.com — gcc: decrease binary size, eliminate unused functions/code gcc: decrease binary size, eliminate unused functions/codeIn SuperTuxKart, we have ~80 unused functions and some of them are really big. As I’m not sure whether they’re needed or not, I’ve googled for special gcc options. Some links so I don’t forget: http://gcc.gnu.org/onlinedocs/gnat_ugn_unw/Compilation-options.html http://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#index-ffunction-sections-973 http://gcc.gnu.org/onlinedocs/gcc/Link-Options.html#index-Wl-1104 By default gcc won’t eliminate unused data/functions, but we can do it manually. As a result – decreasing ‘supertuxkart’ binary by 80kb. Not epic, especially when you know that binary is 11mb in size. Like Loading... Related
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
|
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |