[net.micro.amiga] Linker problem with Lattice C Progra

notes@ucf-cs.UUCP (05/13/86)

Hello,

  I need some help with Lattice C and the linker. My Amiga drops into 
"Guru" mode while linking a very small C program. I am very new to the 
Amiga and I was wondering where I should look for help on Guru errors.
I have 512K RAM and 2 disk drives and as far as I can tell I am entering
the correct commands as described in the Lattice C info file. 

  I would appreciate any help that I can get as I am stuck in the water
right now.

Jim Ennis
JIM%UCF1VM.BITNET@WISCVM.ARPA
ENNIS@UCF-CS.CSNET

daveh@cbmvax.cbm.UUCP (Dave Haynie) (05/20/86)

In article <2418@ucf-cs.UUCP> notes@ucf-cs.UUCP writes:
>Hello,
>
>  I need some help with Lattice C and the linker. My Amiga drops into
>"Guru" mode while linking a very small C program. I am very new to the
>Amiga and I was wondering where I should look for help on Guru errors.
>I have 512K RAM and 2 disk drives and as far as I can tell I am entering
>the correct commands as described in the Lattice C info file.
>
You probably have your stack set too low.  The default is 4000, but the
linker usually need something in the 10000 to 20000 range.  Type:

STACK 10000

or whatever at the CLI prompt.

--

Dave Haynie    {caip,inhp4,allegra,seismo}!cbmvax!daveh
               "There, beyond the bounds of your weak imagination
                Lie the noble towers of my city, bright and gold"
                                                                -Genesis