Postinstallation Recommendations

Xcode Command Line Tools

Dynare highly benefits from installing Xcode Command Line Tools (an Apple product). To install the Xcode Command Line Tools type the following into Terminal.app:

xcode-select --install

Compilation Environment for use_dll option

Dynare ships a compilation environment that can be used with the use_dll option. To install this environment correctly, the Xcode Command Line Tools are sufficient.

However, we recommend making use of optimized compilation flags and for this you need to install gcc-GCC_VERSION via Homebrew. For this, follow https://brew.sh to install Homebrew and then type the following into Terminal.app:

brew install gcc@GCC_VERSION

If you already have installed gcc-GCC_VERSION, Dynare will automatically prefer it for use_dll if the binaries are in /usr/local/bin/gcc-GCC_VERSION. Otherwise, it will fall back to Clang in /usr/bin/gcc.