Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!well!mccarthy From: mccarthy@well.UUCP (Patrick McCarthy) Newsgroups: comp.lang.c Subject: Re: Microsoft C 5.0 help? Message-ID: <5471@well.UUCP> Date: 19 Mar 88 06:57:35 GMT References: <77200024@uiucdcsp> Reply-To: mccarthy@well.UUCP (Patrick McCarthy) Organization: Whole Earth 'Lectronic Link, Sausalito, CA Lines: 29 Summary: What? In article <77200024@uiucdcsp> tsmith@uiucdcsp.cs.uiuc.edu writes: > Microsoft C 5.0 Users? > I'm having trouble compiling with the large model > of the MS C 5.0 compiler. I need the large model because > I want to use the /Zi compiling parameter and the /co > linking parameter to put debugging info into the .obj and > the .exe files to be used by CodeView. Is there anyone > that has been successful in using other than the default > /AS small model? First off, you don't need the large model to use the /Zi and /CO switches; these will work in any memory model. Secondly, and probably most importantly, it would be helpful to know what your symptom is. Are you getting compiler/linker errors, does your program crash, or what? Your problem could be anything ranging from linking modules compiled under different memory models (be especially careful when specifying third party libraries in your link statement) to assigning data to an uninitialized pointer. Until you can provide more information (like what your code is supposed to do vs. what it actually does/does not do under the various models you've tried), attempts at diagnosis would just be shots in the dark. Specific information on your compile and link statements, as well as a (small) code fragment would go a long way. Pat McCarthy well!mccarthy@lll-crg.arpa mccarthy@well.uucp "Ask Dr. Science: He knows more than you do