Porting from AIX/RT to AIX PS/2.

Peter Blemel cs3631bs at hydra.unm.edu
Wed Jul 11 04:22:57 AEST 1990


I am trying to port C and f77 code to the PS/2 running AIX. The IBM guys
loaned me one of these boxes, but had no manuals. Worse yet, no one seems
to know anything about the compilers. 

I have been told there is no f77 or cc, just vsfort and vsc. There also seems
to be no make, which is making my life miserable at best. I have figured out
that one must invoke vsfort, vspass2, and vspass3 in order to produce a .o
file (IBM talks about some vsf command, but a "find / -name "*vsf*" -print"
can only find the stuff in /lib.

Now that I've gotten this far, I am trying to link. I use ld with a -l for
every .a file in /lib/libvs*.a, but there are C symbols that remain unresolved
(things like printf()). I can not for the life of me find the standard C
library.

I find it very hard to believe that this is all IBM has to offer, especially
with the RT AIX version being as complete as it is (I.e. cc and f77 and make).
Would someone please be so kind as to 

a) send product numbers for f77, cc, make.
b) tell me at least how to compile and link a simple fortran program.

Peter Blemel



More information about the Comp.unix.aix mailing list