Path: utzoo!mnetor!uunet!husc6!bbn!rochester!PT.CS.CMU.EDU!B.GP.CS.CMU.EDU!Ralf.Brown@B.GP.CS.CMU.EDU From: Ralf.Brown@B.GP.CS.CMU.EDU Newsgroups: comp.sys.ibm.pc Subject: Re: Turbo C vs Quick C Message-ID: <221a4135@ralf.home> Date: 18 Feb 88 01:26:13 GMT Sender: netnews@PT.CS.CMU.EDU Lines: 22 In-Reply-To: <1750@phoenix.Princeton.EDU> In article <1750@phoenix.Princeton.EDU>, asjoshi@phoenix.Princeton.EDU (Amit S. Joshi) writes: }I remember that while looking at the compiler options for "tcc" there }was one which claimed to produce "standard stack frames". I don't have }any debugger (and I get along quite fine without it - when I come to }very convoluted code I use 'dbx' on the VAX !). I was lloking at the }Turbo C manual and the option is ' -Y' and it says there that "it }generates a standard stack frame which is useful when using a debugger }to trace back ..." [...] }-- }Amit Joshi BITNET | Q3696@PUCC.BITNET } USENET | {seismo, rutgers}\!princeton\!phoenix\!asjoshi The option is '-k', and what it does is cause the compiler always to emit code to set up a stack frame, even when one is not needed (because there are no parameters and no local vars). It does not, as another poster suggested, change the order in which things are placed on the stack. -- {harvard,uunet,ucbvax}!b.gp.cs.cmu.edu!ralf -=-=- AT&T: (412)268-3053 (school) ARPA: RALF@B.GP.CS.CMU.EDU |"Tolerance means excusing the mistakes others make. FIDO: Ralf Brown at 129/31 | Tact means not noticing them." --Arthur Schnitzler BITnet: RALF%B.GP.CS.CMU.EDU@CMUCCVMA -=-=- DISCLAIMER? I claimed something?