fopen always returns fid=-1 since revision 8380
Thomas Treichl
Thomas.Treichl at gmx.net
Tue Dec 9 03:13:19 CST 2008
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
More information about the Octave-maintainers
mailing list