brew upgrade every time I try to compile a
.c file I get the following error:
ld: library not found for -lgcc collect2: error: ld returned 1 exit status
mpicc still work though. I tried relinking with
brew link --overwrite gcc, but got no working results, as it is already linked.
brew doctor doesn't give me a hint.