|
-
Aug 4th, 2001, 12:16 PM
#1
Thread Starter
Fanatic Member
Smaller .exe size
I compiled a simple program to show or hide a window and the .exe file is 112kb, which seems a little big. How can I make it smaller? The "optimize for size" option in the borland free compiler 5.5 doesn't work.
Alcohol & calculus don't mix.
Never drink & derive.
-
Aug 4th, 2001, 12:42 PM
#2
Member
-
Aug 4th, 2001, 05:37 PM
#3
Compile your application in release mode.
Z.
-
Aug 4th, 2001, 07:02 PM
#4
Thread Starter
Fanatic Member
I'm not using VC++, i am using borland C++ compiler.
Alcohol & calculus don't mix.
Never drink & derive.
-
Aug 4th, 2001, 07:08 PM
#5
You should still be able to compile in a Release Mode. I cant believe that Borland could be that stupid, and not make it easy to remove all debugging symbols.
Z.
-
Aug 4th, 2001, 10:04 PM
#6
PowerPoster
Try these tips here:
http://pr0n.newhackcity.net/~sd/tinyexe.html
These are for VC++ but some of them can work on any compiler
-
Aug 5th, 2001, 12:47 AM
#7
Monday Morning Lunatic
If it doesn't use any C++ specific features such as classes or templates, then why not modify it to compile as C code? That will REALLY make a difference.
Also get stripreloc from www.jrsoftware.org
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|