-
July 28th, 2013, 03:30 PM
#1
32-bit vs 64-bit
Hi, ALL,
I have MSVS 2010 Pro installed on my machine.
I got it from MS official site thru my college.
The Help->About.. menu says:
Microsoft Visual Studio 2010 Version 10.0.40219.1 SP1Rel.
It does not say whether its 32- or 64-bit compiler but I suspect it's 32-bit.
Now, as far as I understand in order to produce 64-bit executable, I need 64-bit support from the compiler and 64-bit SDK. Am I right?
How do I get 64-bit support in my MSVC?
I am working with C++.
Thank you.
-
July 28th, 2013, 05:37 PM
#2
Re: 32-bit vs 64-bit
Originally Posted by OneEyeMan
Now, as far as I understand in order to produce 64-bit executable, I need 64-bit support from the compiler and 64-bit SDK. Am I right?
How do I get 64-bit support in my MSVC?
Go to the project configuration and look for 64-bit options.
Also, you don't need a 64-bit compiler to produce 64-bit code. All you're doing when you produce code is to create a binary file that follows a certain format (executable).
Regards,
Paul McKenzie
-
July 28th, 2013, 06:03 PM
#3
Re: 32-bit vs 64-bit
Paul,
So no matter what I will be able to produce 64-bit binary with my version of MSVS by just changing the appropriate option in the solution/project?
Thank you.
-
July 28th, 2013, 06:11 PM
#4
Re: 32-bit vs 64-bit
Originally Posted by OneEyeMan
Paul,
So no matter what I will be able to produce 64-bit binary with my version of MSVS by just changing the appropriate option in the solution/project?
Thank you.
Yes.
The only way you couldn't generate 64-bit code is if, well, the compiler didn't produce 64-bit code. The point being that the compiler program can be any "bitness", it isn't the "bitness" of the compiler that matters. What matters is if the compiler and linker can piece together an executable that has a 64-bit compatible format. Heck, you could conceivably create a 64-bit executable using a 16-bit compiler.
Regards,
Paul McKenzie
-
July 29th, 2013, 07:52 AM
#5
Re: 32-bit vs 64-bit
You need to have the full VS (express doesn't support Win64)... if using express, you may get it to work by installing the 64bit compiler from the Windows SDK.
-
July 29th, 2013, 10:23 AM
#6
Re: 32-bit vs 64-bit
Best regards,
Igor
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
|