[comp.sys.amiga] Help with Lattice 5.04

mplevine@phoenix.Princeton.EDU (Marshall P. Levine) (02/02/90)

I recently bought Lattice 5.04.  I wrote a small test program in two
modules.  The smaller module has the main function.  The larger one has
a function called by main.  It also contains a call to drand48().  The
moment the program reaches the call to drand48(), the computer crashes.
I compiled the program with :
lc -Lm main.c terrain.c
I also tried,
lc -Lm -fl main.c terrain.c

Both crash.  I did include math.h in the module that has drand48 and I
did seed the generator with srand48().

Help, please!!!!!!!!!!!

-- Marshall Levine
mplevine@phoenix.princeton.edu