How do I compile a program in large memory model with borland command line? I it should be possible by typing bcc32 -ml xxx.cpp, but it doesn't work. Help?
Printable View
How do I compile a program in large memory model with borland command line? I it should be possible by typing bcc32 -ml xxx.cpp, but it doesn't work. Help?
You can only select a memory model for real DOS applications with the old 16 bit versions of the borland C compiler (bcc)... "bcc32" is the 32 bit compiler, and it generates a so-called "win32 console application" by default. You don't have to worry about memory models, unless you want to create a real (16 bit) DOS application.
Hope this helps...
alex
Is it possible to make real dos-programs with borland command line? When I try to compile vga-programs with it I get a program that crasches immediately and this is exactly the problem I heard you would get if you didn't compile in large memory model.
Actually this isn't really necessary, I do have djgpp to compile dos-programs, but I sort of like borland better and it would be nice if I could use it.
Is it possible?