Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!amdcad!ames!sdcsvax!nosc!humu!uhccux!todd
From: todd@uhccux.UUCP (The Perplexed Wiz)
Newsgroups: comp.sys.ibm.pc
Subject: Quick C math library problem?
Message-ID: <1203@uhccux.UUCP>
Date: Sat, 28-Nov-87 04:59:32 EST
Article-I.D.: uhccux.1203
Posted: Sat Nov 28 04:59:32 1987
Date-Received: Mon, 30-Nov-87 03:23:24 EST
Distribution: na
Organization: U. of Hawaii, Manoa (Honolulu)
Lines: 34
Keywords: Microsoft Quick C math library


I finally got around to installing my recently received Microsoft C
5.0 and QuickC.  Ran into a funny little problem.  I can't get QuickC
(qc) to seem to link in math routines correctly without first using
QLIB to build a 'qlb' library.

Something as simple as

	x = sin(1.23);

generates an "unresolved external" error unless I first do something
like

	qlib /s foo.c
	qc /l foo.qlb foo

before compiling it within QC.EXE.

This compile time error does NOT occur when using either CL or QCL
outside of the QuickC editor/environment.

The SETUP program appears to have done its job of installing the
various files correctly.  Since CL and QCL seem to be reading the
various DOS environmental variables (LIB, INCLUDE, etc.) ok, I am
assuing that somehow only QC.EXE itself is somehow screwed up.

I'd appreciate it if someone could tell me what I did wrong during the
installation of QC.EXE (which was installed at the same time as CL and
QCL) and how to fix it...todd
-- 
Todd Ogasawara, U. of Hawaii Faculty Development Program
UUCP:		{ihnp4,uunet,ucbvax,dcdwest}!sdcsvax!nosc!uhccux!todd
ARPA:		uhccux!todd@nosc.MIL		BITNET: todd@uhccux
INTERNET:	todd@uhccux.UHCC.HAWAII.EDU