On 2010-Jan-03 22:52:46 +0000, "Dr. David Kirkby" <david.kir...@onetel.net> wrote: >SAGE_FORTRAN_LIB=/path/to/fortran/libs/sparcv9/libgfortran.so >(SPARC ) > >SAGE_FORTRAN_LIB=/path/to/fortran/libs/amd64/libgfortran.so >(Solaris x86/x64)
These paths seem likely. You also need to ensure that you install the 64-bit version of the library (since it's probably a different package to the 32-bit version). >Normally Solaris knows the 64-bit versions of libraries are in 'sparcv9' or >'amd64' directories, but in this case, I believe the fact we are specifying an >absolute path to a file, we should specify the 64-bit library on 64-bit builds. This is correct. The linker magic that looks in the sparcv9 or amd64 subdirectories when linking 64-bit code only applies to system directories. If you explicitly specify a linker directory (via -L/-rpath) or pass a library by pathname then you have to specify the pathname of the wanted version of the library. I find this a PITA. As I've mentioned before, and despite claims otherwise, Solaris behaves very much a 32-bit OS with 64-bit support tacked on. -- Peter Jeremy
pgp1mRIHbBStx.pgp
Description: PGP signature