[Rd] Compile R Library with GCC garbage collection on or supported

Simon Urbanek simon.urbanek at r-project.org
Wed Apr 1 02:57:35 CEST 2009


On Mar 31, 2009, at 3:25 PM, David Zwerdling wrote:

> Hi All,
> I'm not that familiar with configure or make (more of a Java  
> developer as a
> dayjob) but I was wondering what the process would be to add the flag
> -fobjc-gcc in the compilation of the R library for use in an  
> Objective-C
> application.  Can one simply drop this into the configure file  
> somewhere?

First, I think you mean -fobjc-gc. Second, I'm not sure why you think  
it's needed, because R doesn't use any Obj-C itself so it won't have  
any effect on the R library at all. Only your application needs to use  
it if it wishes to use the gc. Finally, you can always add flags via  
the usual environment variables for example OBJCFLAGS (see B.3 in R- 
admin and ./configure --help).

Cheers,
Simon



More information about the R-devel mailing list