segmentation violations

Sid Cowles scowles at lll-lcc.UUCP
Thu Apr 27 11:51:43 AEST 1989


i would like to compile the program month, rev 8.7, by mike morrell,
on a 386 machine running sco xenix 2.3.1.  i want to compile it for
usage on a 286 machine so i am including the -M2 flag.  so far, every
combination of flags i've used has resulted in a segmentation violation
error when i run the load module.  the flag combinations i've tried
come from the net and basic shotgunning technique.  i would rather take
the uncertainty out of compiling in this segmented architecture and
solicit any help that might be available.

various combinations of flags i've used are:
flags:                          error messages:
-M2                           | compiler: segment size exceeds 64K
-M2l -Mt32  -LARGE            | run time: segmentation violation
-M2l -Mt32  -LARGE -F 6000    | run time: segmentation violation
-M2l -Mt128 -LARGE -F 6000    | run time: segmentation violation
-M2he -Mt32 -LARGE            | compiler: infinite spill

thanks,
sid
=======================================================================
s cowles                         att:  +1 415 423 0929
lawrence livermore national lab  uucp: {backbone}!lll-lcc!scowles
environmental sciences division  internet:  scowles at lll-lcc.llnl.gov
p. o. box 5507; L-524
livermore, california  94550
=======================================================================



More information about the Comp.unix.xenix mailing list