LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-11-2004, 04:52 AM   #1
Ikebo
Member
 
Registered: Jun 2004
Location: Michigan, USA
Distribution: Ubuntu
Posts: 77

Rep: Reputation: 15
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ntop compile/post-compile problem? tjb Linux - Software 3 12-28-2004 04:22 PM
BlackBox 0.65.0 compile error window.cc Lock0ut Slackware 1 12-11-2004 01:15 PM
trying to compile acidlaunch in blackbox thewizard20 Linux - Newbie 2 11-02-2003 05:05 PM
Blackbox large compile Mr. Eek Linux - Software 1 05-08-2003 10:20 PM
Blackbox!? JimmyX01 Linux - Newbie 5 01-09-2002 04:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration