[MacPorts] #65061: gcc: --build=${build_arch}- leads to incorrect names in case of PPC

MacPorts noreply at macports.org
Mon Apr 25 16:38:19 UTC 2022


#65061: gcc: --build=${build_arch}- leads to incorrect names in case of PPC
-------------------------------+-------------------------------------------
  Reporter:  barracuda156      |      Owner:  catap
      Type:  defect            |     Status:  assigned
  Priority:  Normal            |  Milestone:
 Component:  ports             |    Version:  2.7.2
Resolution:                    |   Keywords:  powerpc, leopard, snowleopard
      Port:  gcc7, gcc10,      |
  gcc11                        |
-------------------------------+-------------------------------------------

Comment (by barracuda156):

 Iain recommends using correct target triple names:
 https://github.com/iains/darwin-toolchains-start-
 here/discussions/6#discussioncomment-2624261

 >looking at the output of a top-level configure:
 {{{
 target='powerpc-apple-darwin9'
 target_alias=''
 target_cpu='powerpc'
 target_noncanonical='ppc-apple-darwin9'
 target_os='darwin9'
 target_subdir='ppc-apple-darwin9'
 target_vendor='apple'
 tooldir='${exec_prefix}/ppc-apple-darwin9'
 }}}
 >So it looks like the canonical name will be correct (i.e. it translates
 ppc => powerpc) but there will be a mixture of ppc and powerpc used in the
 installation paths ..
 >For my 0.02GBP .. I'd recommend just using the correct target triple and
 not look for troubles ;)

-- 
Ticket URL: <https://trac.macports.org/ticket/65061#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list