Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 95855
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T23:43:25+00:00 2026-05-10T23:43:25+00:00

I have just installed the Platform SDK for Windows Server 2008 and .NET 3.5

  • 0

I have just installed the Platform SDK for Windows Server 2008 and .NET 3.5 on my new system, and for the first time tried to compile a project for WIN64. The Unicode Release version of that program, built for 32 bit (using the optimizing compiler from the no longer available Free Toolkit), comes in at about 2.8 MB. Using the amd64 compiler from the latest PSDK the program is more than 5 MB big.

I’m most concerned with program size, so everything is built with /O1 switch. I was expecting the program to become larger when built for 64 bit, but not that much. The size is more in line with a build from the Express version, where (some) optimizations are not available.

Do the compiler in the PSDK and the compiler from MSVC 2008 Professional create programs of very different sizes? Does the compiler in the PSDK optimize in the same way, or even at all?

Thanks for any insight.

Edit:

The program and all linked libraries are built using the same makefile.vc on the command line, so differences in compilation settings are not likely. I basically just used another command file to start a shell with proper environment for 64 bit compilation.

Here are the sizes for the application:

     VC++ Toolkit 2003   32 bit   cl.exe: 13.10.3052 for 80x86       2.916.352     Platform SDK        32 bit   cl.exe: 15.00.30729.01 for 80x86   2.881.536     Platform SDK        64 bit   cl.exe: 15.00.21022.08 for x64     5.138.432 

So the 64 bit version is 78% larger 🙁

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T23:43:25+00:00Added an answer on May 10, 2026 at 11:43 pm

    A 64-bit binary will be larger than a 32-bit binary due to code side differences, static data, etc. Our project comes in at 7.1MB (x86) vs 10.7MB (x64), and that is for a significant amount of code. Nearly doubling sounds excessive, unless you have a lot of pointer sized static data.

    Make sure you are linking with /OPT:REF to discard any unreferenced symbols.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 83k
  • Answers 83k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer I'm pretty sure that Delphi 5 handles spaces in filenames… May 11, 2026 at 4:51 pm
  • Editorial Team
    Editorial Team added an answer The better question might be "Why does C# have non-virtual… May 11, 2026 at 4:51 pm
  • Editorial Team
    Editorial Team added an answer If you have sufficient space and know the maximum size… May 11, 2026 at 4:51 pm

Related Questions

First a bit of background. I have been working on the MS platform for
I am trying to cross compile a version of my software for a 64bit
I downloaded NetBeans 6.5 complete pack with Java ME. And then I downloaded and
Update: Check out this follow-up question: Gem Update on Windows - is it broken?

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.