Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!wuarchive!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!umriscc!mcs213h.cs.umr.edu!jeffj From: jeffj@mcs213h.cs.umr.edu (Jeff Jenness) Newsgroups: comp.os.msdos.programmer Subject: Re: alloca for TC 2.0 : Where and How ? Keywords: alloca, bison, where Message-ID: <1739@umriscc.isc.umr.edu> Date: 26 Nov 90 22:40:28 GMT References: <0093FFFD.51B399C0@router.jhuapl.edu> <11798@spool.cs.wisc.edu> <1292@digi.lonestar.org> Sender: news@umriscc.isc.umr.edu Distribution: na Organization: University of Missouri - Rolla Lines: 28 In article <1292@digi.lonestar.org> kgallagh@digi.lonestar.org (Kevin Gallagher) writes: >In article <11798@spool.cs.wisc.edu> aboulene@cheddar.cs.wisc.edu (Nagi M. Aboulenein) writes: > >>I am trying to get the MS-DOS version of the parser generator bison to work >>under Turbo C 2.0, but I need a routine called alloca. Does anyone know where >>and how I can get a hold of that routine ? > >No MS-DOS C compiler I am aware of supports alloca. So, you have two choices: The Quick C compiler has the alloca function in the library and since the library for Quick C and Microsoft C are the same then I assume that the Microsoft C 5.1 (6.0?) also has this function. Other of the DOS C compilers may also include this feature since they do attempt to provide rather robust libraries. Unfortunately, the Turbo C compiler does not provide this function. BTW, I did see an alloca function come across the news sometime back when this same question was asked. If others are interested I will see if I can dig up the author and/or the source for the function. The source was for the Turbo C compiler. -- Jeff Jenness University of Missouri - Rolla jeffj@cs.umr.edu