Operating System - HP-UX
1832650 Members
2974 Online
110043 Solutions
New Discussion

Compiling whith option -g in HP-UX 10.20

 
SOLVED
Go to solution
snardisp
Occasional Contributor

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.