3 ms·
> the bad idea circus is in town... What a fun post! > The object files are so large because the kernel is initially compiled with debug symbols. Is there a
by imoverclocked 4y ago
> the bad idea circus is in town...
What a fun post!
> The object files are so large because the kernel is initially compiled with debug symbols.
Is there a way to build without producing debug symbols in the first place?
- arthurcolle 4y ago> Is there a way to build without producing debug symbols in the first place? Probably takes all of 15 minutes to identify the flags needed and then run the new makefile lol
- maccard 4y agoYou can pass -g0 to gcc to do so [0] [0] https://gcc.gnu.org/onlinedocs/gcc/Debugging-Options.html https://gcc.gnu.org/onlinedocs/gcc/Debugging-Options.html
- glandium 4y agoOr remove -g from the flags already passed, since the compiler actually defaults to not producing debug info.