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?