Results 1 to 3 of 3
  1. #1

    Member Since
    Apr 18, 2012
    gfortran and g77 on lion

    I got xcode 4.3.2 and put it in applications and am running OS X 10.7.3. I installed g77 and gfortran from But when I am compiling a simple test program I get the following error with gfortran.

    gfortran: error trying to exec 'as': execvp: No such file or directory

    I searched, but there is no as on my system in /usr/local/bin. I am new to Mac so don't know much about the functioning of xcode. Please suggest what to do.

    Thanks, Smriti

  2. #2

    xstep's Avatar
    Member Since
    Jun 25, 2005
    On the road
    2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid
    I don't know the problem, but did you install the extra tools. Xcode now installs in the Applications folder and there is an extra, I think command line, toolset to install. Check out the downloads section where you found Xcode 4.3 for that.

    Search for the word command in the New Features in Xcode 4.3 document.
    CameraTime - Time lapse photography for novice and advanced users.

    When asking questions, post the version of your software. You'll receive better answers.

    Please post your results to the thread as it is good feedback.

  3. #3

    Member Since
    Apr 18, 2012
    Thanks xstep! That was indeed the problem.. gfortran works fine now.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. PLEASE HELP A gfortran NEWBIE...
    By CobraMan in forum macOS - Development and Darwin
    Replies: 3
    Last Post: 05-28-2012, 11:55 PM
  2. How to install gfortran on OSX 10.7 (Lion)
    By drongobot in forum macOS - Development and Darwin
    Replies: 3
    Last Post: 10-30-2011, 02:05 PM
  3. installation problem with g77
    By edz in forum macOS - Development and Darwin
    Replies: 0
    Last Post: 11-25-2010, 12:56 AM
  4. Looking for g77 compiler for iBook G4
    By gomex in forum macOS - Operating System
    Replies: 2
    Last Post: 11-17-2006, 12:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts