compiler selection on PPC

Perry E. Metzger perry at piermont.com
Mon Dec 18 02:59:53 UTC 2017


> > On 2017-12-06, at 12:19 PM, Ken Cunningham wrote:
> >     
> >> There have been a number of tickets over the past two years that
> >> relate to compiler selection on PPC systems.
> >> 
> >> Basically, on PPC, if the default compiler (gcc 4.2 on 10.5, or
> >> apple-gcc42 on Tiger) does not work to build a port, the only
> >> other compiler that should be then used is gcc6. Maybe someday
> >> this might be gcc7, if we fix up the extra errors found in gcc7.
> >> 
> >> Presently, however, PPC systems go down the same compiler
> >> selection path as Intel systems. That usually leads to clang 3.3
> >> or clang 3.4 being selected, and this always fails miserably on
> >> PPC.  

This may be the cause of the problems we're having resurrecting OCaml
on the ppc, for what it's worth.

Perry
--
Perry E. Metzger		perry at piermont.com


More information about the macports-dev mailing list