C code working using CC but not with gcc

Andrew Haley aph@redhat.com
Thu Apr 17 12:20:00 GMT 2008


Michael Haubenwallner wrote:
> On Thu, 2008-04-17 at 09:30 +0100, Andrew Haley wrote:
>> gkarthi29 wrote:
> 
>>> But this is code was working fine in AIX server and we ported and compiled
>>> the same in HP we meet with Memory Fault error.
> 
>>> Do you have any solution for this?
>> You need to run Valgrind's memory checker on your code.
>> http://valgrind.org/
> 
> Just to guard gkarthi29 from trying valgrind on HP-UX:
> Right now, valgrind only runs on Linux, and I've not seen any porting
> plans yet...

Right, I should have said that.  What I should have said was that it
ought to be possible to run the code under Valgrind on Linux, and
that will probably be useful.

Thanks,
Andrew.



More information about the Gcc-help mailing list