Changes between Initial Version and Version 1 of Ticket #59985, comment 5


Ignore:
Timestamp:
Jan 25, 2020, 8:16:41 PM (4 years ago)
Author:
kencu (Ken)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #59985, comment 5

    initial v1  
    77{{{gcc}}} can be made to support a lot of the current {{{clang}}} traditions, like multiple {{{arch}}} flags for cross-compiling, and setting a specific {{{stdlib}}} to link against {{{libc++}}} -- out on the web you will find such patches quite easily, and I may integrate these into MacPorts someday, if acceptable. The Darwin lead for {{{gcc}}}, Iain Sandoe, is a very very skilled compiler writer, and has most all of these things on his github forks.
    88
    9 At present though, clang is much more capable than you think it is, and the open source versions all support LLVM since about five years ago now. The only thing of real interest that gcc has that clang does not have is fortran compiling capabiltiy, at present -- this is being worked on with a {{{flang}}} front end for {{{llvm}}}, and so one day that will be covered as well.
     9At present though, clang is much more capable than you think it is, and the open source versions all support {{{openmp}}} since about five years ago now. The only thing of real interest that gcc has that clang does not have is fortran compiling capabiltiy, at present -- this is being worked on with a {{{flang}}} front end for {{{llvm}}}, and so one day that will be covered as well.
    1010
    1111You can beat your head against the wall trying to make all Darwin/Apple/MacPorts software build with gcc, and you might have some success -- but life is short, and you probably have better things to do with your time than figure out how to make that work....