llama2.c
llama2.c copied to clipboard
ld: warning: ignoring duplicate libraries: '-lgcc'
When I try to compile "make runomp" I got this error.
First, it tried clang but it says "clang: error: unsupported option '-fopenmp'" then I changed to gcc-13 which is Homebrew installed version. After that, when I recompile, it gave this error "ld: warning: ignoring duplicate libraries: '-lgcc'". Stackoverflow response says it would be fixed soon but I'm not sure if it's going to be soon.
Any of you have seen this error?
I use MacBookPro M2 Pro.
Thanks.