Displaying 1 result from an estimated 1 matches for "151a2".
Did you mean:
1512
2012 Apr 06
1
Building R on Solaris (OpenIndiana) with gcc 4.6.2 for amd64 target - relocation problems solved
...different
ways, currently with relocation errors for libRblas.so.
To fix it: add '-shared' to the SHLIB_LDFLAGS, SHLIB_CXXLDFLAGS and
SHLIB_FCLDFLAGS before starting configure.
So the complete set of variables' values sufficient to build for the
amd64 target (as used on OpenIndiana 151a2 with gcc 4.6.2):
SHLIB_LDFLAGS=-shared
SHLIB_CXXFLAGS=-shared
SHLIB_FCLDFLAGS=-shared
CFLAGS=-m64
CXXFLAGS=-m64
FFLAGS=-m64
FCFLAGS=-m64
LDFLAGS=-m64 -L/usr/local/lib/amd64
CPPFLAGS=-I/usr/local/include
Additionally you'll need the gnu libiconv, which resides probably in
/usr/gnu, so the CPPF...