Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: reinitz@panix.com (John Reinitz)
Subject: Re: cc and f77 linking : libraries required ?
Date: 1996/08/28	[thread overview]
Message-ID: <502alk$koe@panix2.panix.com> (raw)
In-Reply-To: 4vsbeb$d3g_001@iroe.fi.cnr.it


In article <4vsbeb$d3g_001@iroe.fi.cnr.it>,
Dr Francesco Mencaraglia <menca@iroe.iroe.fi.cnr.it> wrote:
>sorry if this question has been already posed N times ( N >> 1), but I could 
>not find the answer in the osf FAQ. I am trying to compile a C programs which
>calls fortran-77 routines.  what I do is:
>f77 -c routine.f
>cc -c programc
>cc program.o routine.o -lUfor -lfor -lm
>but I get a few unresolved symbols (something like _Ots....); inspecting 
>/usr/lib I found some libraries libots.a libots2.a but this was not enough.
>

If the linking against the libraries doesn't work, I don't
have a suggestion, but I *am* curious what  libots.a  and
friends are for.

I have C code that at linktime complains about
Unresolved:
_OtsRemainder64
_OtsDivide64

and I can fix this behavior by adding  -lots to
the command line. But what *are* these libraries, 
and where are they discussed in the manuals?

John







  parent reply	other threads:[~1996-08-28  4:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-08-26  4:00 cc and f77 linking : libraries required ? Dr Francesco Mencaraglia
1996-08-27  4:00 ` Steve Lionel
1996-08-27  4:00 ` Ian Mortimer
1996-08-28  4:00 ` John Reinitz [this message]
1996-08-29  4:00   ` Steve Lionel
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox