On 2005 Aug 25 , at 17.59, Tim Jenness wrote:
> Tiger doesn't seem to have the restFP problem at all...
I haven't investigated this, but I got a message a little while ago,
copied to me I think because of the restfp page I have up at <http://
purl.org/nxg/note/restfp>.
> From: Bill Northcott <[log in to unmask]>
> Date: 2005 July 5 00.08.12 BDT
> To: [log in to unmask]
> Cc: [log in to unmask]
> Subject: Fortran on Tiger
>
>
> Hi Gaurav
>
> I have helped out Martyn Plummer in getting JAGS (an R extension)
> to build on MacOS X. As a result of a support request from one of
> the users, I have done some digging and discovered a few things
> about running Fortran on Tiger that do not seem to be documented.
>
> The problem is the good old restFP, saveFP issue. The way of
> solving this was always to to include -lcc_dynamic in the link
> option. /usr/lib/libcc_dynamic.dylib was a symlink to the relevant
> gcc library containing the sympbols.
>
> Tiger defaults to gcc-4.0, which does not have the symlink, for the
> good reason that it would not work. 'gcc_select 3.3' will create
> the symlink as part of the gcc-3.3 installation whereas 'gcc_select
> 4.0' will remove it.
>
> The bottom line is that on Tiger you need one of two options:
> 1. select gcc-3.3 with 'sudo gcc_select 3.3' and use g77 ensuring
> that -lcc_dynamic is in the link options.
> or
> 2. use the default gcc-4.0 with gfortran or g95.
>
> AFAIK g77 will not work with gcc-4.0 and gfortran will not work
> with gcc-3.3.
>
> Also I notice that Apple have put APPLE_LOCAL mods into the
> gfortran code so that it builds as part of the Apple build process
> if the configure line in the build_gcc script is altered to include
> f95 in the list of langauges. Hopefully at some point they will
> include gfortran with Xcode.
>
> Bill
So it looks as if 10.4 has no problems with the specific combination
of gfortran/g95 and gcc-4.0, but you'll have some problems if ever
you try things with gcc-3.3.
Today seems to be restFP day. I've just discovered that dvi2bitmap
failed in its nightly build because of a restFP problem. Is this
just this last one (I haven't been paying close attention to the
nightly builds)? Why now!?
Norman
--
----------------------------------------------------------------------
Norman Gray / http://www.astro.gla.ac.uk/users/norman/
Physics & Astronomy, Glasgow University, UK
|