Displaying 20 results from an estimated 6000 matches similar to: "problem customizing CXXFLAGS in Windows"
2007 Mar 20
2
PKG_CFLAGS/CFLAGS and PKG_CXXFLAGS/CXXFLAGS
Why is it that R places CFLAGS after PKG_CFLAGS and not before when
compiling a package (e.g. through R CMD build pkg)? This can be
problematic if, for instance, you want to use -O3, but -O2 is in
R_HOME/etc/Makeconf. If -O2 (in CFLAGS) appears after -O3 (in
PKG_CFLAGS), you are left with what you didn't want: -O2.
In R-exts, it says that "Flags which are set in file etc/Makeconf
2017 Apr 19
2
Default R-3.4.0 RC CXXFLAGS without -O2 on x86_64-linux-gnu with g++-5.4.0 causes WARNING from stl_list.h
Hi r-devel,
a recent install of R-3.4.0 RC (2017-04-13 r72510)?
on Linux (Ubuntu 16.04.1 LTS) x86_64-linux-gnu?
with?g++ (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
(see?http://bioconductor.org/checkResults/devel/bioc-LATEST/malbec2-NodeInfo.html?for more)?
results in CXXFLAGS not containing "-O2" as optimisation flag,
there is only " -Wall", while?CFLAGS are happy with
2013 Nov 03
1
How to make an R package that uses Boost.Thread, qualified to be published on CRAN or shared by the most
Hi,
Recently, I made an R package that used the C++ library Boost.Thread (http://www.boost.org/doc/libs/1_54_0/doc/html/thread.html) for multithreading. Previously, I have posted a question at stackoverflow (http://stackoverflow.com/questions/19651954/is-it-possible-to-build-an-r-package-which-use-rcpp-and-boost-thread-on-http), and I also asked at rcpp-devel
2003 Jul 03
1
Use of PKG_FFLAGS on Windows
Dear all,
After reading the manuals (especially R-exts) I haven't found
an answer to the following question yet.
I was compiling someone else's Fortran routines to make them
available with R. Hear, I should not that I don't know anything
about Fortran, and I only tried to built a shared library.
Linux being my platform of choice when developing for R, I first
got everything done
2004 Nov 21
7
wxRuby 0.6.0 is released!
wxRuby 0.6.0 has been released and is now available for
download from RubyForge at http://wxruby.rubyforge.org/
This release includes binary builds for Max OS X and
MS Windows.
Changes in this release include:
* Additional widget support in XRC (thanks to Marshall Elfstrand)
* Addition of wxScrollbar (thanks to Hans Harmon of Pinnacle
Technologies Inc)
* Addition of wxGrid event handlers (thanks
2007 Dec 20
2
SHLIB steps on a Makefile
Hi,
I need to create a Makefile.win for a given package so as to fiddle
slightly with the compilation process. My Makefile works fine in Linux
but I am having trouble creating Makefile.win for MinGW. I first
looked at the commands that Rcmd SHLIB appeared to be running and
copied those onto the Makefile. But one step seems to be missing, the
creation of the _res.rc file needed by windres
2017 Apr 20
0
Default R-3.4.0 RC CXXFLAGS without -O2 on x86_64-linux-gnu with g++-5.4.0 causes WARNING from stl_list.h
This is fixed in R-rc_2017-04-19_r72555.tar.gz
If you are affected by this issue then please test the RC tarball. This
is the last chance to detect problems (including those created by the
last-minute patch) before the release of R 3.4.0.
Martyn
On Wed, 2017-04-19 at 12:19 +0000, Neumann, Steffen wrote:
> Hi r-devel,
>
> a recent install of R-3.4.0 RC (2017-04-13 r72510)?
> on
2014 Mar 30
2
CXX_STD and configure.ac in packages
In C++ code for use in a R-3.1.0 package, my specific problem is that I would
like to use <unordered_map> if it is available, or <tr1/unordered_map> if not,
or <map> if all else fails.
I (think I) can accomplish this with configure.ac as
AC_INIT("DESCRIPTION")
CXX=`"${R_HOME}/bin/R" CMD config CXX`
CXXFLAGS=`"${R_HOME}/bin/R" CMD config
2009 Oct 29
2
Makevars, cc files in multiple directories
Hello,
In the src folder of my R package I have
a.cc
b.cc
f/g/x.cc
my Makevars.in has
all: $(SHLIB)
upon installing only, a.o and b.o is build and the final dll is
comprised of a.o and b.o
How can I instruct $(SHLIB) to pick up its source files from all
subdirectories (or maybe a subset, though here it will be all)
in src ?
Much thanks
Saptarshi
2004 Aug 06
2
Asterisk not starting
Hello!
Asterisk "CVS-HEAD-08/06/04-14:55:13" won't start on two of three different
Gentoo machines. This is the output of gdb:
ultra asterisk # gdb /usr/sbin/asterisk
GNU gdb 6.0
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
2012 Jun 07
1
Lack of -O2 (or -O) gcc compiler flag causes package installation failure
Hello all - first time poster long time reader,
I'm currently working on a package, and was interested to compare
performance with and without gcc/g++ -O based optimization. I can turn the
-O flags off with a ~.R/Makevars file, but when I do something odd happens.
The package installs fine when gcc is fed -O2 or -O3
*install with*
R CMD INSTALL --configure-args="CFLAGS=-g CXXFLAGS=-g
2017 Feb 04
3
Minor CFLAGS-related cleanups
Hi Erik,
similar to what I did for libsndfile, this is to simplify the
handling of adding -D_FORTIFY_SOURCE=2.
Regards
David
2024 May 21
1
Default CXXFLAGS
On Tue, 21 May 2024 14:48:48 +0200
Kurt Hornik <Kurt.Hornik at wu.ac.at> wrote:
> I guess foer the CXXFLAGS we want dpkg-buildflags --get CXXFLAGS?
It must be the case. It's both the documented option [1] and it
currently differs from CFLAGS in the offending flag:
root at 93e09ba5b6fb:/# diff -u <(dpkg-buildflags --get CFLAGS | sed 's/ /\n/g') <(dpkg-buildflags --get
2024 May 21
1
Default CXXFLAGS
On Tue, 21 May 2024 07:08:02 -0500
Dirk Eddelbuettel <edd at debian.org> wrote:
> You cannot undo what it is in R's own /etc/R/Makeconf via a
> programmatic way via some sort of option or alike.
I think this is about the following line in debian/rules:
optimflags = `DEB_BUILD_MAINT_OPTIONS=optimize=-lto dpkg-buildflags --get CFLAGS`
2006 Oct 09
1
Problem building a DLL from Fortran 90 source under Windows (with solution)
Hi, All,
I have come across a problem building a DLL from .f90 source (R 2.3.1,
Windows XP). When using the R CMD SHLIB procedure, the DLL itself was
being built, but its export table was empty.
Among the output from R CMD SHLIB the following message appeared:
c:\mingw\bin\nm.exe: 'a.out': No such file
The reason is the empty list of dependencies in the pattern rule for
DLLs
2015 Mar 10
1
Notes on building a gcc toolchain for Rtools (but not multilib)
On Tue, Mar 10, 2015 at 4:07 AM, Duncan Murdoch
<murdoch.duncan at gmail.com> wrote:
> On 09/03/2015 11:02 PM, Hsiu-Khuern Tang wrote:
>> Hi Duncan,
>>
>> On Mon, Mar 9, 2015 at 10:40 AM, Duncan Murdoch
>> <murdoch.duncan at gmail.com> wrote:
>>> On 09/03/2015 11:07 AM, Hsiu-Khuern Tang wrote:
>>>>
>>>> On Mon, Mar 9, 2015 at
2017 Jan 13
9
Upstreaming Gentoo patches
Dear FLAC devs,
I would like to get some of our patches merged into master. Most
of them deal with adhering to GNU conventions, respectively not
overriding flags/variables that are up to the user to set. For instance,
honoring $(htmldir) is important, as we have installation paths for the
documentation that differ from what is currently coded in the various
Makefile.am's.
Regards
David
2024 May 21
1
Default CXXFLAGS
>>>>> Ivan Krylov writes:
> On Tue, 21 May 2024 07:08:02 -0500
> Dirk Eddelbuettel <edd at debian.org> wrote:
>> You cannot undo what it is in R's own /etc/R/Makeconf via a
>> programmatic way via some sort of option or alike.
> I think this is about the following line in debian/rules:
Without having looked in much detail, I guess foer the CXXFLAGS
2007 Jul 24
1
PATCH : Fix missing protoypes
Josh Coalson wrote:
> --- Erik de Castro Lopo <erikd-flac@mega-nerd.com> wrote:
>
> > Hi all,
> >
> > I added -Wmissing-prototypes -Wstrict-prototypes to the CFLAGS and
> > found that there were a number warnings generated.
> >
> > The patch below fixes those warnings and adds the two -W flags to
> > configure.in.
>
> I checked most
2013 May 24
0
Rcpp with OpenMP - Need example Makevars
Dear R experts,
recently I started developing a Rcpp package "OpenMPTest".
Within that package I want to use OpenMP, as in the following code example:
// header file
#include <omp.h>
using namespace Rcpp ;
RcppExport SEXP testOpenMP( SEXP nThreads ) ;
// cpp file
SEXP testOpenMP( SEXP nThreads ) {
BEGIN_RCPP
NumericVector numberThreads = NumericVector( nThreads );