www.digitalmars.com         C & C++   DMDScript  

c++.dos.16-bits - STACK

reply "Zbynìk Jaro¹" <jaros swotes.cz> writes:
Hallo,

How to set stack for Tiny model?

Thanx

Z.

C:\>sc c:\projekty\dos\pokus1.cpp -mt -cpp -d  -o -s -4 -l -g- -S
link ct+pokus1,pokus1/noi;
OPTLINK (R) for Win32  Release 7.50B1
Copyright (C) Digital Mars 1989 - 2001  All Rights Reserved
OPTLINK : Warning 23: No Stack
EXE2BIN pokus1.exe pokus1.com
DEL pokus1.exe
C:\>
Sep 11 2001
parent "Walter" <walter digitalmars.com> writes:
You can set it via the command line when you run the .com program with:

    program =nnnn


Zbynìk Jaro¹ wrote in message <9nl1rn$183e$1 digitaldaemon.com>...
Hallo,

How to set stack for Tiny model?

Thanx

Z.

C:\>sc c:\projekty\dos\pokus1.cpp -mt -cpp -d  -o -s -4 -l -g- -S
link ct+pokus1,pokus1/noi;
OPTLINK (R) for Win32  Release 7.50B1
Copyright (C) Digital Mars 1989 - 2001  All Rights Reserved
OPTLINK : Warning 23: No Stack
EXE2BIN pokus1.exe pokus1.com
DEL pokus1.exe
C:\>
Sep 11 2001