Displaying 2 results from an estimated 2 matches for "librmath_la_ldflags".
2006 Dec 18
1
Rmath: R libraries from C on Mac OS X
Dear R-experts,
I have been having trouble using R's standalone random number generators
from C on my Mac OS X 10.4.8 system.
I try to compile my C program in the following way:
gcc -Wall -o helloMac helloMac.c -lm -lRmath
I get the following error:
/usr/bin/ld: can't locate file for: -lRmath
I am unable to locate Rmath on my machine. The problem appears to be
that no libRmath.a was
2012 Aug 11
2
compile fails with x86_64-alpine-linux-uclibc-gcc
...stien Fabbro
--- src/nmath/standalone/Makefile.in.orig 2010-03-17 14:43:22.000000000 +0000
+++ src/nmath/standalone/Makefile.in 2012-01-02 17:40:13.000000000 +0000
@@ -64,7 +64,8 @@
Rexeclibdir_LTLIBRARIES = $(libRmath_la)
libRmath_la_SOURCES = $(SOURCES)
libRmath_la_OBJECTS = $(OBJECTS:.o=.lo)
-libRmath_la_LDFLAGS =
+libRmath_la_LDFLAGS = -Wl,-soname=libRmath.so
+libRmath_la_LIBADD = $(LIBM)
CLEANFILES = Makedeps *.d *.o *.lo test $(SOURCES)
DISTCLEANFILES = Makefile $(Rexeclibdir_LIBRARIES) $(Rexeclibdir_LTLIBRARIES)
@@ -116,7 +117,7 @@
$(RANLIB) $@
$(libRmath_la): $(libRmath_la_OBJECTS)
- $(DYLIB_...