Announcement

Collapse
No announcement yet.

Why isn't GCC used as a compiler in MESA?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Why isn't GCC used as a compiler in MESA?

    Hi Mesa Gurus!

    Just curious why GCC isn't used as a compiler in MESA? Instead we see LLVM and derivatives like ACO. Is GCC lacking or incompatible?

  • #2
    Propably in favor of Apache license.

    Comment


    • #3
      But Mesa is "the" graphics driver for linux. Linux is GPL based so, why would they choose some other due to license?

      Comment


      • #4
        I would bet, a lot of companies contributing to Linux just do it because it’s become unavoidable. If they could choose, they’d prefer a non-GPL license (“more liberal’ in newspeech, with all the pros and cons, including the possibility to close the source).

        Comment


        • #5
          Besides the politics, LLVM is easier to target as a compiler platform because it was built from the ground up to be a modular compiler framework, whereas GCC is a bit more specific in how to write languages for it. It's for both licensing and technical reasons that LLVM has become an industry standard, it's simply the mecca of compiler development these days.

          Comment


          • #6
            Mesa is the driver for linux, so based on the licensing argument why don't all distros switch to LLVM-clang then?

            Perhaps there is a technical reason for Mesa devs to choose LLVM and derivatives compared to GCC and it isn't a license reason?

            Comment

            Working...
            X