Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!pdn!boake2!jc3b21!fgd3 From: fgd3@jc3b21.UUCP (Fabbian G. Dufoe) Newsgroups: comp.sys.amiga.tech Subject: Re: Ooops, forgot one thing in my Lattice review Message-ID: <689@jc3b21.UUCP> Date: 6 Jul 89 05:44:17 GMT References: <26010@agate.BERKELEY.EDU> Organization: St. Petersburg Jr. College, FL Lines: 30 From article <26010@agate.BERKELEY.EDU>, by mwm@eris.berkeley.edu (Mike (I'll think of something yet) Meyer): > The tutorial documentation is wrong. Try invoking cpr with the option > that makes it not run startup code (-s? - sorry, I'm going to be lazy > and make you look it up). I had no problem running the tutorial according to the documentation, but there is something you have to watch for. There are two copies of the lines program. One is in :examples while the other is in :examples/debugger. The former doesn't work with the CPR defaults because it uses _main() instead of main(). If you use the program in :examples/debugger it will work fine. If you want to suppress the "go main" instruction at the beginning of CPR invoke it with "cpr -startup". > Also, cpr uses a _lot_ of stack space. Something like 16K just for > itself. Try it again with a 50K stack (that's what I'm using these > days). It works mostly (thought not always) fine for me under those > conditions. I run it with a stack size of 15000. It works fine. Perhaps you're using it on bigger programs than I am, which would explain a need for more stack space. --Fabbian Dufoe 350 Ling-A-Mor Terrace South St. Petersburg, Florida 33705 813-823-2350 UUCP: ...uunet!pdn!jc3b21!fgd3