Xref: utzoo comp.binaries.ibm.pc.d:15570 comp.os.msdos.programmer:5951 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!helios!bcm!lib!thesis1.med.uth.tmc.edu From: dfenyes@thesis1.med.uth.tmc.edu (David Fenyes) Newsgroups: comp.binaries.ibm.pc.d,comp.os.msdos.programmer Subject: Re: Help using f2c with Borland C++ Message-ID: <5147@lib.tmc.edu> Date: 25 Jun 91 04:40:36 GMT References: <91174.123837HAN@FRECP12.BITNET> Sender: usenet@lib.tmc.edu Followup-To: comp.binaries.ibm.pc.d Organization: University of Texas Medical School at Houston Lines: 36 Nntp-Posting-Host: thesis1.med.uth.tmc.edu [ I tried to reply by mail, but the mail bounced :-( ] Hello, In article <91174.123837HAN@FRECP12.BITNET> you write: > 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. I'm curious to know the problems you had (Was it the name table size?) >But when I try to link (Turbo Link) the whole, I get stucked with a missing >library 'llibce.lib' message. Hmm. I compiled the libraries with MSC 5.1, which is all I had available. I didn't think that the libraries should contain any mention of where missing symbols should be sought. I thought this was all resolved at link time by the linker. However, there's no telling what microsoft sticks in its object files. llibce.lib is the MSC 5.1 C library for xxx87 emulation, large model. Here's an experiment-- If you try linking with the small model, do you get an 'slibce.lib missing' error? If so, it's in the library. I'm very surprised at this behavior, since before linking, nothing should be able to predict whether you'll use llibce.lib (emulation), or llibc7.lib (80x87 installed)., etc. I'll look into it at this end also. I should think it entirely reasonable to compile libraries with MSC 5.1 and link with bcc. Good luck, and let me know what transpires :-) David. --- David Fenyes dfenyes@thesis1.med.uth.tmc.edu University of Texas Medical School Houston, Texas