Displaying 11 results from an estimated 11 matches for "shlib_cxxflags".
Did you mean:
shlib_cxxldflags
2012 Apr 06
1
Building R on Solaris (OpenIndiana) with gcc 4.6.2 for amd64 target - relocation problems solved
...rors 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 CPPFLAGS will need an -I/usr/gnu/include and the
LDFLAGS...
2009 Jul 23
1
problem building R 2.9.1 from source on RHEL 4 (x86_64)
I am building from source on RHEL 4 and have run into a
problem while running "make check":
running code in 'lapack.R' ...make[3]: *** [lapack.Rout] Error 1
make[3]: Leaving directory `/opt/R/R-2.9.1/tests'
make[2]: *** [test-Specific] Error 2
make[2]: Leaving directory `/opt/R/R-2.9.1/tests'
make[1]: *** [test-all-basics] Error 1
make[1]: Leaving
2007 Jul 30
0
install error for RBGL_1.12.0 on linux ---2
...:
https://stat.ethz.ch/pipermail/bioc-devel/2007-June/001168.html
But, My condition is some how different:
1) my g++ version is: g++ (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
2) the SHLIB file is the same, but some difference in
/usr/local/lib/R/etc/Makeconf:
SHELL = /bin/sh
SHLIB_CFLAGS =
SHLIB_CXXFLAGS =
SHLIB_CXXLD = g++
SHLIB_CXXLDFLAGS = -shared
SHLIB_EXT = .so
SHLIB_FCLD = g77
SHLIB_FCLDFLAGS = -shared
SHLIB_FFLAGS =
SHLIB_LD = gcc -std=gnu99
SHLIB_LDFLAGS = -shared
SHLIB_LIBADD =
SHLIB_LINK = $(SHLIB_LD) $(SHLIB_LDFLAGS) $(LDFLAGS)
what should I do?
thanks,
xinan
2016 Oct 16
3
compile c++ code in an R package without -g
Hello,
I'm writing an R package that is mainly written in C++. By default, R
CMD INSTALL creates C/C++ flags as follows:
-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat
-Werror=format-security -D_FORTIFY_SOURCE=2 -g
However, my package is fairly large. With debug info compiled into the
library, the generated .so file is over 200MB. Without debug info,
it's about 30MB. I hope
2001 Dec 05
3
trouble with R CMD INSTALL for building my own library
...O2
FLIBS = -lg2c -lm -L/usr/lib/gcc-lib/i386-linux/2.95.4 -lm
FPICFLAGS = -fPIC
F2C =
F2CFLAGS =
LIBM = -lm
LIBR = -L$(R_HOME)/bin -lR
LIBS = -L/usr/local/lib -lz -lreadline -ldl -lncurses -lm
LIBPATHS = -L/usr/local/lib
LIBTOOL = $(SHELL) $(R_HOME)/bin/libtool
SHELL = /bin/sh
SHLIB_CFLAGS =
SHLIB_CXXFLAGS =
SHLIB_CXXLD = c++
SHLIB_CXXLDFLAGS = -shared
SHLIB_EXT = so
SHLIB_FFLAGS =
SHLIB_LD = gcc
SHLIB_LDFLAGS = -shared
SHLIB_LIBADD =
SHLIB_LINK = $(SHLIB_LD) $(SHLIB_LDFLAGS) $(LDFLAGS)
--
Jonathan Q. Li, PhD
Agilent Technologies Laboratory
Palo Alto, California, USA
-.-.-.-.-.-.-.-.-.-.-.-.-.-....
2001 Dec 05
3
trouble with R CMD INSTALL for building my own library
...O2
FLIBS = -lg2c -lm -L/usr/lib/gcc-lib/i386-linux/2.95.4 -lm
FPICFLAGS = -fPIC
F2C =
F2CFLAGS =
LIBM = -lm
LIBR = -L$(R_HOME)/bin -lR
LIBS = -L/usr/local/lib -lz -lreadline -ldl -lncurses -lm
LIBPATHS = -L/usr/local/lib
LIBTOOL = $(SHELL) $(R_HOME)/bin/libtool
SHELL = /bin/sh
SHLIB_CFLAGS =
SHLIB_CXXFLAGS =
SHLIB_CXXLD = c++
SHLIB_CXXLDFLAGS = -shared
SHLIB_EXT = so
SHLIB_FFLAGS =
SHLIB_LD = gcc
SHLIB_LDFLAGS = -shared
SHLIB_LIBADD =
SHLIB_LINK = $(SHLIB_LD) $(SHLIB_LDFLAGS) $(LDFLAGS)
--
Jonathan Q. Li, PhD
Agilent Technologies Laboratory
Palo Alto, California, USA
-.-.-.-.-.-.-.-.-.-.-.-.-.-....
2006 May 01
6
R-2.3.0 make error
Dear list,
When compiling the R-2.3.0 on FC4 x86_64, I got the following errors:
make[3]: Entering directory
`/project/scratch3/ligroup/wuming/src/R-2.3.0/src/main'
gcc -Wl,--export-dynamic -L/usr/local/lib64 -o R.bin Rmain.o
CConverters.o CommandLineArgs.o Rdynload.o Renviron.o RNG.o apply.o
arithmetic.o apse.o array.o attrib.o base.o bind.o builtin.o
character.o coerce.o colors.o complex.o
2009 Feb 21
1
Install failure (PR#13545)
...#39;
R_XTRA_CPPFLAGS2='-I$(R_INCLUDE_DIR)'
R_XTRA_CPPFLAGS=''
R_XTRA_CXXFLAGS=''
R_XTRA_FFLAGS=''
R_XTRA_LIBS=''
R_ZIPCMD='/usr/bin/zip'
SAFE_FFLAGS=''
SED='//bin/sed'
SET_MAKE=''
SHELL='/bin/sh'
SHLIB_CFLAGS=''
SHLIB_CXXFLAGS=''
SHLIB_CXXLD=''
SHLIB_CXXLDFLAGS=''
SHLIB_EXT=''
SHLIB_FCD=''
SHLIB_FCLD=''
SHLIB_FCLDFLAGS=''
SHLIB_FFLAGS=''
SHLIB_LD=''
SHLIB_LDFLAGS=''
SHLIB_LIBADD=''
STRIP=''
SUPPORT_MBCS=''
SUPPORT_UTF8...
2005 Feb 05
2
Problems compiling (configure) R on Ubuntu linux (debian)
...es,hyper'
R_UNZIPCMD='/usr/bin/unzip'
R_XTRA_CFLAGS=''
R_XTRA_CPPFLAGS=''
R_XTRA_CXXFLAGS=''
R_XTRA_FFLAGS=''
R_XTRA_LIBS=''
R_ZIPCMD='/usr/bin/zip'
SED='/bin/sed'
SET_MAKE=''
SHELL='/bin/sh'
SHLIB_CFLAGS=''
SHLIB_CXXFLAGS=''
SHLIB_CXXLD=''
SHLIB_CXXLDFLAGS=''
SHLIB_EXT=''
SHLIB_FFLAGS=''
SHLIB_LD=''
SHLIB_LDFLAGS=''
SHLIB_LIBADD=''
STRIP='strip'
TAR='tar'
TCLTK_CPPFLAGS=''
TCLTK_LIBS=''
TCL_CONFIG=''
TEX='fals...
2003 Mar 29
1
compling errors for sun unix (PR#2702)
...e'
R_RD4PDF='ae,hyper'
R_UNZIPCMD='/usr/bin/unzip'
R_XTRA_CFLAGS=''
R_XTRA_CPPFLAGS=''
R_XTRA_CXXFLAGS=''
R_XTRA_FFLAGS=''
R_XTRA_LIBS=''
R_ZIPCMD='/usr/bin/zip'
SET_MAKE=''
SHELL='/bin/bash'
SHLIB_CFLAGS=''
SHLIB_CXXFLAGS=''
SHLIB_CXXLD=''
SHLIB_CXXLDFLAGS=''
SHLIB_EXT=''
SHLIB_FFLAGS=''
SHLIB_LD=''
SHLIB_LDFLAGS=''
SHLIB_LIBADD=''
STRIP='strip'
TAR='tar'
TCLTK_CPPFLAGS=''
TCLTK_LIBS=''
TCL_CONFIG=''
TEX='/usr...
2010 Apr 15
4
Does "sink" stand for anything?
Hello Everyone,
Learning about R and its wonderful array of functions. If it's not obvious, I usually try to find out what a function stands for. I think this helps me remember better.
One function that has me stumped is "sink." Can anyone tell me if this stands for something?
Thanks,
Paul
__________________________________________________
[[alternative HTML