Thread: dev-c++ file sizes are huge

  1. #1
    Registered User
    Join Date
    Aug 2004
    Posts
    731

    dev-c++ file sizes are huge

    I am using Dev-C++ 4.9.9.2 with all the updates and when I make a dll with NOTHING in it (a dll that does nothing) the dll size is 400kb. Same thing if I create a win32 app or anything.

    Generate debuging info is off, if it is on it creates a file 1mb.

    Whats going on here?

  2. #2
    Registered User
    Join Date
    Apr 2005
    Posts
    42
    Try stripping the executable, it can cut you file sizes in half. While there is an option (somewhere) in dev-cpp to strip executables I normally (at the command line) do strip <exe name>.
    Hope that helps.

  3. #3
    Registered User
    Join Date
    Aug 2004
    Posts
    731
    Ahh ya went from 400kb to 11kb. That is the whole problem, thanks.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Newbie homework help
    By fossage in forum C Programming
    Replies: 3
    Last Post: 04-30-2009, 04:27 PM
  2. To find the memory leaks without using any tools
    By asadullah in forum C Programming
    Replies: 2
    Last Post: 05-12-2008, 07:54 AM
  3. Need Help Fixing My C Program. Deals with File I/O
    By Matus in forum C Programming
    Replies: 7
    Last Post: 04-29-2008, 07:51 PM
  4. Replies: 3
    Last Post: 03-04-2005, 02:46 PM
  5. System
    By drdroid in forum C++ Programming
    Replies: 3
    Last Post: 06-28-2002, 10:12 PM