wasp@chumly.ka.sub.org (Walter Mildenberger) (04/28/91)
Hello ! Subject says all: How can I specify a minimal stacksize within a program with SAS/C V5.10a ? The manual isn't very clear; all I've found is, that I can do it (Preface xv), but how ??? Any pointers appreciated... Regards -- ___ Walter Mildenberger, Morgenstr. 55, W-7500 Karlsruhe 1,FRG, (0721)385090 <*,-> UseNet/SubNet: wasp@chumly.ka.sub.org | Bitnet: sorry, no time to handle [`-'] * #include <stddiscl.h> /* Nobody cares 'bout what I say, so what ? */ -"-"- ...fortune has been expired...
labben@iesd.auc.dk (Lars Bodin) (04/30/91)
In article <11234.ANN@chumly.ka.sub.org> wasp@chumly.ka.sub.org (Walter Mildenberger) writes: >Hello ! > Subject says all: How can I specify a minimal stacksize within >a program with SAS/C V5.10a ? The manual isn't very clear; all I've found >is, that I can do it (Preface xv), but how ??? > >Any pointers appreciated... > >Regards >-- > ___ Walter Mildenberger, Morgenstr. 55, W-7500 Karlsruhe 1,FRG, (0721)385090 ><*,-> UseNet/SubNet: wasp@chumly.ka.sub.org | Bitnet: sorry, no time to handle >[`-'] * #include <stddiscl.h> /* Nobody cares 'bout what I say, so what ? */ >-"-"- ...fortune has been expired... If anyone has an answer to this, please post it or E-Mail it to me too. -- AMIGA // Lars Bodin // Department of Mathematics & Computer Science, \\// University of Aalborg (AUC) \/ E-mail: labben@iesd.auc.dk
kaarts@ccu.umanitoba.ca (Kenneth John Aarts) (05/02/91)
>>In article <11234.ANN@chumly.ka.sub.org> wasp@chumly.ka.sub.org (Walter Mildenberger) writes: >>>Hello ! >>> Subject says all: How can I specify a minimal stacksize within >>>a program with SAS/C V5.10a ? The manual isn't very clear; all I've found >>>is, that I can do it (Preface xv), but how ??? >>> >>>Any pointers appreciated... >>> >>If anyone has an answer to this, please post it or E-Mail it to me >>too. >I posted the solution to this a day or two ago, I hope it didn't die! >Anyways, I wrote sas and they responded: >'Place the following statement in your code.' > long _stack = n; >'where n is the stack size in bytes. Link with cres.o or cback.o instead of c.c. >' >Not quite what they implied in the preface! Anyways I suggest using cres.o as >cback.o might like some other initializations as well. >Ken