|
-
Jul 12th, 2001, 03:05 PM
#1
Thread Starter
PowerPoster
A better compiler that VC++
Visual C++ is best compiler but is there any other compiler that can produce ".exe" file in very low size. VC++ takes lots of space even for a small program. I can write and test my programs better than the other compilers but When I have problem with a certain program, and I want to post the code in the forum in a file, it should be of a good size like in KBs.
Is there any compiler like that?
-
Jul 12th, 2001, 03:42 PM
#2
VC++ can make them at 1kb. I used to know how, but i recently deleted the code.
-
Jul 12th, 2001, 06:17 PM
#3
Frenzied Member
Just set it to release mode
-
Jul 12th, 2001, 06:43 PM
#4
That will get it down to around 35kb.
-
Jul 12th, 2001, 06:49 PM
#5
Frenzied Member
oh 
well it's better than debug
-
Jul 12th, 2001, 06:56 PM
#6
Thread Starter
PowerPoster
but
But how do I set the properties in VC++ so that I can get that small size?
-
Jul 12th, 2001, 07:58 PM
#7
Frenzied Member
Build -> Set Active Configuration
then just compile it and its in the release folder. Just remember to change it back when you're done....or else you can get some annoying errors
-
Jul 13th, 2001, 10:52 AM
#8
Monday Morning Lunatic
Originally posted by ChimpFace9000
VC++ can make them at 1kb. I used to know how, but i recently deleted the code.
TINYCRT 
Also, set it to use a DLL for the runtime libraries - since most people have them (a lot more widespread than the VB runtimes since Windows needs them ).
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
-
Jul 13th, 2001, 01:29 PM
#9
Fanatic Member
Originally posted by parksie
TINYCRT
What's that?
Alcohol & calculus don't mix.
Never drink & derive.
-
Jul 13th, 2001, 01:30 PM
#10
Fanatic Member
And for the DLL for the runtimes, how do you do that?
Alcohol & calculus don't mix.
Never drink & derive.
-
Jul 14th, 2001, 01:36 AM
#11
Monday Morning Lunatic
TINYCRT is a library that implements the most commonly-used standard library functions (C support only, but would probably work for C++). Search on MSDN, I lost the link 
Project Settings->C++ and choose C++ Language from the list. There should be an option for choosing what you use. Make sure you take the DLL version of what's already in there or you'll mess it up. Make sure to get the same thread type.
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
|