Opened 10 years ago

Last modified 3 years ago

#44871 new defect

Building R-3.1.1 on a PPC requires using a compiler that can properly handle ObjectiveC code — at Initial Version

Reported by: josephsacco Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.1
Keywords: powerpc Cc: kjell.konis@…
Port: R

Description

R-3.1.1, with default variants, builds on a PPC provided: (1) the Apple compiler is used for compiling ObjectiveC code, and (2) the gcc48 suite of compilers is used for everything else:

sudo port install R configure.compiler=macports-gcc-4.8 configure.objc=/usr/bin/gcc-4.2

The Apple compiler is necessary to properly compile the one .m file

./src/library/grDevices/src/qdCocoa.m

If gcc-mp-4.8 is used instead, the quartz graphic device will fail to launch, causing R to exit because of an error.

-Joseph

Change History (0)

Note: See TracTickets for help on using tickets.