how to make use of more memory on HP-UX when comiling with gcc

John Love-Jensen eljay@adobe.com
Wed Sep 5 16:24:00 GMT 2007


Hi Cesar,

Are you using a GCC that is built to produce 32-bit targets, or 64-bit
targets?  32-bit targets (ILP32) cannot access 32 GB of memory.

Is ulimit constraining the running application?

Is the malloc returning NULL?  Does the code check?

What is the -N option?

Can you provide a small, compilable, complete source code that exhibits the
problem?

Thanks,
--Eljay



More information about the Gcc-help mailing list