#44871: Building R-3.1.1 on a PPC requires using a compiler that can properly handle ObjectiveC code --------------------------+--------------------------- Reporter: drjesacco@… | Owner: kjell.konis@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: powerpc Port: R | --------------------------+--------------------------- Changes (by mf2k@…): * keywords: PPC => powerpc * owner: macports-tickets@… => kjell.konis@… * cc: kjell.konis@… (removed) Old 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
New 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 -- Comment: In the future, please use WikiFormatting. -- Ticket URL: <https://trac.macports.org/ticket/44871#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X