Recommend a C compiler?

Craig Bosworth craigb at hp-sdd.hp.com
Fri Aug 18 04:55:52 AEST 1989


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 at hp-sde.sde.hp.com (or @nosc.mil, @ucsd.edu)



More information about the Comp.lang.c mailing list