search for: cxx1xflags

Displaying 5 results from an estimated 5 matches for "cxx1xflags".

Did you mean: cxx11flags
2015 Apr 21
1
Typo in src/scripts/config
...dify 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 -- http://www.keittlab.org/ [[alternative HTML version...
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 this has been repo...
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
2016 Aug 08
0
Setting Gnu++11 when compiling R-devel on Windows
...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 adding it to the CXXFLAGS and CXX1XFLAGS in Makeconf, but that seems to be somewhat overkill and may have downstream effects of which I am unaware. Am I correct in my assumption that the new CXXSTD macro as discussed in the changelogs is automatically setting GCC 4.9.3 to C++98, and if so, is there a similar way to R-3.3 to have GCC defa...
2014 Jul 25
1
Multiple -g flags in R CMD SHLIB
Does anybody know why two "-g" flags appear in the call to gcc in R CMD SHLIB Example: gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic *-g* -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 *-g* -c c_file1.c -o c_object1.o Surely it need only be listed once? Alan [[alternative HTML version deleted]]