Newsgroups: comp.lang.fortran
From: K-9 <rick.peng...@gmail.com>
Date: Mon, 5 May 2008 20:35:13 -0700 (PDT)
Local: Mon, May 5 2008 11:35 pm
Subject: Re: weird g77 and gfortran
Good question. I'm trying to use g77 because i'm trying to develop
some fortran77-only code. Of course yes i can go with gfortran. I was just curious to see the reason. Thanks. On May 5, 11:26 pm, e p chandler <e...@juno.com> wrote: > On May 5, 10:55 pm, K-9 <rick.peng...@gmail.com> wrote:
> > Hi guys....I've spent the whole night trying to figure out about this > > The code is very easy. I'm trying to call a fortran function from C. > > The code is as follow: > > =========C code========= > > extern float r_ (int * d, float *b); > > main () > > } > > ==========Fortran Code=========== > > print *, m, t > > return > > It doesn't matter what the fortran code does...but when I compile it > > [du@brutus qr]$ gcc -v > 1. Your g77 and gcc are of two different generations. You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||