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