| MATLAB Central > MATLAB Newsreader > gfortran and maci64 |
|
|
|
I recently needed to create some 64-bit mex builds that included C++ and Fortran code on Mac OS X. Here's what worked for me: |
|
I have Xcode 3.2, not 3.1 as you have, |
|
Not sure I can be of much help as I'm new to this as well. I used http://r.research.att.com/gfortran-4.2.3.dmg instead of the experimental version for Xcode 3.2. You might try that one instead. Also, here's the complete maci64 section from my 'mexopts.sh' file...I only had to edit the lines beginning with ##. My main problem was it was using the wrong libgfortranbegin when building a 64-bit mex until I hard-coded the correct path. BTW, you may want to clear out the '/usr/local/lib/' directories before re-installing gfortran. |
|
That worked, at least for the yprimef example - thanks! |
|
"Tim Davis" <davis@cise.ufl.edu> wrote in message |
|
Thanks Dave, your solution helped me get past Matlab's inability to find gfortran. However, I can't get past the next roadblock - mentioned by a previous poster as only a flag error (I tried removing the flag, it didn't help) |
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.
| Tag Activity for This Thread | ||
|---|---|---|
| Tag | Applied By | Date/Time |
| mac | Andrea Strzelec | 27 Oct, 2009 17:04:04 |
| mex gfortran | Andrea Strzelec | 27 Oct, 2009 17:04:04 |
| 64bit | Dave | 1 Oct, 2009 19:29:04 |
| mac | Dave | 1 Oct, 2009 19:29:04 |
| gfortran | Dave | 1 Oct, 2009 19:29:04 |
| os x | Dave | 1 Oct, 2009 19:29:04 |
Contact us at files@mathworks.com
