On Apr 4, 2008, at 10:32 AM, Alexander Hansen wrote: > Ray Zimmerman wrote: >> >> 1. It wants to link against the dynamic libgfortran preventing my >> MEX file from working on machines that don't have gfortran >> installed. The only way I can get it to link against the static >> libgfortran is to hide the .dylib file during linking. Using the - >> static-libgfortran option to the linker appears to have no effect. >> >> 2. It can't seem to find the 'dtime' symbol, even though it appears >> to exist in libgfortran. >> >> 3. When running Matlab from the Terminal, I can build a Fortran >> MEX file that works, but after running it and exiting Matlab, >> input is no longer echoed to the screen in the Terminal session. I >> can execute commands, but my typing is not echoed. I can even >> restart Matlab and input at the Matlab prompt *is* echoed, but the >> problem returns as soon as I quit Matlab. >> >> Thanks. >> >> > Ah. #1 is an issue that has shown up pretty often. I'll try to > scrape some time together this weekend and see if the 0.91 upgrade > will be easy or not.
With a bit more work, I resolved #2 (there was a unnecessary 'external dtime' line in the code) and for #1 I found that explicitly passing / sw/lib/gcc4.3/lib/libgfortran.a to the linker also worked. But #3 is still a mystery. Having g95 available would still be a valuable option. Multiple compilers is always nice for testing. Thanks, -- Ray Zimmerman Senior Research Associate 428-B Phillips Hall, Cornell University, Ithaca, NY 14853 phone: (607) 255-9645 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.devel