Thanks Jeff, Nathan, and Luis, Your comments were very informative and much appreciated.
Respectfully, Eric -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jeff Newmiller Sent: Tuesday, October 01, 2002 8:08 PM To: Luis.F.Correia Cc: [EMAIL PROTECTED] Subject: RE: [leaf-devel] FAQs sec13: Developer Questions Answered On Tue, 1 Oct 2002, Luis.F.Correia wrote: > When you compile a C or C++ program, by default the compiler adds > symbols Yes. > and debugging information. No, this comes from using "-g". > This is good during development > because you can debug a program going step by step, seeing the original > lines of C code. > > After everyhing is OK, you either compile the program without debug > info, or strip the program. Some things can get stripped even if there is no debug info. http://www.geocrawler.com/archives/3/7232/2001/3/0/5453732/ Try using different options and/or stripping, and then reviewing the contents of the binary with objdump to get a feel for what gets removed. > Since most of us just want to recompile things, it is easier to strip > the final binary. There actually is shrinkage to be obtained even if you didn't use "-g" on the final compile, but yes, stripping before distribution is usually easiest. > > Hope this info helps you out... > > -----Original Message----- > From: Eric B Kiser [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 01, 2002 3:31 PM > To: [EMAIL PROTECTED] > Subject: [leaf-devel] FAQs sec13: Developer Questions Answered > > > Howdy All, > > On the FAQ's page under the section: FAQs sec13: Developer Questions > Answered, there is listed, "How do I compile programs to run under LRP?". > This is where I got the command to shrink my zebra packages down to a more > manageable size. > > Can anyone explain, exactly what the command strip [program-name] actually > does. I know it says, "removes unnecessary symbols and debugging > information," but what does this mean. > > Thanks in advance, > Eric > > > > ------------------------------------------------------- > This sf.net email is sponsored by: DEDICATED SERVERS only $89! > Linux or FreeBSD, FREE setup, FAST network. Get your own server > today at http://www.ServePath.com/indexfm.htm > > _______________________________________________ > leaf-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/leaf-devel > > > ------------------------------------------------------- > This sf.net email is sponsored by: DEDICATED SERVERS only $89! > Linux or FreeBSD, FREE setup, FAST network. Get your own server > today at http://www.ServePath.com/indexfm.htm > > _______________________________________________ > leaf-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/leaf-devel > --------------------------------------------------------------------------- Jeff Newmiller The ..... ..... Go Live... DCN:<[EMAIL PROTECTED]> Basics: ##.#. ##.#. Live Go... Live: OO#.. Dead: OO#.. Playing Research Engineer (Solar/Batteries O.O#. #.O#. with /Software/Embedded Controllers) .OO#. .OO#. rocks...2k --------------------------------------------------------------------------- ------------------------------------------------------- This sf.net email is sponsored by: DEDICATED SERVERS only $89! Linux or FreeBSD, FREE setup, FAST network. Get your own server today at http://www.ServePath.com/indexfm.htm _______________________________________________ leaf-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-devel ------------------------------------------------------- This sf.net email is sponsored by: DEDICATED SERVERS only $89! Linux or FreeBSD, FREE setup, FAST network. Get your own server today at http://www.ServePath.com/indexfm.htm _______________________________________________ leaf-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-devel