Operating System - HP-UX
1751797 Members
5294 Online
108781 Solutions
New Discussion юеВ

Re: gcc: need to understand the Makefile

 
Dennis Handly
Acclaimed Contributor

Re: gcc: need to understand the Makefile

>I want to run the tool cadvise on these source files and generate warnings from it.

(Steven: That was one of the zebras I was thinking about. :-)
Any reason you want to do that? Isn't gcc perfect? :-)

>I have tried cadvise with gcc but it doesn't put the warnings in the database

It can only do that with the warnings (+wlint) from aCC6. Either from "cadvise report" on the make output, or from its own static analysis tool that cadvise runs.

>It seems this tools works only with HP C/aCC.

That's the current status.

>I'm confused what to do?

If you can "instrument" and configure gcc to build with HP's cc, you have a chance to use cadvise.

>Steven: I've said it before, and I'll say it again (as needed): As Mr. Sumner advised Bunny in "Desk Set", "Never assume."

You've never heard of immortal words "Trust but verify"? :-)
Shruti Doval (HP)
New Member

Re: gcc: need to understand the Makefile

Hi,

The upcoming release of cadvise (C.02.05), in july, will provide support for using gcc/g++ with cadvise. We will let you know when the bits the available for download.

Regards,
Shruti
Shruti Doval (HP)
New Member

Re: gcc: need to understand the Makefile

Hi Robin,

Sorry for not sending you a release notification before. Did you try the new version of cadvise with support for gcc? If not, you can download the same from www.hp.com/go/cadvise.

Regards,
Shruti