Function of --enable-strip ?

Discussion about official Mozilla Firefox builds
Post Reply
aebrahim
Posts: 1234
Joined: November 10th, 2002, 2:47 am
Location: Hong Kong
Contact:

Function of --enable-strip ?

Post by aebrahim »

What does --enable-strip do exactly? I know it strips libraries and executables, but I'm not sure what this means. Can someone explain? Does it increase performance? If I specific --enable-strip do I also need to explicitly specific --enable-strip-libs or is that implied?

Thanks.
Necos
Posts: 4
Joined: April 5th, 2003, 3:32 pm

About --enable-strip

Post by Necos »

From what I understand, stripping removes debugging information from the symbol table of libraries. I did a bit of google'ing for stuff in C/C++ (not too long). Since you're removing debugging information (read: symbols) from libraries (and executables), it makes everything much smaller. This would be really silly to do on something like system libraries (debugging symbols are needed to compile things, it seems). It seems logical that --enable-strip enables --enable-strip-libs (i'm guessing --enable-strip strips both libs and executables). I still have both of them in my mozconfig (just in case).
Post Reply