From: David M. C. <co...@ph...> - 2006-10-12 18:30:50
|
On Thu, 12 Oct 2006 14:03:31 -0400 Tom Loredo <lo...@as...> wrote: > Hi folks, > > I've just upgraded my G4 (PPC) from Pather to Tiger, and just > installed MacPython. I now need to build a slew of numerical extensions. > I'm building them from source (I have lots of custom extensions > to build from source in any case). I see the binaries available > for Tiger are built with gcc 3.3 for PPC and gcc 4 for Intel; I > think they may be tied to ActivePython but I'm not sure. When > I start MacPython, I see it is built with gcc 4. Is this what > I should be using? I'll also be compiling fortran extensions; > I presume I should use gfortran rather than g77 for this (g77 > is what worked with gcc 3.3). Is this correct? For Intel, yes, you need to use gfortran, and it has to be the prelease version (4.2): 4.1 and earlier don't build on Intel Macs. g77 (and gcc 3.x) won't build either, unfortunately. If you're using MacPorts (previously DarwinPorts), you'll want the gcc42 port. Or, you can grab binaries at http://hpc.sourceforge.net/ -- |>|\/|< /--------------------------------------------------------------------------\ |David M. Cooke http://arbutus.physics.mcmaster.ca/dmc/ |co...@ph... |