Results 1 to 11 of 11

Thread: A better compiler that VC++

  1. #1

    Thread Starter
    PowerPoster abdul's Avatar
    Join Date
    Dec 2000
    Location
    Ontario,Canada
    Posts
    2,827

    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?
    Baaaaaaaaah

  2. #2
    ChimpFace9000
    Guest
    VC++ can make them at 1kb. I used to know how, but i recently deleted the code.

  3. #3
    Frenzied Member
    Join Date
    Jul 1999
    Posts
    1,800
    Just set it to release mode

  4. #4
    ChimpFace9000
    Guest
    That will get it down to around 35kb.

  5. #5
    Frenzied Member
    Join Date
    Jul 1999
    Posts
    1,800
    oh


    well it's better than debug

  6. #6

    Thread Starter
    PowerPoster abdul's Avatar
    Join Date
    Dec 2000
    Location
    Ontario,Canada
    Posts
    2,827

    but

    But how do I set the properties in VC++ so that I can get that small size?
    Baaaaaaaaah

  7. #7
    Frenzied Member
    Join Date
    Jul 1999
    Posts
    1,800
    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

  8. #8
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    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

  9. #9
    Fanatic Member Wynd's Avatar
    Join Date
    Dec 2000
    Location
    In a bar frequented by colossal death robots
    Posts
    772
    Originally posted by parksie
    TINYCRT
    What's that?
    Alcohol & calculus don't mix.
    Never drink & derive.

  10. #10
    Fanatic Member Wynd's Avatar
    Join Date
    Dec 2000
    Location
    In a bar frequented by colossal death robots
    Posts
    772
    And for the DLL for the runtimes, how do you do that?
    Alcohol & calculus don't mix.
    Never drink & derive.

  11. #11
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    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
  •  



Click Here to Expand Forum to Full Width