undefined references in f2c
Carla Santos
carla.pereirasantos@gmail.com
Fri Feb 15 15:45:00 GMT 2008
Hi,
The reason why I am using f2c is because I have to do the linking
between C++ and fortran at some point. Do you know if I have other
choice?
Thanks
On Fri, Feb 15, 2008 at 3:12 PM, Tim Prince <tprince@myrealbox.com> wrote:
> Tobias Schlüter wrote:
> > Carla Santos wrote:
> >> Dear Tobias,
> >>
> >> Thank you for your prompt reply.
> >> I am using -lf2c, but I read at some places that maybe I should use
> >> -lg2c, anyway I do not have that library and I can't find it in the
> >> net.
> >> This is my kind of error:
> >> undefined reference to `d_sign'
> >> Do you remember something about this?
> >
> > Sorry, I can't help you with this, except pointing you to the
> > documentation. I vaguely recall the f2c library being split into two or
> > three modules, i.e. you may need another -l... argument.
>
> libg2c comes with g77. It includes most of libf2c.
> As it has been about 10 years since libf2c was in general use, and you
> have indicated an interest in libgfortran, I agree with others about
> trying gfortran.
>
More information about the Fortran
mailing list