Thread: Migrating C Application from AIX to Linux

  1. #1
    Registered User
    Join Date
    Aug 2009
    Posts
    1

    Migrating C Application 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:
    gcc -v
    Thread model : POSIX
    Version : 3.3.3

    Any thoughts is highly appreciated.....

    Thanks
    Karthik C

  2. #2
    {Jaxom,Imriel,Liam}'s Dad Kennedy's Avatar
    Join Date
    Aug 2006
    Location
    Alabama
    Posts
    1,065
    Why do you want to cross compile for the Linux box? Why not just compile it native? As far as what is wrong with the compile, if you post your output it will give us more to work with. Also, let us know how you compile it on the AIX system.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. WIN32 API and Linux... *shudder
    By parad0x13 in forum C++ Programming
    Replies: 4
    Last Post: 07-24-2008, 07:27 PM
  2. How to run windows based application in linux
    By Bargi in forum Linux Programming
    Replies: 5
    Last Post: 02-07-2008, 12:46 AM
  3. Linux for Windows!
    By Strut in forum Linux Programming
    Replies: 2
    Last Post: 12-25-2002, 11:36 AM
  4. ?writing bug in a multi-process Linux server application?
    By Arrummzen in forum C Programming
    Replies: 7
    Last Post: 12-14-2002, 11:53 AM
  5. Linux? Windows Xp?
    By VooDoo in forum Linux Programming
    Replies: 15
    Last Post: 07-31-2002, 08:18 AM