Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!bloom-beacon!gatech!ukma!psuvm.bitnet!tuccvm.bitnet!npasmith From: NPASMITH@TUCCVM.BITNET (Philip A. Smith) Newsgroups: comp.sys.ibm.pc Subject: Re: How do I use external libraries with TC Message-ID: <16NPASMITH@TUCCVM> Date: Sat, 10-Oct-87 12:06:29 EDT Article-I.D.: TUCCVM.16NPASMITH Posted: Sat Oct 10 12:06:29 1987 Date-Received: Tue, 13-Oct-87 05:03:51 EDT Organization: Triangle Universities Computation Center Lines: 25 I do it all the time. First try it with a lib of obj files created using TC with the same memory model and the MS LIB command, to avoid problems with cdecl/pascal calling conventions, near/far functions, etc. (If you can use MAKE I guess this isn't the problem.) Here is the procedure, assuming you have JUNK.C that needs to use object modules in C:\T\MYLIB\GRAF.LIB 1) Create the file JUNK.PRJ in the same dir. as JUNK.C: JUNK C:/T/MYLIB/GRAF.LIB (Undocumented feature: one front slash == two back slashes for paths) 2) TC JUNK 3) Alt-P (Project Menu) P (Select project name --> *.PRJ) (Pop up window of all .PRJ files in dir.) Select JUNK.PRJ using arrow keys from list. get out of project menu 4) Alt-R (Make and execute file) Unfortunately, step 3 has to be done every time, or you get link errors.