Re: Building for IBM AIX 5 on Windows?



Paul Pluzhnikov wrote:
Frank Fegert <fra.nospam.nk@xxxxxx> writes:


Neil W wrote:

I need to build a C/C++ project to run on an IBM RS-6000 with AIX 5. What
are my options if I only have Windows? Is there some compiler that runs on
Windows but kicks out binaries for AIX / RS-6000 ? Thanks for shedding any
light.

gcc can be set up to be a cross compiler. See the docs
at http://gcc.gnu.org. But me thinks even then you'll
need a native AIX system for testing purposes.

You'll also need to get native AIX/RS-6000 libraries (e.g. libc.a)
from somewhere ...

Thanks for the pointer, Paul! I completely forgot about
the libs ;-) Another thought: Since one does not have the
AIX 'as' and 'ld' isn't there also a good change of getting
broken binaries? I've never tried using 'gas' and 'gld' on
AIX, since i already had once been in that particular hell
with Solaris ;-)

Regards,

Frank
.



Relevant Pages

  • Re: 5.1 & 5.2 binary compatibility
    ... All AIX level are backwards binary compatible....but, ... compiler and the processor the binary was ... models in that processor family (POWER, POWER2, POWER3 or PowerPC). ...
    (comp.unix.aix)
  • Multithreaded program core dumps
    ... I am complete newbie to AIX. ... When I run a program with uses threads it core dumps. ... The version of the compiler is VisualAge C++ Professional / C for AIX ...
    (comp.unix.aix)
  • Re: AIX developer access or hardware to run AIX (Europe)
    ... machine as well as on any machine still running aix v3.2. ... successfull for the GCC. ... Restore a mksysb of an AIX 5.1 machine which had already an vacpp v6 ... It might easier with the older C compiler because afaik they do not ...
    (comp.unix.aix)
  • RE: Informix, AIX 5.1 -- no joy w/ AIX C or gcc
    ... I did use IBM's vac AIX compiler, the only difference I can see is that I'm ... My perl -V is follows. ... The information contained in this communication may be confidential, ...
    (perl.dbi.users)
  • SRC for linux rpms?
    ... Subject: AIX C Compiler Installation ... Do you Yahoo!? ...
    (AIX-L)