Migration of C Apps from AIX to LINUX

Hi All,

I am currently facing new problem of migrating C(c language) application from AIX machine to Linux machine. We are using GCC to compile the source code..

But facing with the compilation issues, with lot of GCC C libs differing between AIX box to Linux box...

Pls help me providing the cross compiler for both AIX, LINUX...else help me provide how to solve this issue.

details of AIX --

h /u/gmunger: which gcc
/usr/bin/gcc
h /u/gmunger: gcc -v
Reading specs from /opt/freeware/lib/gcc-lib/powerpc-ibm-aix5.2.0.0/3.3.2/specs
Configured with: ../configure --with-as=/usr/bin/as --with-ld=/usr/bin/ld --disable-nls --enable-languages=c,c++ --prefix=/opt/freeware --enable-threads --disable-shared --enable-version-specific-runtime-libs --host=powerpc-ibm-aix5.2.0.0
Thread model: aix
gcc version 3.3.2
h /u/gmunger:

Details of LINUX box:
HP UNIX GCC .
Thread model : POSIX

Thanks
Karthik C

Bumping up posts or double posting is not permitted in these forums.

Please read the rules, which you agreed to when you registered, if you have not already done so.

You may receive an infraction for this. If so, don't worry, just try to follow the rules more carefully. The infraction will expire in the near future

Thank You.

Proceed here:

http://www.unix.com/aix/116906-migrating-c-application-aix-linux.html\#post302343991

The UNIX and Linux Forums.