HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
System Administration
Showing results for 
Search instead for 
Did you mean: 

Porting code from unix to linux


Porting code from unix to linux

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




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


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.