Skip to content

need help with building R on Solaris without using shared FORTRAN libraries

1 message · Brian Ripley

#
(However, R is currently at 0.65.1.)
FPICFLAGS is only relevant to building shared libraries, that is in
the packages and not in R.X11 (as now). You do need it to build
the shared libraries like modreg.so.
Yes, it could. You need to get the order right, or link with your C
compiler, as current versions of R do.

I really think this would be much easier in 0.65.1. There (Solaris
2.6) all I had to do was to alter Makeconf and etc/Makeconf to have

FLIBS = -L/usr/local/lib -L/usr/ccs/lib /opt/SUNWspro/SC4.0/lib/libM77.a 
/opt/SUNWspro/SC4.0/lib/libF77.a /opt/SUNWspro/SC4.0/lib/libsunmath.a -lm -lcx

Your setup may differ in detail.