[Rd] R CMD SHLIB flags

Thomas Lumley tlumley at u.washington.edu
Thu Jul 27 01:59:16 CEST 2006


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



More information about the R-devel mailing list