Re: [Numpy-discussion] [PATCH] gfortran under macports

Correct me if I am wrong here: If you run "(sudo) gcc_select gfortran-mp-XY", where XY are the version numbers (e.g. 45 for gfortran 4.5), you should get symbolic links for the selected gcc/gfortran version. I believe that macports should probably make this clearer, and perhaps automatically when you do a "port install gccXY", but I am not sure if this needs any patching? Again, I might be wrong on this.
Thanks! I didn't know about gcc_select.
The correct command is "sudo gcc_select mp-gcc45" which effectively does all the symbolic links for you and works like a charm, so please ignore my previous patch.
Cheers,
fabian

On Sat, Dec 04, 2010 at 10:25:52AM +0100, Fabian Pedregosa wrote:
The correct command is "sudo gcc_select mp-gcc45" which effectively does all the symbolic links for you and works like a charm, so please ignore my previous patch.
I am not a mac user, so I guess that my opinion is not very educated, but isn't your patch still useful: test if 'gcc' exists, and if not fallback to your patch, so that it still works for the clueless user?
My 2 cents,
Gaƫl
participants (2)
-
Fabian Pedregosa
-
Gael Varoquaux