diff --git a/src/ModelTree.cc b/src/ModelTree.cc index f2313f6fda41d74d4ffa731796cf7b18b353c576..533a13ce50540306e32a0886f0d6e8b02108fc13 100644 --- a/src/ModelTree.cc +++ b/src/ModelTree.cc @@ -1674,7 +1674,7 @@ ModelTree::findCompilerOnMacos(const string& mexext) Appleās clang is located both in /usr/bin/gcc and /usr/bin/clang, it automatically selects x86_64 or arm64 depending on the compile-time environment. */ - const string macos_gcc_version {"13"}; + const string macos_gcc_version {"14"}; if (filesystem::path global_gcc_path {"/usr/local/bin/gcc-" + macos_gcc_version}; exists(global_gcc_path) && mexext == "mexmaci64") @@ -1686,14 +1686,14 @@ ModelTree::findCompilerOnMacos(const string& mexext) return {global_clang_path, true}; else { - cerr << "ERROR: You must install gcc-" << macos_gcc_version + cerr << "ERROR: You must install gcc@" << macos_gcc_version << " on your system before using the `use_dll` option of Dynare. " << "You should install Homebrew"; if (mexext == "mexmaca64") cerr << " for arm64"; else if (mexext == "mexmaci64") cerr << " for x86_64"; - cerr << " and run `brew install gcc-" << macos_gcc_version << "` in a terminal." << endl; + cerr << " and run `brew install gcc@" << macos_gcc_version << "` in a terminal." << endl; exit(EXIT_FAILURE); } }