Skip to content
Snippets Groups Projects
Verified Commit cdd632ed authored by Willi Mutschler's avatar Willi Mutschler
Browse files

macOS installer doc: fix capitalization of GCC and path to Clang

parent 01c1df6c
No related branches found
No related tags found
No related merge requests found
...@@ -105,7 +105,7 @@ Note that several versions of Dynare can coexist (by default in ...@@ -105,7 +105,7 @@ Note that several versions of Dynare can coexist (by default in
settings (see :ref:`words-warning`). settings (see :ref:`words-warning`).
It is recommended to install the Xcode Command Line Tools (this is an Apple product) It is recommended to install the Xcode Command Line Tools (this is an Apple product)
and gcc via Homebrew_ (see :ref:`prerequisites-macos`). and GCC via Homebrew_ (see :ref:`prerequisites-macos`).
With Octave With Octave
^^^^^^^^^^^ ^^^^^^^^^^^
...@@ -190,11 +190,11 @@ Additionally, to make MATLAB aware that you agree to the terms of Xcode, run the ...@@ -190,11 +190,11 @@ Additionally, to make MATLAB aware that you agree to the terms of Xcode, run the
Otherwise you will see a warning that Xcode is installed, but its license has not been accepted. Otherwise you will see a warning that Xcode is installed, but its license has not been accepted.
We recommend making use of optimized compilation flags when using :opt:`use_dll` and for this you need to install gcc via Homebrew_:: We recommend making use of optimized compilation flags when using :opt:`use_dll` and for this you need to install GCC via Homebrew_::
brew install gcc brew install gcc
If you already have installed gcc, Dynare will automatically prefer it for :opt:`use_dll` if the binaries are in /usr/local/bin. If you already have installed GCC, Dynare will automatically prefer it for :opt:`use_dll` if the binaries are in /usr/local/bin.
Otherwise, it will fall back to Clang in /usr/bin/gcc. Otherwise, it will fall back to Clang in /usr/bin/clang.
With Octave With Octave
^^^^^^^^^^^ ^^^^^^^^^^^
......
...@@ -35,11 +35,11 @@ ...@@ -35,11 +35,11 @@
<p class="bold-text">Compilation Environment for use_dll option</p> <p class="bold-text">Compilation Environment for use_dll option</p>
<p>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.</p> <p>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.</p>
<p>However, we recommend making use of optimized compilation flags and for this you need to install gcc-GCC_VERSION via Homebrew. <p>However, we recommend making use of optimized compilation flags and for this you need to install GCC via Homebrew.
For this, follow <a href="https://brew.sh" target="_blank" rel="noopener noreferrer">https://brew.sh</a> to install Homebrew and then type the following into Terminal.app:</p> For this, follow <a href="https://brew.sh" target="_blank" rel="noopener noreferrer">https://brew.sh</a> to install Homebrew and then type the following into Terminal.app:</p>
<code>brew install gcc@GCC_VERSION</code> <code>brew install gcc@GCC_VERSION</code>
<p>If you already have installed gcc-GCC_VERSION, Dynare will automatically prefer it for use_dll if the binaries are either in /opt/homebrew/bin/gcc-GCC_VERSION (arm64) or in /usr/local/bin/gcc-GCC_VERSION (x86_64). Otherwise, it will fall back to Clang in /usr/bin/gcc (for both arm64 and x86_64).</p> <p>If you already have installed GCC, Dynare will automatically prefer it for use_dll if the binaries are either in /opt/homebrew/bin/gcc-GCC_VERSION (arm64) or in /usr/local/bin/gcc-GCC_VERSION (x86_64). Otherwise, it will fall back to Clang in /usr/bin/clang (for both arm64 and x86_64).</p>
</main> </main>
</body> </body>
</html> </html>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment