dependencies on gcc4

Elias Pipping pipping at macports.org
Mon Apr 16 07:37:06 PDT 2007


The gccs (both 3.3 and 4.0) that come with the
Developer Tools are not sufficient for building R.

They are only meant to (and able to) compile c,
c++, objc and objc++

According to the R FAQ [1], a fortran compiler is
required to build R, though.

The gcc40 port does include a fortran compiler,
whereas /usr/bin/gcc does not.

[1] http://cran.r-project.org/bin/macosx/RMacOSX-FAQ.html#Building-R- 
from-sources


Regards,

Elias Pipping


On Apr 16, 2007, at 4:20 PM, John Owens wrote:

> I installed "R" yesterday and note that it has a dependency on
> "gcc40". I try to keep up to date with xcode and note that my
> xcode gcc is version 4.0.1. But installing R (not a huge
> package) also installed gcc (definitely a huge package, took
> many hours to build).
>
> I understand that MacPorts wants to install its own versions
> of some stuff (python, perl, etc.) and that makes sense for
> most packages. But for something like gcc, because of its size
> and because Apple's distribution is pretty good, I'd prefer to
> see it handled more like X11, as a "this package is already
> natively provided by the system and we should use it if
> available".
>
> JDO
>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/macports-users




More information about the macports-users mailing list