Terry Westley
1999-Oct-25 18:01 UTC
[R] need help with building R on Solaris without using shared FORTRAN libraries
I need to build R (we're currently at R version 0.64.0) for Solaris 2.5.1 on SunSPARC without using the libF77.so and libsunmath.so shared libraries. I'd like to use statically linked libraries instead. Nothing I have tried has worked as measured by executing the command "ldd R.binary" to see whether it references the shared libraries or not. This is what I've tried: 1) Modified config.site to uncomment the FPICFLAGS line and set the flag to the following variations: FPICFLAGS FPICFLAGS="" FPICFLAGS=" " 2) Set FPICFLAGS as an environment variable before running configure. 3) Modified all Makefiles (after configure) to remove references to -PIC. This builds OK but still shows that R.binary is referencing those shared libraries. 4) Modified R.binary link command in src/main/Makefile to link with libF77.a and libsunmath.a. R.binary still wants to use those shared libraries. Could this be built into f77? Help !!! -- Terry J. Westley, Software Systems Engineering Supervisor Veridian Engineering, Calspan Operations P.O. Box 400, Buffalo, NY 14225 twestley at buffalo.veridian.com http://www.veridian.com -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Thomas Lumley
1999-Oct-25 18:37 UTC
[R] need help with building R on Solaris without using shared FORTRAN libraries
On Mon, 25 Oct 1999, Terry Westley wrote:> I need to build R (we're currently at R version 0.64.0) for > Solaris 2.5.1 on SunSPARC without using the libF77.so and > libsunmath.so shared libraries. I'd like to use statically > linked libraries instead. > > Nothing I have tried has worked as measured by executing > the command "ldd R.binary" to see whether it references > the shared libraries or not. >I think you want the flag -Bstatic if you're linking with Sun compiler/linker or -static if you're linking with gnu tools. Thomas Lumley Assistant Professor, Biostatistics University of Washington, Seattle -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._