Thread: Djgpp Bloated executables

  1. #1
    Registered User
    Join Date
    Mar 2002
    Posts
    59

    DJGPP Bloated Executables

    Even when I use the -s parameter a simple hello world executable is 238 kb. What am I doing wrong, how can I make the executable smaller?

    I used:
    gpp -o exec.exe -s source.cc

    -Thanks Much-
    Last edited by Jperensky; 03-30-2002 at 09:03 AM.

  2. #2
    ¡Amo fútbol!
    Join Date
    Dec 2001
    Posts
    2,138
    Do you have the debugging info on? It will bloat your program if you do.

  3. #3
    I see your not using allegro. Because it is easy to get 236k with an allegro program, unless you do DLL version, which you can't do with DJGPP.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Small executables in VC++ 8
    By Bleech in forum Windows Programming
    Replies: 3
    Last Post: 06-20-2007, 08:28 AM
  2. Wav edit programmation for dos with DJGPP
    By sprudhom in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 07-17-2003, 07:35 AM
  3. STL + MSVC++ = big executables ?
    By teneniel in forum C++ Programming
    Replies: 6
    Last Post: 11-04-2002, 02:12 PM
  4. DJGPP assembly syntax ills...
    By VirtualAce in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 11-11-2001, 02:54 AM
  5. DJGPP help needed
    By dune911 in forum C++ Programming
    Replies: 6
    Last Post: 09-15-2001, 04:56 PM