# Installation of VTK on macOS silicon system using GCC instead of GLANG

**URL:** https://discourse.vtk.org/t/installation-of-vtk-on-macos-silicon-system-using-gcc-instead-of-glang/16011
**Category:** Support
**Created:** [September 3, 2025, 3:43pm UTC](https://discourse.vtk.org/t/installation-of-vtk-on-macos-silicon-system-using-gcc-instead-of-glang/16011 "2025-09-03T15:43:30Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![dgobbi](https://discourse.vtk.org/user_avatar/discourse.vtk.org/dgobbi/32/18_2.png) [@dgobbi](https://discourse.vtk.org/u/dgobbi)
#### Post date: [September 5, 2025, 1:24pm UTC](https://discourse.vtk.org/t/installation-of-vtk-on-macos-silicon-system-using-gcc-instead-of-glang/16011/2 "2025-09-05T13:24:25Z")

</div>

Which gcc are you using? If you built gcc yourself, make sure it has the `c` , `c++` , `objc` , and `obj-c++` front-ends enabled, the `obj-c++` is not enabled in most gcc builds.

You can also look at the following project that says they have a gcc with improved compatibility with macOS:  
[https://github.com/iains/gcc-darwin-arm64](https://github.com/iains/gcc-darwin-arm64)

There’s also a thread here on a failed attempt to build VTK with gcc on macOS:  
[Compilation fails on macOS Sonoma with homebrew gcc-13.2](https://discourse.vtk.org/t/compilation-fails-on-macos-sonoma-with-homebrew-gcc-13-2/12571)

I don’t think that it’s worth attempting. The macOS SDK was created specifically for Apple Clang, which has non-standard extensions and enhancements that gcc does not have.

---

_[View the full topic](https://discourse.vtk.org/t/installation-of-vtk-on-macos-silicon-system-using-gcc-instead-of-glang/16011)._
