compiling... plese help

This is a discussion on compiling... plese help within the C Programming forums, part of the General Programming Boards category; Hi i am using the Dev c++ Ide and standard compiler which came with it. my question is can i ...

  1. #1
    g_harl
    Guest

    Post compiling... plese help

    Hi i am using the Dev c++ Ide and standard compiler which came with it. my question is can i create a .com file instead of a .exe file

    thanks

    c newbie

  2. #2
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,648
    A .com has everthing in one segment (data, code, etc) and must be < 64k and uses 16bit addressing. Atleast back in good 'ole DOS days.

    You might be able to get your compiler to do it with the right options to it and the underlying assembler. Otherwise, you'll have to use straight-up assembly and an assembler to get a .com executable.


    gg

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problem compiling files that store functions
    By tiachopvutru in forum C++ Programming
    Replies: 10
    Last Post: 05-30-2008, 05:42 PM
  2. Screwy Linker Error - VC2005
    By Tonto in forum C++ Programming
    Replies: 5
    Last Post: 06-19-2007, 02:39 PM
  3. Compiling
    By Dae in forum C++ Programming
    Replies: 7
    Last Post: 06-15-2005, 01:08 AM
  4. compiling and executing issue with lcc win32
    By GanglyLamb in forum C Programming
    Replies: 10
    Last Post: 12-22-2004, 01:24 PM
  5. Compiling syntax
    By Jez_Master in forum C++ Programming
    Replies: 3
    Last Post: 04-01-2002, 08:46 PM

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