System Administration
Showing results for 
Search instead for 
Do you mean 

Porting code from unix to linux

Highlighted

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

1 REPLY
Acclaimed Contributor [Founder]

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.