Results 1 to 3 of 3
  1. #1
    gfortran and g77 on lion

    Member Since
    Apr 18, 2012
    Posts
    2
    gfortran and g77 on lion
    Hi

    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 sourceforge.net. 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
    gfortran and g77 on lion
    xstep's Avatar
    Member Since
    Jun 25, 2005
    Location
    On the road
    Posts
    3,231
    Specs:
    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
    gfortran and g77 on lion

    Member Since
    Apr 18, 2012
    Posts
    2
    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 OS X - 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 OS X - Development and Darwin
    Replies: 3
    Last Post: 10-30-2011, 02:05 PM
  3. installation problem with g77
    By edz in forum OS X - 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 OS X - 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
  •