Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Mar 2003 19:29:07 -0600
From:      "Douglas K. Rand" <rand@meridian-enviro.com>
To:        freebsd-alpha@freebsd.org, freebsd-emulation@freebsd.org
Subject:   Compaq FORTRAN
Message-ID:  <874r6hi8po.wl@delta.meridian-enviro.com>

next in thread | raw e-mail | index | archive | help
I've been trying to get the Linux version of Compaq FORTRAN compiler
to run on our FreeBSD Alpha box, with limited success.

Right now I'm struggling with some shared libraries. The FORTRAN
compiler need the Compaq Portable Math Library (cpml) and Compaq
Extended Math Library (cxml) RPMs. The front end executables
(f90_split, fort, fpp, fpr, and fsplit) are all dynamicall linked:

  ELF 64-bit LSB executable, Alpha (unofficial), version 1 (GNU/Linux), dynamically linked (uses shared libs), stripped

But the RPMs for the cpml and cxml libraries show up with empty .so
files. I found instructions on Compaq's site that says the RPM has
scripts to re-build the .so files on installation. OK, so I /think/
I've got the .so files rebuilt with:

$ ld -shared -o libcpml_ev6.so -soname libcpml.so -whole-archive libcpml_ev6.a -no-whole-archive -lots
$ ld -shared -o libcxml_ev6.so -soname libcxml.so -whole-archive libcxml_ev6.a -no-whole-archive -lfor -lUfor -lFutil -lcpml -lots
$ file libcpml_ev6.so
libcpml_ev6.so: ELF 64-bit LSB shared object, Alpha (unofficial), version 1 (GNU/Linux), not stripped

But I have problems using them:

$ ldd /usr/lib/compaq/cfal/f90_split
/usr/lib/compaq/cfal/f90_split:
/usr/lib/compaq/cfal/f90_split: error while loading shared libraries: /usr/lib/libcpml.so: ELF file OS ABI invalid
/usr/lib/compaq/cfal/f90_split: exit status 127

Can anybody provide some direction? It feels like I'm close to getting
the FORTRAN compiler working, and if I can, I don't have to install
Linux on this box.  :)



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?874r6hi8po.wl>