Thread: How to Optimize

  1. #1
    Registered User cfrost's Avatar
    Join Date
    Apr 2004

    How to Optimize

    How can i optimize the size of exe and lib files produced by DEV C++ ver 4.9.9 (5 beta) , the produced ones are to large
    Software is like sex it is good when it is free

  2. #2
    Registered User subdene's Avatar
    Join Date
    Jan 2002
    try making sure that you are building a release build, and not a debug one. Also look for any additional header files that you might of included and do not need.
    Be a leader and not a follower.

  3. #3
    Registered User
    Join Date
    Jun 2004
    I've noticed that win32 apps compiled with DEV-C++ are huge!
    Almost as double as with MS compiler from VC6.
    But for console apps its very good.. only 17 18 KB minimum for file size.

  4. #4
    Registered User cfrost's Avatar
    Join Date
    Apr 2004
    I have disabled generate debug info but still hugeeeeeee
    Software is like sex it is good when it is free

  5. #5
    Registered User major_small's Avatar
    Join Date
    May 2003
    you'll have to search through all the options... there are several in there to help you optimize your code (they're disabled by default)...

    I'm not sure how much that'll help you, because I haven't played with them too much myself...
    Join is in our Unofficial Cprog IRC channel
    Channel: #Tech

    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

  6. #6
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Place your functions/classes in DLLs. This should decrease the size of the actual static EXE.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Optimize file writing
    By Opariti in forum Windows Programming
    Replies: 7
    Last Post: 10-23-2008, 01:32 PM
  2. Replies: 11
    Last Post: 12-29-2007, 09:19 AM
  3. Replies: 6
    Last Post: 12-19-2007, 12:24 PM
  4. Can I further Optimize this script?
    By gross100 in forum C++ Programming
    Replies: 4
    Last Post: 12-14-2005, 02:40 AM
  5. Wanna Optimize my code?
    By Echo in forum C++ Programming
    Replies: 10
    Last Post: 08-15-2005, 01:24 AM