Compiling in large memory model

This is a discussion on Compiling in large memory model within the C++ Programming forums, part of the General Programming Boards category; How do I compile a program in large memory model with borland command line? I it should be possible by ...

  1. #1
    Registered User
    Join Date
    Aug 2001
    Posts
    79

    Compiling in large memory model

    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?

  2. #2
    alex
    Guest
    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

  3. #3
    Registered User
    Join Date
    Aug 2001
    Posts
    79
    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?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Memory allocation/reallocation
    By magda3227 in forum C Programming
    Replies: 10
    Last Post: 07-04-2008, 03:27 PM
  2. pointers
    By InvariantLoop in forum C Programming
    Replies: 13
    Last Post: 02-04-2005, 08:32 AM
  3. Locating A Segmentation Fault
    By Stack Overflow in forum C Programming
    Replies: 12
    Last Post: 12-14-2004, 12:33 PM
  4. Memory leak trackers
    By Darkness in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 11-30-2004, 01:03 PM
  5. Manipulating the Windows Clipboard
    By Johno in forum Windows Programming
    Replies: 2
    Last Post: 10-01-2002, 09:37 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21