SCO "runbig" strangeness

Ross Oliver rosso at sco.COM
Fri Apr 15 03:43:07 AEST 1988


In article <12 at stanton.TCC.COM> donegan at stanton.TCC.COM (Steven P. Donegan) writes:
>In article <18 at libove.UUCP>, root at libove.UUCP (The Super User) writes:
>> 
>> Hi world. I just tried to use the "runbig" command to execute a
>> very large editor I just built, because just executing the program
>> gets a "not enough core" error. The executable is 330K or so, and
>
>I have found that the following compile switch works well and does not
>require any use of runbig (and I've never seen runbig work):
>
>add this to your compile lines   -Ml2t128
>
>This seems to work for my monster size programs (I know, size is relative
>but what do you want from a segmented architecture).
>-- 
>Steven P. Donegan
>Sr. Telecommunications Analyst
>Western Digital Corp.
>donegan at stanton.TCC.COM

The "not enough core" message (from the C shell, or "too big" from the
Bourne shell) means that your first data segment plus your stack exceeds
64K.  It has nothing to do with the total size of the program, or your
maximum process size.  Mr. Donegan's solution forces some data out of the
first segment into other data segments.  You can also use fixhdr(C) to
reduce the stack allocation (default is 4K).  The size(CP) utility
will tell you the size of the first data segment.  For a more detailed
explanation of this and other problems related to programming in the *86
segmented architecture, see my article on memory models in the March/April
issue of Discover, SCO's bimonthly newsletter.  If you don't have a copy,
I can e-mail the article on request.

Ross Oliver
Technical Support
The Santa Cruz Operation, Inc.
{uunet, decvax!microsoft, ucbvax!ucscc}!sco!rosso



More information about the Comp.unix.xenix mailing list