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.
My own response: use %.o: %.cc and not the form given below. Regards S On Thu, Sep 3, 2009 at 12:59 PM, Saptarshi Guha<saptarshi.guha at gmail.com> wrote:> 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. >
Seemingly Similar Threads
- Return a list from a .Call but segfaults
- Why is my R package still compiling with the O2 flag?
- How to make an R package that uses Boost.Thread, qualified to be published on CRAN or shared by the most
- Lines between panels in lattice
- Crash due to extreme example