On 09/06/2013 08:27, moghadameh mirzai wrote:
Dear R-list,
I want to use shared library of gsl in R(2.15.1) on unix .I have a makefile
such as
Well, don't try to use a Makefile as you do not know what you are doing.
Use Makevars instead.
CC = gcc
CFLAGS = -fPIC -O2
PKG_LIBS -lgsl -lgslcbl
Dear R-list,
I want to use shared library of gsl in R(2.15.1) on unix .I have a makefile
such as
CC = gcc
CFLAGS = -fPIC -O2
PKG_LIBS -lgsl -lgslcblas -lm -lpthread
OBJS_SPB = calc_spb.o k.o dk.o ddk.o
calc_spb.so : $(OBJS_SPB)
$(CC) -shared -o calc_spb.so $(LIBS) $(OBJS_SPB)
clea
2 matches
Mail list logo