Re: [Numpy-discussion] gcc/fortran compilers for building extensions with Tiger/MacPython

2006-10-12 Thread David M. Cooke
On Thu, 12 Oct 2006 14:03:31 -0400
Tom Loredo <[EMAIL PROTECTED]> 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/
|[EMAIL PROTECTED]

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion


[Numpy-discussion] gcc/fortran compilers for building extensions with Tiger/MacPython

2006-10-12 Thread Tom Loredo


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?

Thanks,
Tom


-
This mail sent through IMP: http://horde.org/imp/

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
Numpy-discussion mailing list
Numpy-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion