Skip to content
Prev 1978 / 15075 Next

vecLib and building R from source

On 02/set/05, at 01:13, Kjell Konis wrote:

            
mmh, gcc 3.3.x from Apple supports -framework and it is documented in  
the gcc man pages. (If I remember well, this is also supported on  
some Win32 version of gcc)
in this case, you need to bypass configure by specifying --with- 
blas=path_to_your_blas_lib
  so gcc won't try to use the -framework flag.
This is of course the same you do on other unices.
You should also want to remove from the configure flags the options  
to build R as a framework and just set --enable-shlib

In the end, given that you are using gcc-dp (darwin ports?) you  
should also run make check after building R to assess the reliability  
of your build.

Please, let us know your progresses here, we can put notes on the R  
for OS X FAQ.
I understand your idea of a "pure" darwin (i.e.not necessarily aqua &  
core foundation based) build, but I strongly believe that a "out-of- 
the-box" configure and build on OS X must rely on apple's tools as  
well on open source tools as much as possible (and IBM compilers  
aren't for free at the moment)

stefano