Re: [Rd] Cannot override default -O3 flag on Winodws, dll does not have symbols

2013-01-09 Thread Prof Brian Ripley
On 10/01/2013 02:58, rtaylor wrote: In trying to compile a package with c code using Rtools, -O3 is added by default. This comes from Makeconf? Compiler flags (CFLAGS="-O0 -g" ) set in src/Makevars.win or src/Makevars appear before this. nm pkg.dll reveals no symbols! That is not a function o

Re: [Rd] Cannot override default -O3 flag on Winodws, dll does not have symbols

2013-01-09 Thread Dirk Eddelbuettel
On 9 January 2013 at 18:58, rtaylor wrote: | In trying to compile a package with c code using Rtools, -O3 is added by | default. This comes from Makeconf? Compiler flags (CFLAGS="-O0 -g" ) set in | src/Makevars.win or src/Makevars appear before this. | | nm pkg.dll reveals no symbols! | | How

[Rd] Cannot override default -O3 flag on Winodws, dll does not have symbols

2013-01-09 Thread rtaylor
In trying to compile a package with c code using Rtools, -O3 is added by default. This comes from Makeconf? Compiler flags (CFLAGS="-O0 -g" ) set in src/Makevars.win or src/Makevars appear before this. nm pkg.dll reveals no symbols! How can I compile a Windows package with "-O2 -g"? Thanks, R