This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: C code working using CC but not with gcc


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]