[SciPy-user] fortran compiter, OS X 10.3

David M. Cooke cookedm at physics.mcmaster.ca
Sat Aug 12 14:19:46 CDT 2006


On Sat, Aug 12, 2006 at 01:26:03PM -0500, John Hunter wrote:
> >>>>> "David" == David M Cooke <cookedm at physics.mcmaster.ca> writes:
> 
>     David> http://hpc.sourceforget.net/ has g77.
> 
> I spent a little time at this site before posting -- it seems their
> g77 was compiled for 3.4 and Tiger.

Hmm, the g77 3.4 there says it's for Panther/Tiger.

Compiling your own isn't that hard, actually. 3.4.6 takes about 2 hours
to compile on my 800 MHz iBook (4.x takes about 6 hours :()

# download from http://gcc.gnu.org/releases.html
$ tar zxvf gcc-3.4.6.tar.gz
$ mkdir build-gcc
$ cd build-gcc
$ ../gcc-3.4.6/configure --prefix=/somewhere --enable-languages=c,c++,f77,java,objc
$ make
# wait a while
$ sudo make install

-- 
|>|\/|<
/--------------------------------------------------------------------------\
|David M. Cooke                      http://arbutus.physics.mcmaster.ca/dmc/
|cookedm at physics.mcmaster.ca


More information about the SciPy-user mailing list