[comp.lang.c] segments and groups under SCO xenix286

rbarrell@lgnp1.LS.COM (Robert Barrell) (08/04/89)

     I am not an expert C programmer, let alone an expert 286 programmer, so
please forgive me if this is a common or over-simple question.  I have RTFM,
but TFM doesn't say very F much on the subject.

The question:
     How does one cope with a "Group DGROUP larger than 64Kbytes" error?

TFM's explanation (C user's guide, SCO):
     "Group 'name' larger than 64Kbytes
          A group 'name' has been defined that is larger than the
          maximum allowed for a physical segment.  Reduce the
          size of the group."

The REAL question:
     How DOES one reduce the size of the group.  In this particular case, I
am trying to compile ELM version 2.2 under SCO xenix on a 286 machine.  The
various Makefile's already avoid the problem of having a segment exceed 64K,
by using the flags -Ml2et32.  All the ancillary programs (filter, and utils)
compiled okay, but elm, itself, gets the above error instead.
     Would the -ND, -NM, or -NT options to the compiler be of any help?  I'm
not familiar with the use of these options, but they seem to be the only ones
that say anything even remotely related to the error. 

A side question:
     Are there any particular books that deal with C, under xenix, on 286's?
I have seen books about programming the 80286, but these have dealt with
assembly (the last assembly I did was on Z-80's!).  Also, there are numerous
books about C under unix, but they never seem to address xenix, or the 286.

     Please respond through mail, if possible (to rbarrell@ls.com), and I will
post a summary of the responses.

     Thanks in advance.

-------------------------------------------------------------------------------
     Robert Barrell - rbarrell@ls.com
     "Hodgepodge" - Sysop of Milo's Meadow - A Citadel/UX BBS
     215-323-0497 - 300/1200/2400 - 24hrs. - login as "bbs"
-------------------------------------------------------------------------------