This page is a wiki. Please login or create an account to begin editing.


IBM XL Fortran Compiler 8.1 BETA for MacOS X


Rating:
Your rating: None Average: 5 (3 votes)
Category:
Year released:
Author:
Publisher:
#1
[www].se [ftp].se [mirror].us
IBM_XL_Fortran_MacOS_X_Compiler_8.1_BETA.iso (75.63 MB)
MD5: 803bf249cb70aeb305c29c3863a2a131
For Mac OS X
Emulation
Guides on emulating older applications

The IBM XL Fortran Compiler for MacOS X.

Compatibility
Architecture: PPC

MacOS X 10.4, 10.5. MacOS X 10.5 requires you to create a dummy crtbegin.o in /usr/lib. You can use "cat /dev/null | gcc -arch ppc -arch i386 -arch ppc64 -x c -o crtbegin.o -c -" and copy the resulting object in /usr/lib.

Comments

word5.1addict's picture
by word5.1addict - 2020, May 19 - 5:59pm

After installing one is supposed to run
$ sudo /opt/ibmcmp/xlf/8.1/bin/new_install
, but this failed for me on 10.4.11 and I had to tell xlf where to find gcc by hand by running
$ sudo /opt/ibmcmp/xlf/8.1/bin/xlf_configure -gcc /usr -install
.
Even with that I continually got an error message while compiling:
$ xlf hello.f -o hello
** _main === End of Compilation 1 ===
1501-510 Compilation successful for file hello.f.
/usr/bin/ld: -L: directory name missing

The fix was to edit /etc/opt/ibmcmp/xlf/8.1/xlf.cfg to remove an extraneous ",-L":

gcc_libdirs = -L/usr/lib/gcc/powerpc-apple-darwin9/4.0.1
* gcc_libdirs = -L/usr/lib/gcc/powerpc-apple-darwin8/4.0.1,-L