search for: cxxpicflags

Displaying 20 results from an estimated 38 matches for "cxxpicflags".

2007 Oct 24
2
R trunk (2.7) build fails with -fpic, needs -fPIC (PR#10372)
...pic" + cpicflags="-fPIC" ;; esac shlib_ldflags="-shared" @@ -32817,7 +32817,7 @@ fpicflags="-fPIC" ;; *) - fpicflags="-fpic" + fpicflags="-fPIC" ;; esac fi @@ -32827,7 +32827,7 @@ cxxpicflags="-fPIC" ;; *) - cxxpicflags="-fpic" + cxxpicflags="-fPIC" ;; esac shlib_cxxldflags="-shared" @@ -47768,7 +47768,7 @@ fcpicflags="-fPIC" ;; *) - fcpicflags="-fpic" + fcpicflags...
2007 Nov 01
1
Problem with compiling 64bit R(2.5.1) under HP-UX(ia64)
...ran 90/95 compiler: f90 +DD64 Obj-C compiler: cc Interfaces supported: External libraries: Additional capabilities: NLS Options enabled: shared R library, shared BLAS, R profiling, Java Recommended packages: yes configure: WARNING: I could not determine CXXPICFLAGS. configure: WARNING: I could not determine SHLIB_CXXLDFLAGS configure: WARNING: I could not determine CXXPICFLAGS. configure: WARNING: you cannot build DVI versions of the R manuals configure: WARNING: you cannot build info or HTML versions of the R manuals configure: WARNING: you cannot build PDF...
2000 Jun 23
1
MAINLD and SHLIBLD
I would like to always use ${CC} for linking the main binary and the shlibs. Inspection of configure.in reveals that we currently deviate in the following cases: mainld shlibld aix[2-9]* ld ld alpha*osf* ${FC} -g -nofor_main -fpe3 ${FC} hpux* ${CC} ld Does anyone recall why we do not use ${CC} in these cases? Did anyone successfully build R on these platforms with ${CC} for
2008 Aug 07
1
config.log told me to report these (PR#12035)
...aster results with Goto BLAS rather than the R BLAS. Now I want to make icc and ifort work... So I tried this: ./configure CC=icc CFLAGS='-O3 -mp' CPPFLAGS=-I/opt/intel/cce/10.1.015/include/ F77=ifort CXX=icc CXXFLAGS='-O3 -mp' FFLAGS='-C90 -w90 -w95 -mp' CPICFLAGS=-shared CXXPICFLAGS=-shared FPICFLAGS=-shared SHLIB_LDFLAGS=-shared SHLIB_CXXLDFLAGS=-shared --with-blas="-L/usr/lib64/GotoBLAS -lgoto_penrynp-r1.26 -lpthread" I get six purported "bugs" in the config.log file (attached), but I hope there is something I've overlooked in the past week of agony....
2003 Sep 25
2
Bugs compiling R-1.7.1 with Intel compilers icc and ifc (PR#4295)
...ter. *) the configure script seems to have a bug, even if you make your own configure script with autoconf. Perhaps it's only a typo, perhaps it's an error of autoconf. So you have to do some things manually: 1) run configure : (you have to adjust the paths) env CPICFLAGS=-shared CXXPICFLAGS=-shared FPICFLAGS=-shared SHLIB_LDFLAGS=-shared ./configure CC=icc CFLAGS=-O2 CPPFLAGS=-I/opt/intel/compiler70/ia32/include F77=ifc CXX=icc CXXFLAGS=O2 FFLAGS=-C90 2) delete a wrong path in some Makefiles: -L/usr/local/lib" The quotation mark is the wrong thing. Delete it! You can searc...
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
2012 Jun 07
1
Lack of -O2 (or -O) gcc compiler flag causes package installation failure
...ode runs on a linux cluster it compiles with openmp and runs no problem./ *makevars file* CC = gcc -arch x86_64 -std=gnu99 CFLAGS = -g -O2 $(LTO) /# with -O2 we compile fine / CPICFLAGS = -fPIC CPPFLAGS = -I/usr/local/include CXX = g++ -arch x86_64 CXXCPP = g++ -arch x86_64 -E CXXFLAGS = -g $(LTO) CXXPICFLAGS = -fPIC ... compiles and installs no problem. However, if I remove the -O (or use -O0, -O1) it fails with the following error ** preparing package for lazy loading ** help *** installing help indices ** building package indices ** testing if installed package can be loaded Error in dyn.load(file...
2006 Apr 13
1
xmkmf? problem
I am having the xmkmf problem below with todays beta, but I also am trying to use an new (PGI 6.1), so lots of other things in my setup may be wrong, and the warning may also be important. Any hints would be appreciated. Paul _____ Red Hat Enterprise Linux AS release 3 (Taroon Update 7) .... checking whether C runtime needs -D__NO_MATH_INLINES... no checking for xmkmf...
2024 Feb 20
1
Compiling libR as a standalone C library for java+jni (-fPIC)
...-rvf? "TMP/R-4.3.2" TMP/tmp.tar.gz mkdir -p TMP/R-4.3.2/lib/ wget -O TMP/tmp.tar.gz "https://pbil.univ-lyon1.fr/CRAN/src/base/R-4/R-4.3.2.tar.gz" cd TMP && tar xfz tmp.tar.gz && rm tmp.tar.gz &&? cd R-4.3.2 && \ ??? CPICFLAGS=fpic FPICFLAGS=fpic CXXPICFLAGS=fpic SHLIB_LDFLAGS=shared? SHLIB_CXXLDFLAGS=shared? ./configure --enable-R-static-lib --prefix=/path/to/TMP --with-x=no --disable-BLAS-shlib && make ``` witch gives the following error during configure: ``` configure: WARNING: you cannot build info or HTML versions of the R manuals conf...
2008 Dec 09
1
errors with compilation
Hi, i'm trying to compile R on a Cray XT3 using pgi/7.2.1 - CNL (compute node linux) The R version is 2.8.0 this is the option -enable-R-static-lib=yes --disable-R-shlib CPICFLAGS=fpic FPICFLAGS=fpic CXXPICFLAGS=fpic SHLIB_LDFLAGS=shared --with-x=no SHLIB_CXXLDFLAGS=shared --disable-BLAS-shlib CFLAGS="-g -O2 -Kieee" FFLAGS="-g -O2 -Kieee" CXXFLAGS="-g -O2 -Kieee" FCFLAGS="-g -O2 -Kieee" CC=cc F77=ftn CXX=CC FC=ftn R is now configured for x86_64-unknown-linux-gnu...
2009 Feb 21
1
R-devel/Linux x64/Sun Studio 12: Problem with Matrix
...ow can I get/include the missing shared library? Many thanks in advance Thomas Petzoldt #file: config.site CC=cc CFLAGS="-xO5 -xc99 -xlibmil -nofstore" CPICFLAGS=-Kpic F77=f95 FFLAGS="-O5 -libmil -nofstore" FPICFLAGS=-Kpic CXX=CC CXXFLAGS="-xO5 -xlibmil -nofstore" CXXPICFLAGS=-Kpic FC=f95 FCFLAGS=$FFLAGS FCPICFLAGS=-Kpic LDFLAGS=-L/opt/sun/sunstudio12/lib/amd64 SHLIB_LDFLAGS=-shared SHLIB_CXXLDFLAGS="-G -lCstd" SHLIB_FCLDFLAGS=-G SAFE_FFLAGS="-O5 -libmil" platform 86_64-unknown-linux-gnu arch x86_64...
2006 Mar 09
1
R2.2.1-patched build failed with PGI 6.1 on x86-64
...ME=/usr/pgi/linux86-64/6.1 \ CC=pgcc \ CFLAGS="-O2 -Kieee" \ CPPFLAGS="-I$PG_HOME/include -I$PG_HOME/include/CC" \ CPICFLAGS=-fpic \ F77=pgf77 \ FFLAGS="-Kieee"\ FPICFLAGS=-fpic \ CXX=pgCC \ CXXFLAGS="-Kieee"\ CXXPICFLAGS=-fpic \ SHLIB_CXXLDFLAGS=-shared \ SHLIB_LDFLAGS=-shared \ LDFLAGS="-L$PG_HOME/libso -L/usr/lib64" \ --with-blas="-L/usr/pgi/linux86-64/6.1/libso -lacml" (Note that pgcc no longer recognize -mieee-fp, so I changed to -Kieee instead, and had to manually remov...
2006 Mar 10
2
problem building R-patched on x86-64 with PGI 6.1
.../R-patched/configure \ CC=pgcc \ CFLAGS="-g -Kieee" \ CPPFLAGS="-I$PG_HOME/include -I$PG_HOME/include/CC" \ CPICFLAGS=-fpic \ F77=pgf95 \ FFLAGS="-g -Kieee"\ FPICFLAGS=-fpic \ CXX=pgCC \ CXXFLAGS="-g -Kieee" \ CXXPICFLAGS=-fpic \ SHLIB_CXXLDFLAGS=-shared \ SHLIB_LDFLAGS=-shared \ LDFLAGS="-L$PG_HOME/libso -L/usr/lib64 -L/usr/X11R6/lib64" \ --without-tcltk \ --with-blas="-L/usr/pgi/linux86-64/6.1/libso -lacml" [The pgf95 (or pgf90) is needed for linking against ACML to wo...
2005 Nov 22
3
[PATCH] Add fpicflags for Intel(R) Fortran Compiler (PR#8344)
...on 36420) +++ configure.ac (working copy) @@ -942,7 +942,7 @@ rm -f Imakefile Makefile fi -## Step 2. GNU compilers. +## Step 2. GNU and Intel compilers. if test "${GCC}" = yes; then cpicflags="-fPIC" shlib_ldflags="-shared" @@ -954,6 +954,11 @@ cxxpicflags="-fPIC" shlib_cxxldflags="-shared" fi +case "${F77}" in + ifc|ifort) + fpicflags="-fPIC" + ;; +esac ## Step 3. Individual platform overrides. case "${host_os}" in =================================================================== Da...
2017 Apr 19
0
R 3.4 has broken C++11 support
...6_64-pc-linux-gnu (64-bit) | Running under: Arch Linux Maybe you can share with us how you configure the build of R-devel? I tend to locally build every week or so and I have the following on Ubuntu 16.10: CXX = ccache g++ CXXCPP = $(CXX) -E CXXFLAGS = -ggdb -pipe -Wall -pedantic $(LTO) CXXPICFLAGS = -fpic CXX98 = ccache g++ CXX98FLAGS = -ggdb -pipe -Wall -pedantic CXX98PICFLAGS = -fpic CXX98STD = -std=gnu++98 CXX11 = ccache g++ CXX11FLAGS = -ggdb -pipe -Wall -pedantic CXX11PICFLAGS = -fpic CXX11STD = -std=gnu++11 CXX14 = ccache g++ CXX14FLAGS = -ggdb -pipe -Wall -pedantic...
2003 Apr 12
0
compiling R in 64-bit mode on Linux on Power4
...xlC' CFLAGS='-q64 -g -qfullpath' FFLAGS='-q64 -g -qfullpath' CXXFLAGS='-q64 -g -qfullpath' MAIN_LDFLAGS='-q64 -g -qfullpath' LDFLAGS='-q64' SHLIB_CXXLDFLAGS='-q64 -G' SHLIB_LDFLAGS='-q64 -G' CPICFLAGS='-G' FPICFLAGS='-G' CXXPICFLAGS='-G' && gmake The error message was as follows. xlC -q64 -G -q64 -o internet.so Rsock.lo internet.lo nanoftp.lo nanohttp.lo sock.lo sockconn.lo xlC: 1501-218 file Rsock.lo contains an incorrect file suffix xlC: 1501-218 file internet.lo contains an incorrect file suffix xlC: 15...
2000 Apr 02
0
C++ support
...for add-on packages (to r-devel, of course). For me, installation of a trivial test package (basically consisting of the example in R-exts) works without problems. I'll put the package into CRAN's src/contrib/Devel for some time. If anyone knows about platform/compiler specific settings CXXPICFLAGS settings that configure needs to be taught, pls let me know. Building shared libs would be based on the following idea: if C++ code was found, then try using CXX as SHLIBLD (i.e. the C++ compiler for building the shared library). Alternatively, one would need to find out what C++ is linked agains...
2003 Sep 25
0
Bugs compiling R-1.7.1 with Intel compilers icc and ifc (PR#4296)
...eems to have a bug, even if you make your own > configure script with autoconf. > Perhaps it's only a typo, perhaps it's an error of autoconf. > So you have to do some things manually: > 1) > run configure : (you have to adjust the paths) > env CPICFLAGS=-shared CXXPICFLAGS=-shared FPICFLAGS=-shared > SHLIB_LDFLAGS=-shared ./configure CC=icc CFLAGS=-O2 > CPPFLAGS=-I/opt/intel/compiler70/ia32/include F77=ifc CXX=icc > CXXFLAGS=O2 FFLAGS=-C90 > 2) delete a wrong path in some Makefiles: > -L/usr/local/lib" > The quotation mark is the wrong t...
2017 Jun 03
3
cygwin1.dll problems when installing packages from source
...BartModel.o] Error 127 Warning: running command 'make -f "Makevars" -f "C:/R/R-34~1.0/etc/i386/Makeconf" -f "C:/R/R-34~1.0/share/make/winshlib.mk" -f "C:/Users/john/Documents/.R/Makevars" CXX='$(CXX11) $(CXX11STD)' CXXFLAGS='$(CXX11FLAGS)' CXXPICFLAGS='$(CXX11PICFLAGS)' SHLIB_LDFLAGS='$(SHLIB_CXX11LDFLAGS)' SHLIB_LD='$(SHLIB_CXX11LD)' SHLIB="Boom.dll" ' had status 2 ERROR: compilation failed for package 'Boom' * removing 'C:/RownLib/Boom' * restoring previous 'C:/RownLib/Boom' Warning...
2017 Jun 03
2
cygwin1.dll problems when installing packages from source
...ing command 'make -f "Makevars" -f >> "C:/R/R-34~1.0/etc/i386/Makeconf" -f >> "C:/R/R-34~1.0/share/make/winshlib.mk" -f >> "C:/Users/john/Documents/.R/Makevars" CXX='$(CXX11) $(CXX11STD)' >> CXXFLAGS='$(CXX11FLAGS)' CXXPICFLAGS='$(CXX11PICFLAGS)' >> SHLIB_LDFLAGS='$(SHLIB_CXX11LDFLAGS)' SHLIB_LD='$(SHLIB_CXX11LD)' >> SHLIB="Boom.dll" ' had status 2 >> ERROR: compilation failed for package 'Boom' >> * removing 'C:/RownLib/Boom' >> * restori...