Skip to content
Prev 21567 / 63424 Next

R CMD SHLIB flags

How can one specify multiple extra flags to R CMD SHLIB?  The example in 
R-exts section 5.5
    MAKEFLAGS="CFLAGS=-O3" R CMD SHLIB *.c
works for a single flag, but when I try
    MAKEFLAGS="CFLAGS=-g -O2 -Wall" R CMD SHLIB *.c
only the first flag is used and the rest seem to be ignored (version 
2.3.1, Mac OS X)

 	-thomas

Thomas Lumley			Assoc. Professor, Biostatistics
tlumley at u.washington.edu	University of Washington, Seattle