0

I can't use GCC because clang interferes with it. I used brew install gcc, and it downloaded correctly but I can't use it because clang overrides it. I added the path into my /.bash_profile so when I activate my environment it should be the first export path listed, but it didn't help. Then I manually just typed in export PATH="/usr/local/Cellar/gcc/14.1.0_1/bin:$PATH" straight in terminal and it still won't work. I keep getting this error when I try to run snpArcher:

Output: Encountered problems while solving:   - nothing provides requested gcc 13.2.0**

When I type gcc --version, it brings up

Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1Apple clang version 12.0.5 (clang-1205.0.22.9)Target: arm64-apple-darwin23.5.0Thread model: posixInstalledDir: /Library/Developer/CommandLineTools/usr/bin

How am I able to use GCC for snpArcher? Or is there a workaround to using snpArcher on an Apple M2 Max Laptop?

3

0

Browse other questions tagged or ask your own question.