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

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!.IMD.Sterling.COM!chris
  3. From: chris@.IMD.Sterling.COM (Chris Olson)
  4. Subject: Re: GCC 2.2.2 Patches applied : MY ERROR...
  5. Message-ID: <1992Sep8.200916.3915@sparky.imd.sterling.com>
  6. Keywords: gcc patch stack
  7. Sender: news@sparky.imd.sterling.com (News Admin)
  8. Organization: Sterling Software
  9. References:  <Bu8Cx2.D7v@undergrad.math.waterloo.edu>
  10. Date: Tue, 8 Sep 1992 20:09:16 GMT
  11. Lines: 39
  12. X-Md4-Signature: bc85b92b69dd35249f2eaea65fafda2a
  13.  
  14. In article <Bu8Cx2.D7v@undergrad.math.waterloo.edu>, djkucera@undergrad.math.waterloo.edu (Dylan Kucera) writes:
  15. |>     Yesterday I posted an article explaining a problem I was having applying
  16. |> the patches to GCC.  The problem was as a result of an erroneous assumption
  17. |> on my part.
  18. |> 
  19. |>     I had the line "STACK 250000" in my User-Startup thinking that the STACK
  20. |> command was system wide.  WRONG.  Looked it up in the 2.04 AmigaDos manual,
  21. |> and it sets it ONLY FOR THE CURRENT SHELL!
  22. |> 
  23. |>     So, here's how to, in brief, make an icon for a shell with stack 250000
  24. |> (I Think the author should add this to the documentation...)
  25. |> 
  26. |> - copy your shell icon to gcc_programming_shell
  27. |> - edit the information for the new icon and make the tool type "iconx"
  28. |> - use a text editor to edit 'gcc_programming_shell' in the same dir as
  29. |>         the icon.
  30. |> - insert the line "NewShell FROM s:programming.startup"
  31. |> - copy s:shell-startup s:programming.startup
  32. |> - use a text editor to edit s:programming.startup
  33. |> - add the line "stack 250000" just before the end.
  34. |> 
  35. |> Viola, ICON that starts a shell with the stack already set to 250000.  This way
  36. |> you can use this memory eating shell only when you want to use GCC stuff,
  37. |> otherwise use the measly 4000 byte shell.
  38. |> 
  39. |> Thanks to all who mail with their concern, it made me think twice as to whether
  40. |> or not what I had done was correct!
  41. |> 
  42. |> DK.
  43. |> 
  44. |> 
  45.  
  46. Or you can edit s:shell-startup and add teh strack command there (I do!)
  47.  
  48. -- 
  49.     ____/    /           __/            chris@IMD.Sterling.COM
  50.    /        __  /   __/   /    ___/
  51.   /        /   /   /     /  ___  /      "It's intuitively obvious to the most
  52. ______/ __/ __/ __/   __/ ______/        casual observer..."
  53.