home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!.IMD.Sterling.COM!chris
- From: chris@.IMD.Sterling.COM (Chris Olson)
- Subject: Re: GCC 2.2.2 Patches applied : MY ERROR...
- Message-ID: <1992Sep8.200916.3915@sparky.imd.sterling.com>
- Keywords: gcc patch stack
- Sender: news@sparky.imd.sterling.com (News Admin)
- Organization: Sterling Software
- References: <Bu8Cx2.D7v@undergrad.math.waterloo.edu>
- Date: Tue, 8 Sep 1992 20:09:16 GMT
- Lines: 39
- X-Md4-Signature: bc85b92b69dd35249f2eaea65fafda2a
-
- In article <Bu8Cx2.D7v@undergrad.math.waterloo.edu>, djkucera@undergrad.math.waterloo.edu (Dylan Kucera) writes:
- |> 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.
- |>
- |>
-
- Or you can edit s:shell-startup and add teh strack command there (I do!)
-
- --
- ____/ / __/ chris@IMD.Sterling.COM
- / __ / __/ / ___/
- / / / / / ___ / "It's intuitively obvious to the most
- ______/ __/ __/ __/ __/ ______/ casual observer..."
-