|
From: | Thomas Treichl |
Subject: | Re: fopen always returns fid=-1 since revision 8380 |
Date: | Tue, 09 Dec 2008 10:13:19 +0100 |
User-agent: | Thunderbird 2.0.0.18 (Macintosh/20081105) |
Jaroslav Hajek schrieb:
A self made f2c/fort77 combination together with gcc/g++ 4.0.1.Huh. Why aren't you using gfortran?
Oh yes - *uhhfff*, things would be much easier. It all started in the beginning of 2007 when Paul Kienzle and me started to create Octave.app for MacOSX... Ok, ok, I tell you the short story ;)
Apple doesn't provide *all* of the GNU Compiler Collection, eg. gfortran, gcj and others are missing but at least the C/C++ 4.0.1 compilers are there. Creating a full compiler collection for myself would generally be possible, creating a *working* cross compiler collection for me and others for a PPC and i386 platform (like the one that already is installed on my Mac) is incredibly incredibly incredibly hard (this is where the other story begins about how to build universal binaries and a linker that combines all these codes in one dynamic lib and ...). Apple uses f2c (at least on MacOSX 10.3.x and 10.4.x machines - don't have any knowledge about 10.5.x) to build the high performance '-framework vecLib' and other Fortran libs in the SDK (at least that's what they say on their developer's website). The '-framework vecLib' is used by Octave sources instead of a self made blas/lapack, so the most compatible way to create binaries is that I use f2c, too.
f2c/fort77 is not so bad right now. But all Mac users are hoping that they somewhen get a full compiler collection on their Macs. I hope that somewhen I can say bye bye to f2c and say hello to gfortran. Right now, I don't have any chance.
Best regards again, Thomas
[Prev in Thread] | Current Thread | [Next in Thread] |