Author Topic: A simple question, how do i enlarge the exe file after compiling a c file?  (Read 5534 times)

j-lee00

  • Guest
A simple question, how do i enlarge the exe file after compiling a c file?

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
You can use the enlarge tool (see attachment).

Open a DOS window and type enlarge yourprogram.exe. Alternatively, you can run the enlarge tool as a post-build step. To do that, add the command to your project build options.

[attachment deleted by admin]
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
That's pretty damn cool! 8) I can now convince my boss that I was really hard-working as the new version of my software just grows and grows... Sounds like good times to me...
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
I found out something other really interesting:
If you want to hide your enlargement of the application you can use upx (http://upx.sourceforge.net/) and do it like this:

First:
enlarge.exe yourapplication.exe
Second:
upx.exe yourapplication.exe

...works really stable for me.
« Last Edit: June 18, 2008, 04:44:20 pm by MortenMacFly »
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1441
    • CenizaSOFT
Just what I've been looking for...

Is there a Linux port of it? Maybe it runs on WINE now that version 1.0 is out... or maybe I should just switch back to Windows...

I can't believe you guys didn't tell me about it before :(

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
I might open source it, although I'm not decided about the license yet :P

After all, it's the most useful tool of 2008.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Too bad it doesn't have its own sourceforge project. This way we could nominate it for "Best project" :lol:
Be patient!
This bug will be fixed soon...