Operating System - Linux
1752591 Members
3811 Online
108788 Solutions
New Discussion

Porting code from unix to linux

 
abhishekjain_48
Advisor

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

AbhishekJ

 

 

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

1 REPLY 1
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.