Porting code from unix to linux (123 Views)
Reply
Advisor
abhishekjain_48
Posts: 40
Registered: ‎12-20-2012
Message 1 of 2 (123 Views)

Porting code from unix to linux

[ Edited ]

Hi ,

 

We are migrating application code from unix compiled using acc to linux using gcc.

 

Since acc is older complier so compiling code now using gcc is giving lot of errors which is as expected.

 

Can anyone suggest any tool that will scan code offline and point out errors before actually we compile code using gcc

as correcting each error and then recompilation of code takes hours.

 

So if some code scan tool is available then we can resolve bugs offline before compiling and save time.

 

Thanks & Regards

AbhishekJ

 

 

P.S. This thread has been moved from Application Integration Forum to Linux > sysadmin. - Hp Forum Moderator

Acclaimed Contributor
Dennis Handly
Posts: 25,292
Registered: ‎03-06-2006
Message 2 of 2 (98 Views)

Re: Porting C++ code from HP-UX to Linux

>Can anyone suggest any tool that will scan code ...

 

I'm assuming you're using aCC6 on an Integrity server?

If so, why not compile with +strict?

 

Otherwise just compile with g++ and fix your errors.

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.