cancel
Showing results for 
Search instead for 
Did you mean: 

Compiling whith option -g in HP-UX 10.20

SOLVED
Highlighted
snardisp
Occasional Contributor
Solved!

Compiling whith option -g in HP-UX 10.20

Hello, I have the following question:
In our system, all the binaries are compiled with option -g. Now, we want to improve the memory use... If we eliminated the option -g, diminishes the size of the one in memory ???

Thank you very much !!!
Sergio.
1 REPLY 1
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: Compiling whith option -g in HP-UX 10.20

The -g option will make the executable files considerably larger due to the added debugger information but the impact on the size of the runtime memory usage will be minimal. If you need to conserve lots of memory, you need to look elsewhere.
If it ain't broke, I can fix that.