From simon.urbanek at r-project.org  Wed Apr  1 02:57:35 2009
From: simon.urbanek at r-project.org (Simon Urbanek)
Date: Tue, 31 Mar 2009 20:57:35 -0400
Subject: [Rd] Compile R Library with GCC garbage collection on or
	supported
In-Reply-To: <a5fee3720903311225k3446b8a3t5f8dd8fcb9da247d@mail.gmail.com>
References: <a5fee3720903311225k3446b8a3t5f8dd8fcb9da247d@mail.gmail.com>
Message-ID: <EA5303BB-E8A8-4914-92AF-BDBF811FCFA0@r-project.org>


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



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