home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / amiga / programm / 13166 < prev    next >
Encoding:
Text File  |  1992-09-08  |  1.6 KB  |  41 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!uunet!usc!cs.utexas.edu!torn!watserv2.uwaterloo.ca!watmath!undergrad.math.waterloo.edu!djkucera
  3. From: djkucera@undergrad.math.waterloo.edu (Dylan Kucera)
  4. Subject: GCC 2.2.2 Patches applied : MY ERROR...
  5. Message-ID: <Bu8Cx2.D7v@undergrad.math.waterloo.edu>
  6. Keywords: gcc patch stack
  7. Organization: University of Waterloo
  8. Date: Mon, 7 Sep 1992 22:53:25 GMT
  9. Lines: 30
  10.  
  11.     Yesterday I posted an article explaining a problem I was having applying
  12. the patches to GCC.  The problem was as a result of an erroneous assumption
  13. on my part.
  14.  
  15.     I had the line "STACK 250000" in my User-Startup thinking that the STACK
  16. command was system wide.  WRONG.  Looked it up in the 2.04 AmigaDos manual,
  17. and it sets it ONLY FOR THE CURRENT SHELL!
  18.  
  19.     So, here's how to, in brief, make an icon for a shell with stack 250000
  20. (I Think the author should add this to the documentation...)
  21.  
  22. - copy your shell icon to gcc_programming_shell
  23. - edit the information for the new icon and make the tool type "iconx"
  24. - use a text editor to edit 'gcc_programming_shell' in the same dir as
  25.         the icon.
  26. - insert the line "NewShell FROM s:programming.startup"
  27. - copy s:shell-startup s:programming.startup
  28. - use a text editor to edit s:programming.startup
  29. - add the line "stack 250000" just before the end.
  30.  
  31. Viola, ICON that starts a shell with the stack already set to 250000.  This way
  32. you can use this memory eating shell only when you want to use GCC stuff,
  33. otherwise use the measly 4000 byte shell.
  34.  
  35. Thanks to all who mail with their concern, it made me think twice as to whether
  36. or not what I had done was correct!
  37.  
  38. DK.
  39.  
  40.  
  41.