Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22213

Is there a way to install and use gcc on MacBook M1?

$
0
0

I am trying to install and work with gcc compiler on my MacBook M1. I have installed gcc using home-brew, but I did not find a way to use it on the terminal in my Mac. I wanted to download a tool that uses gcc compiler for its installation. Specifically, it looks like the tool needs OpenMP and clang does not support it.

Error message when I run make command:

clang: error: unsupported option '-fopenmp'

When I change the path to the gcc installation path, I am unable to run basic commands like ls in the terminal. I understand that this is the reason for that. Could anyone please help?


Viewing all articles
Browse latest Browse all 22213

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>