[Pythonmac-SIG] which fortran for pythonmac.org binaries?

Paul Kienzle pkienzle at jazz.ncnr.nist.gov
Mon Jun 4 21:24:05 CEST 2007


On Fri, Jun 01, 2007 at 03:10:55PM -0700, Rob J Goedman wrote:
> On Jun 1, 2007, at 1:12 PM, Christopher Barker wrote:
> 
> > Paul Kienzle wrote:
> >> The gfortran at http://r.research.att.com/exp claims to build  
> >> Universal Binaries,
> >
> > I agree that that is implied, but it also looks like there are passing
> > only one architecture flag in their build instructions. I haven't seen
> > any other reference to gfortran building Universal binaries.
> >
> >>  but I haven't tested it extensively.
> >
> > Have you tested it at all?

I built the following program:

       print *, 'hello'
       end

and confirmed that the resulting binary works on 10.4 i386 
and ppc systems.

I built a considerably large piece of code and linked it
successfully against pythonmac 2.4, whose distutils insists
on including "-arch i386 -arch ppc" on the link line.

This code works on i386.  I have not tested it on ppc.

So as far as my limited testing is concerned there is a
working universal fortran available.

- Paul


More information about the Pythonmac-SIG mailing list