News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

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

Started by j-lee00, June 18, 2008, 03:15:18 PM

Previous topic - Next topic

j-lee00

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

thomas

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."

MortenMacFly

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: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

MortenMacFly

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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

Ceniza

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 :(

thomas

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."

mandrav

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...