Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!hao!gatech!purdue!i.cc.purdue.edu!j.cc.purdue.edu!pur-ee!iuvax!silver!creps From: creps@silver.bacs.indiana.edu (Steve Creps) Newsgroups: comp.sys.ibm.pc Subject: Re: MSC 4.0 Lib usage? Message-ID: <963@silver.bacs.indiana.edu> Date: 20 Feb 88 02:56:41 GMT References: <998@pur-phy> Reply-To: creps@silver.UUCP (Steve Creps) Distribution: na Organization: Indiana University Computer Science Department Lines: 21 Mail failed, so I'm posting this here. In article <998@pur-phy> you write: > >HELP !! >I put cmath.h in \include, cmath.lib in \lib and local directory. >When I cl /AL prog.c cmath.lib I get >invalid object module >cmath.lib pos:1 Record type : F0 Sounds like it's trying to take your cmath.lib as an .obj file instead of a .lib file. Try the -l option, which tells it what arguments to send to link. Probably something like cl -AL prog.c -lprog,,,cmath.lib would work. Hope this helps. --Steve - - - - - - - - - - Steve Creps on the VAX 8650 running Ultrix 2.0-1 at Indiana University. creps@silver.bacs.indiana.edu (192.12.206.2), ...iuvax!silver!creps, creps@iubacs.bitnet "Hey fellas, it's a four-legged V-8!"