[comp.os.os2.programmer] OS/2 2.0 C386 pass 2 out of heap space

james@bigtex.cactus.org (James Van Artsdalen) (09/27/90)

I am trying to port a large unix application to OS/2.  Unfortunately,
the C386 I have (from the 2.0 SDK) runs out of heap space in pass 2.

Is there a workaround to convince C386 to allocate a larger heap?
I assume the problem is that C386 is still a 286 application.
-- 
James R. Van Artsdalen          james@bigtex.cactus.org   "Live Free or Die"
Dell Computer Co    9505 Arboretum Blvd Austin TX 78759         512-338-8789

lsalomo@bambam.uucp (Lawrence W Salomon) (09/29/90)

In OS/2 running IBM C/2 (or Microsoft C 5.1+, I believe) one could use the
version of the compiler which itself was compiled using the large model 
(meaning a larger heap space) by renaming C1.EXE to C1S.EXE and C1L.EXE to
C1.EXE .  I don't know, however, if this can be done in OS/2 2.0 with C386.

Cheers,
Q