Displaying 20 results from an estimated 8000 matches similar to: "Cannot override default -O3 flag on Winodws, dll does not have symbols"
2007 Mar 28
1
live migration of winodws based domUs
Hello,
Does xen-unstable or Xen xen-3.0.4_1 (or lower) support
live migration of winodws based domUs? did anybody tried it ?
Regards,
Andy
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
2014 Sep 26
1
Why is my R package still compiling with the O2 flag?
When I install an R package with cpp codes such as rrcov via CRAN (under
R 3.1.1, using no Makevars file and under Ubuntu 14.04 using GCC 4.8),
the cpp code is compiled with the -o3 flag (in fact, looking at the
Makeconf file this seem to again be the default since R 3.1.1) But when
I install my own package via CRAN it is compiled with the -o2 flag.
My questions are what is causing my
2013 Aug 23
1
Makevars and Makeconf sequencing
http://cran.r-project.org/doc/manuals/R-exts.html#Configure-and-cleanup
near the start of 1.2.1 Using Makevars says
> There are some macros which are set whilst configuring the building of
> R itself and are stored in R_HOME/etcR_ARCH/Makeconf. That makefile is
> included as a Makefile after Makevars[.win], and the macros it defines
> can be used in macro assignments and make command
2012 Sep 16
2
Where is the R configuration file or how to override R compilers
I have a question about how one can modify or override the compilers
that R uses for package installations? Or if perhaps this configuration
is in some editable file somewhere.
Initially I built the version of R 2.15.1 on Solaris SPARC (virtual T4),
but found out the build was done as 32 bit. After some research, I
found that the pre-compiled GCC version I had only allowed for 32 bit.
I wanted
2016 Sep 27
4
src/Makevars ignored ?
Le 27/09/16 ? 13:31, Dirk Eddelbuettel a ?crit :
>
> On 27 September 2016 at 09:37, Eric Deveaud wrote:
> | Hello,
> |
> | I'm tring to install a Rpackage that holds some C//C++ code
> |
> | as far as I understood the R library generic compilation mechanism,
> | compilation of C//C++ sources is controled
> |
> | 1) at system level by the ocntentos
2016 Sep 27
2
src/Makevars ignored ?
Hello,
I'm tring to install a Rpackage that holds some C//C++ code
as far as I understood the R library generic compilation mechanism,
compilation of C//C++ sources is controled
1) at system level by the ocntentos RHOME/etc/Makeconf
2) at user level by the content of ~/.R/Makevars
3) at package level by the content of src/Makevars
Problem I have is that src/Makevars is ignored
see
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
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
2011 May 20
2
Calling Rscript from Makevars
Hi,
I am trying to package some code to use with R and wanted to call
Rscript from within the Makevars file (I am trying to automate the
setting of the location of a third party library depending on what is
available / the system the package is being installed on).
If I just have a simple Makevars containing
PKG_LIBS= -lnag_nag -L/fserver/nagprod/FL22/fll6a22df/lib
the package is built
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
2000 Jul 17
1
Makevars, PKG_CFLAGS, ...
Hi,
I'm searching for a way to override the default CFLAGS/FFLAGS (-g -02 in
my case) per package (e.g with "-g" for packages under development).
PKG_CFLAGS/PKG_FFLAGS is prepended to the remaining flags, so it can't
delete a globally set "-O2" flag.
Of course I can edit the global Makeconf file, but I was wondering if
there is a possibility to override variables from
2009 Sep 03
1
Turn of -O2 during package build
Hello,
I'm using a Makevars.in file and running my code through gdb. I
understand i should turn of -O2, but R's makeconf overrides my
settings
/ln/meraki/custom/lib64/R/etc/Makeconf:112: warning: overriding
commands for target `.cc.o'
in Makevars.in
.cc.o:
g++ -g ${PKG_CXXFLAGS} ${PKG_LIBS} ${RINC} ${RLIB} -c $< -o $@
Thank you
S.
2007 Aug 30
3
R and Web Applications
Hello,
I'm curious to know how people are calling R from web applications (I've
been looking for Perl but I'm open to other languages). After doing a
search, I came across the R package "RSPerl", but I'm having difficulties
getting it installed (on Mac OSX). I believe the problem probably has to do
with changes in R since the package release. Below you will see where
2006 Jun 07
2
further f77/gfortran
OK: despite Dirk's very kind help, I decided that
trying to deal with R configuration and Debian configuration
simultaneously was too difficult.
I did manage to solve my problem by reconfiguring/making/
installing all of 2.3.1 from source:
./configure F77=/usr/bin/g77
make
make install
A few questions inspired by this experience:
(1) it seems a bit odd that R sets F77=gfortran
by
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]]
2017 Jun 03
3
cygwin1.dll problems when installing packages from source
Hi all,
I am having some problems in updating some packages from source. I start
with :
install.packages("Boom",lib="C:/RownLib",type="source")
I get the following error message :
* installing *source* package 'Boom' ...
** package 'Boom' successfully unpacked and MD5 sums checked
** libs
*** arch - i386
c:/Rtools/mingw_32/bin/g++ -std=gnu++11
2017 Jun 03
2
cygwin1.dll problems when installing packages from source
Hi,
As far as I can see, no.
On checking, I have confirmed that the only location of
cygwin1.dll is :
C:\Rtools\bin
Thanks
Vivek
2017-06-03 12:57 GMT+02:00 Duncan Murdoch <murdoch.duncan at gmail.com>:
> On 03/06/2017 6:31 AM, Vivek Sutradhara wrote:
>
>> Hi all,
>> I am having some problems in updating some packages from source. I start
>> with :
>>
2011 Sep 09
1
R CMD INSTALL configure.args and CC customization
I am running into the following issue that has been previously
reported on the R-devel mailing list. The short version is that I'm
writing a package for MPI, and I'd like to change CC and SHLIB_LD to
"mpicc". Trying to change them in Makevars.in has no effect, because
the values are clobbered by /etc/R/Makeconf. Will the following
changes to Makeconf.in introduce any problems?
2001 Mar 13
1
passing arguments to R CMD SHLIB
Dear People,
I want to run gcc with optimisation turned on (-O2), and with -Wall (all
warnings) enabled, when using R CMD SHLIB. When I do make, which is
R CMD SHLIB -Wall -O2 cftp.c mcmc.c latticefn.c -lm
in this case, I get
faheem ~/research/cftp>make
R CMD SHLIB -Wall -O2 cftp.c mcmc.c latticefn.c -lm
make[1]: Entering directory `/home/faheem/research/cftp'
gcc -I/usr/lib/R/include
2008 Nov 20
3
Turning off compiler optimization
Hi. I am writing some code in C that I would like to link into R.
My Makevars file is:
PKG_CPPFLAGS=-I/usr/local/include
PKG_LIBS=-L/usr/local/lib -lgsl
PKG_CFLAGS = -Wall -O0 -g -p -pg
The source file is core.c,. and I am compiling using R CMD SHLIB
core.c The output is
gcc -arch x86_64 -O3 -g -p -std=gnu99 -I/Library/Frameworks/
R.framework/Resources/include