LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Blackbox compile -g ?? (https://www.linuxquestions.org/questions/linux-software-2/blackbox-compile-g-203653/)

Ikebo 07-11-2004 04:52 AM

Blackbox compile -g ??
 
When recompiling Blackbox I noticed that the default configured Blackbox .65 makefile include -g to compile all of the modules. The debugging information adds another 4 megs to the size of the binary.

Is there a specific reason it chooses to do this by default? (or was it something configure picked up from my setup maybe?)

Even when I modify all the makefiles and remove the -g and replace -O2 with -Os I still get a binary that is larger than the one distributed with my distro (Slackware 10), 385k vs 356k. But I can think of a few things that could cause this (different g++ version, removed features during configure, the #include <cassert> I had to add to some of the source files that gave 'assert undefined' errors, etc).

But I was blown away when I got a 4 meg binary from the initial ./configure and ./make.


All times are GMT -5. The time now is 02:10 AM.