Xref: utzoo comp.binaries.ibm.pc.d:15491 comp.os.msdos.programmer:5868 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!ysub!psuvm!frecp12!han Organisation: ECP-Paris France Date: Sunday, 23 Jun 1991 12:38:36 EDT From: Jay Thierry HAN Message-ID: <91174.123837HAN@FRECP12.BITNET> Newsgroups: comp.binaries.ibm.pc.d,comp.os.msdos.programmer Subject: Help using f2c with Borland C++ Hello, I am trying to use f2c (the Fortran 77 -> C[++] translator) with the Borland C++ compiler, and seem to have setup problems. After tweaking the command line switches, I have been able to run f2c and bcc on my Fortran code. But when I try to link (Turbo Link) the whole, I get stucked with a missing library 'llibce.lib' message. So I tried to re-compile the f2c libraries, but with no success. First, I had trouble setting up the makefile for bcc and Turbo Make. And then, as I'm not a real C programmer, I couldn't understand what to do with the ungetc and mktemp functions mentionned in the readme about Turbo C++. I have a 286 with 1Meg RAM and DOS 3.3 + 4DOS 3.03. I use Borland utilities: bcc, Turbo make, Turbo link (tlink), and Turbo lib (tlib). I always used ANSI C, either with f2c and with bcc. I need at least the large model for my Fortran program. That Fortran code is not big at all, amounting to about 1700 lines in 8 files, and the biggest routine is 250 lines long. Any help will be greatly appreciated. Thanks. J. Han.