How to solve the problem of "-macosx_version_min has been renamed to -macos_version_min"?

I am now using the fortran compiler to compile the codes with the command of "make -f Makefile". In the previous time, the command: make -f Makefile works well, but after updating the MacOS system, the same command results in the following error:

-macosx_version_min has been renamed to -macos_version_min ld: unknown options: -commons collect2: error:ld returns 1

Is there anyone know how to solve the above problem?

Thanks a lot for your time and help.

Replies

It looks like the linker is complaining about your use of an option that’s been renamed. You’ll need to work through your build system to see where it’s using the old option and update it to use the new one.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

  • But could you tell me how to work through the build system ?

Add a Comment