Conquer 4.0 on SysV/AT (was Re: Strange compiler message)
Steve Rudek
stever at tree.UUCP
Tue Jul 25 10:44:28 AEST 1989
In article <34 at jhereg.Minnetech.MN.ORG>, dab at jhereg.Minnetech.MN.ORG (David A. Bright) writes:
>
> Can anybody explain this message from the C compiler under System V/AT?
> "npc.c", line 393: compiler error: segment overwrite - get help
> *** Error code 1
>
You probably know by now that this type of error message is quite common
when trying to get source with complicated expressions to compile under
SysV/AT. The work around is to break up the complicated expressions
--things such as deeply nested && and || conditionals--and replace things
like A+=B with A=A+B.
I spent many hours working through conquer 4.0, though, only to find that I
could compile it but not run it -- it uses a huge array and, of course, Sys
V/AT doesn't support huge arrays. In some other cases it has been possible
to kludge around the need for a huge array by implementing a kludgy virtual
memory. However, conquer's references to the huge array are pervasive and
it seemed an extensive rewrite of the code would be required; I backburnered
it until the year after next :-).
(1) Does anyone have more ambition than I? That is, is anyone already
working on a conquer 4.0 hack?
(2) Why did Microport have 'no plans' to support the huge memory model?
Would it have been that big a deal for them to add that support?
(3) Has anyone worked on a generalized hack to fake virtual memory or, more
modestly, huge arrays?
--
----------
Steve Rudek {ucbvax!ucdavis!csusac OR ames!pacbell!sactoh0} !tree!stever
More information about the Comp.unix.microport
mailing list