Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
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

Dennis Handly
Acclaimed Contributor

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.