Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I want to install a fortran binary from here GCC wiki GFortran binaries, but the binary for Mountain Lion is not yet available. Would the binary for Lion work, or would it be a terrible mistake to install it?

share|improve this question

1 Answer 1

It should run just fine on Mountain Lion, and it should not do any damage to the Mountain Lion machine.

There is only one way to know for sure if it will work - installing it. I didn't want to do this because I am not sure how to test it, but will say that it shouldn't be a terrible mistake to install.

It will either not run (due to various things like Gatekeeper, minor API changes between Lion and Mountain Lion, etc) or not even install. Otherwise, a Mountain Lion specific build either uses new APIs, etc.

Finally, quickly browsing around online it looks like depending on your install there may be an issue error trying to exec 'f951': execvp: No such file or directory". This site offers a fix, which looks like you need to uninstal the current Xcode, remove references to previous compilers like gcc, cpp, gfortran, and then reinstall Xcode, gfortran, and gcc.

share|improve this answer
    
are you sure the errors you mention are not fro the HPC GCC? the site you link specifically mentions it... –  user1256923 Aug 22 '12 at 13:40
    
They may be. I didn't install this because I have no way to test. I just wanted to let you know what I found with gfortran on ML, and that was one of the only things in searches. I say install it and try it out. –  jmlumpkin Aug 22 '12 at 13:49

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.