search for: cxx1xstd

Displaying 4 results from an estimated 4 matches for "cxx1xstd".

Did you mean: cxx11std
2016 Feb 09
1
Typo in C++11 Section of Writing R Extensions
Hi, I was reading through the R extensions website and noticed that the example code at the end of the section makes references to CXX11XSTD and CXX11XFLAGS, shouldn?t these be CXX1XSTD and CXX1XFLAGS respectfully? (on the second and fourth line) CXX1X=`"${R_HOME}/bin/R" CMD config CXX11X` CXX1XSTD=`"${R_HOME}/bin/R" CMD config CXX11XSTD` CXX="$(CXX1X) $(CXX1XSTD)" CXXFLAGS=`"${R_HOME}/bin/R" CMD config CXX11XFLAGS` AC_LANG(C++) Sorry if thi...
2015 Apr 21
1
Typo in src/scripts/config
Was writing a short R script to modify compile flags and saw this typo: Index: config =================================================================== --- config (revision 68217) +++ config (working copy) @@ -61,7 +61,7 @@ CXX1X C++ compiler command for C++11 code CXX1XSTD flag used to enable C++11 support CXX1XFLAGS C++11 compiler flags - CXX1XXPICFLAGS + CXX1XPICFLAGS special flags for compiling C++11 code to be turned into a shared library DYLIB_EXT file extension (including '.') for dynamic libraries --...
2016 Aug 08
0
Setting Gnu++11 when compiling R-devel on Windows
...to R-devel to make it more compatible with GCC 6.x, which is great. Unfortunately, Windows still uses a toolset based on GCC 4.9.3. When compiling R release or R-patched, one can have GCC called with -std=gnu++11 by having it in the CXXFLAGS in one's HOME/.R/Makevars as well as by overwriting CXX1XSTD in R_HOME/src/gnuwin32/fixed/etc/Makeconf. When trying the same procedure for R-devel (08-04 and 08-07) I see that g++ is called without -std=gnu++11. I tried adding the call to the CXX1YSTD flag as well (although that should be reserved for C++14) and it did not help. I can probably force it by...
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