Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!ucbvax!hplabs!hp-sdd!craigb From: craigb@hp-sdd.hp.com (Craig Bosworth) Newsgroups: comp.lang.c Subject: Re: Recommend a C compiler? Message-ID: <2420@hp-sdd.hp.com> Date: 17 Aug 89 18:55:52 GMT References: <660054@hpclwjm.HP.COM> <3642@ohstpy.mps.ohio-state.edu> Organization: Hewlett Packard, San Diego Lines: 35 Followup To: Distribution: Organization: Hewlett Packard, San Diego Keywords: Contrary to a previous poster's assertion, there is a way to use external libraries with Turbo C (2.0, anyway). You need to create a project file (which lists module dependencies, etc.), including the library name. A project file might contain (from Turbo C User's Guide, p. 36): MYMAIN (MYFUNCS.H, SPECIAL.OBJ) MYFUNCS (MYFUNCS.H, OTHER.LIB) SPECIAL.OBJ OTHER.LIB This (among other things) causes OTHER.LIB to be linked in. For a discussion of project files see the User's Guide, pp. 29-36. I use Turbo for its speed, debugger, and integrated environment. Microsoft offers these features, but to get them you have to use QuickC, then (if necessary) switch to the fullblown command line version for production code. I am concerned, however about Turbo's reputation for being a little buggy. It hasn't gotten me yet, but if it does it of course will be at the worst possible time... BOS Direct "my compiler's better than your compiler" posts to alt.religion.computers, please. -- Craig Bosworth (619) 592-8609 16399 West Bernardo Drive Hewlett-Packard, San Diego Division San Diego, CA 92127-1899 UUCP : {hplabs|nosc|hpfcla|ucsd}!hp-sdd!craigb Internet : craigb%hp-sdd@hp-sde.sde.hp.com (or @nosc.mil, @ucsd.edu)