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 Version 1

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

Description (last modified by mf2k (Frank Schima))

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 (1)

comment:1 Changed 10 years ago by mf2k (Frank Schima)

Cc: kjell.konis@… removed
Description: modified (diff)
Keywords: powerpc added; PPC removed
Owner: changed from macports-tickets@… to kjell.konis@…

In the future, please use WikiFormatting.

Note: See TracTickets for help on using tickets.