Path: news.mathworks.com!not-for-mail
From: "Ben Abbott" <abbott.bp@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Problems with fortran mex on MACOSX Leopard
Date: Mon, 7 Jan 2008 07:55:07 +0000 (UTC)
Organization: Sawtek Inc
Lines: 24
Message-ID: <flslsr$m2k$1@fred.mathworks.com>
References: <fga3tm$1p6$1@fred.mathworks.com> <fgfp8d$p7a$1@fred.mathworks.com> <fl5etm$fve$1@fred.mathworks.com> <477BD186.1040709@mathworks.com> <flhlsc$7v8$1@fred.mathworks.com>
Reply-To: "Ben Abbott" <abbott.bp@gmail.com>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1199692507 22612 172.30.248.35 (7 Jan 2008 07:55:07 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 7 Jan 2008 07:55:07 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 230244
Xref: news.mathworks.com comp.soft-sys.matlab:444615



Update:

Fink now has g95 for Leopard available.

http://pdb.finkproject.org/pdb/package.php/g95

I haven't done much with it, but I did try one of Mathwork's examples.

>> mex yprimef.F yprimefg.F
ld: warning, duplicate dylib 
/Applications/MATLAB_R2007b/bin/maci/libz.1.dylib
>> yprimef(1,1:4)

ans =

    2.0000    8.9685    4.0000   -1.0947

>> 

In spite of the linker warning, it appears to work!

Ben