Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#40903 closed defect (invalid)

R: Remove GCC Dependencies

Reported by: jpolmsted@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: Cc: kjellpk (Kjell Konis)
Port: R

Description

I might be wrong, but with MP's behavior re: compilers, the dependency on gcc48 doesn't actually go anything, right? The system's clang gets used. If I actually want GCC, I'd use something like configure.cc=gcc configure.cxx=g++. If this is right?

Change History (2)

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: newclosed
Summary: Remove GCC DependenciesR: Remove GCC Dependencies

No. Users are not meant to manually change configure.compiler, configure.cc or similar. Ports will choose them correctly for you. In the case of R, it requires a Fortran compiler, which Xcode does not provide but gcc48 does. If you want to use a different gcc port's Fortran compiler instead, there are variants available.

comment:2 Changed 11 years ago by jpolmsted@…

I didn't realize gfortran was coming in through gcc. That's right. Thanks for that pointer. That said "Ports will choose them correctly for you." isn't quite true, but that's a separate issue.

Note: See TracTickets for help on using tickets.