Results 1 to 6 of 6

Thread: g77 missing

  1. #1
    Join Date
    Jul 2008
    Location
    India
    Posts
    162

    Default g77 missing

    Hi,
    I am using openSUSE 11.0. To run a software (it is a precompiled binary), i need gcc and g77 as it asks for the same. But openSUSE 11.0 has gfortran. So i am stuck real bad. Should i download the GNU Compiler Collection (version 4.3.2) and install it, and does it have g77? What are my other options?

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,516
    Blog Entries
    15

    Default Re: g77 missing

    Quote Originally Posted by samrat rao
    Hi,
    I am using openSUSE 11.0. To run a software (it is a precompiled
    binary), i need gcc and g77 as it asks for the same. But openSUSE 11.0
    has gfortran. So i am stuck real bad. Should i download the GNU Compiler
    Collection (version 4.3.2) and install it, and does it have g77? What
    are my other options?
    Hi
    What about gcc43-fortran and use the -ff2c switch?

    --
    Cheers Malcolm (Linux Counter #276890)
    openSUSE 11.0 x86 Kernel 2.6.25.18-0.2-default
    up 15:18, 3 users, load average: 0.22, 0.28, 0.22
    GPU GeForce 6600 TE/6200 TE - Driver Version: 177.80


  3. #3
    Join Date
    Jul 2008
    Location
    India
    Posts
    162

    Default Re: g77 missing

    I am not familiar with this stuff, so i don't get what you are saying. I have gcc and gfortran installed, both of the 4.3 version. I am getting errors like this:

    g77 -fPIC -fno-second-underscore -O -o cpex08 cpexcc.f cpex08.f -L/usr/local/ncl-ncarg_5.0.0/lib -lncarg -lncarg_gks -lncarg_c -lX11 -lXext
    g77: Command not found.

    The compile and link failed.

    Does this info help?

  4. #4
    maldmm5 NNTP User

    Default Re: g77 missing

    I am having the same prob. How did you manage to get over this?...
    Thanks

  5. #5
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,516
    Blog Entries
    15

    Default Re: g77 missing

    Quote Originally Posted by maldmm5
    I am having the same prob. How did you manage to get over this?...
    Thanks
    Hi
    Have a look at the man page for gfortran to see all the fortran options,
    else maybe installing f2c may help? I'm no fortran compiler person
    either....

    --
    Cheers Malcolm (Linux Counter #276890)
    openSUSE 11.0 x86 Kernel 2.6.25.18-0.2-default
    up 14:15, 2 users, load average: 0.02, 0.03, 0.00
    GPU GeForce 6600 TE/6200 TE - Driver Version: 177.80


  6. #6
    Join Date
    Jul 2008
    Location
    India
    Posts
    162

    Default Re: g77 missing

    Quote Originally Posted by maldmm5 View Post
    I am having the same prob. How did you manage to get over this?...
    Thanks
    Nothing much, i just created a symbolic link 'g77' to 'gfortran' in /usr/bin itself. Otherwise one can use the configure option F77=gfortran or FC=gfortran

Posting Permissions

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