Macports, Fink, and others

Discussion in 'Mac Programming' started by switham, Jun 22, 2008.

  1. macrumors newbie

    Joined:
    Jun 21, 2008
    #1
    Hey everyone,

    I recently installed both macports and fink. i understand that they both offer basically the same thing, and they both have their differences, but I am wondering that since they are both on my comp, will there be any compatibility issues. I program in fortran (currently use gfortran) and noticed that fink offers g77: which one is better? I compiled some programs in both and g77 does not give the accuracy that gfortran offers. Just looking for some thoughts. Thanks



    Before anyone says anything, I use fortran because I do some heavy computations (theoretical high energy particle physics) and fortran was the best option for my situation. So lay off!! haha just kiddin
     
  2. macrumors 6502a

    yeroen

    Joined:
    Mar 8, 2007
    Location:
    Cambridge, MA
    #2
    Don't worry, Fortran needs no apologies. It's still easier to do matrix calculations and other numerics in Fortran than in C.

    gfortran is the fortran 95/2003 compiler which supersedes g77 (fortran 77).

    So forget about g77. You should be using gfortran for all new projects (or ideally, the Intel Fortran compiler, but it isn't free).
     
  3. macrumors newbie

    Joined:
    May 5, 2008
    #3
    gfortran

    Hello, i was wondering have you found gfortran through fink because i don't manage to find it with fink (using fink list after a fink selfupdate) ??
    thanks a lot.
     
  4. thread starter macrumors newbie

    Joined:
    Jun 21, 2008
    #4
    No, gfortran isn't offered through fink. Here is the link though that offers a nice download for it. Very easy to install. It set up the environment and everything for you, so no need to change/add paths for this install. It even places a fortran syntax editor in your xcode app. go to the bottom after you open xcode and there is a fortran template editor there.

    http://gcc.gnu.org/wiki/GFortranBin...text=180&value=linkto:"GFortranBinariesMacOS"

    Hope this helps.
     
  5. macrumors 6502

    Am3822

    Joined:
    Aug 16, 2006
    Location:
    Groningen, The Netherlands
    #5
    Does this plugin work with Xcode 3.0? What build of the compiler is it?
     

Share This Page