C Board  

Go Back   C Board > Platform Specific Boards > Linux Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 08-20-2009, 02:54 AM   #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
Karthik1 is offline   Reply With Quote
Old 08-20-2009, 05:54 AM   #2
Jaxom's & Imriel's Dad
 
Kennedy's Avatar
 
Join Date: Aug 2006
Location: Alabama
Posts: 872
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.
Kennedy is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

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


All times are GMT -6. The time now is 02:28 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22