Info
This question is closed. Reopen it to edit or answer.
Supported Fortran Compiler 2013b OS X 10.8?
1 view (last 30 days)
Show older comments
Can't find gcc-4.3.x binaries to install on OS X 10.8.4 with Matlab 2013b. Compiling GCC and GFORTRAN 4.3 with Xcode 4.3 does not work. Would mex-fortran compilation work with GCC-4.8? or would it work with the available binaries for GCC-4.2?
Setting up the mex-fortran compiler is annoyingly complicated, please help! Thanks!!
2 Comments
Stephen Shank
on 7 May 2014
I'm not sure if this directly answers your question, but I got set up to mex Fortran on OS 10.8.5 with R2014a. I did this by installing Macports:
https://www.macports.org/
and running
sudo port install gcc43
which resulted in a gfortran binary found in /opt/local/bin/gfortran-mp-4.3. I created a symbolic link to this binary named gfortran and showed MATLAB where to look for this by modifying the path with setenv via
setenv('PATH','/PATH/TO/SYMBOLIC/LINK:/OTHER/DEFAULT/PATHS')
and this successfully mexed the timestwo.F example. Hope this helps. Did you have any luck with the approaches you described?
Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!