From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,88ff5f2594f7f64a X-Google-Attributes: gidfee84,public From: reinitz@panix.com (John Reinitz) Subject: Re: cc and f77 linking : libraries required ? Date: 1996/08/28 Message-ID: <502alk$koe@panix2.panix.com>#1/1 X-Deja-AN: 177000778 references: <4vsbeb$d3g_001@iroe.fi.cnr.it> organization: Panix newsgroups: comp.unix.osf.osf1 In article <4vsbeb$d3g_001@iroe.fi.cnr.it>, Dr Francesco Mencaraglia 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