David Zwerdling
2009-Mar-31 19:25 UTC
[Rd] Compile R Library with GCC garbage collection on or supported
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? Thanks, Dave [[alternative HTML version deleted]]
Simon Urbanek
2009-Apr-01 00:57 UTC
[Rd] Compile R Library with GCC garbage collection on or supported
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