Click to See Complete Forum and Search --> : A better compiler that VC++
abdul
Jul 12th, 2001, 03:05 PM
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?
ChimpFace9000
Jul 12th, 2001, 03:42 PM
VC++ can make them at 1kb. I used to know how, but i recently deleted the code.
SteveCRM
Jul 12th, 2001, 06:17 PM
Just set it to release mode ;)
ChimpFace9000
Jul 12th, 2001, 06:43 PM
That will get it down to around 35kb.
SteveCRM
Jul 12th, 2001, 06:49 PM
oh :)
well it's better than debug :D
abdul
Jul 12th, 2001, 06:56 PM
But how do I set the properties in VC++ so that I can get that small size?
SteveCRM
Jul 12th, 2001, 07:58 PM
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 :(
parksie
Jul 13th, 2001, 10:52 AM
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 ;)).
Wynd
Jul 13th, 2001, 01:29 PM
Originally posted by parksie
TINYCRT :)
What's that? :confused:
Wynd
Jul 13th, 2001, 01:30 PM
And for the DLL for the runtimes, how do you do that?
parksie
Jul 14th, 2001, 01:36 AM
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.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.