954,123 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

can somebody compile this?

I have this code which I need to be compiled in 64-bit mode but have no 64-bit capable compiler. First of all, could somebody compile this code for me and put the executable on filedropper.com or something? And second of all, does anybody know of a free 64-bit capable compiler for Windows Vista?

dzhugashvili
Light Poster
35 posts since Jun 2009
Reputation Points: 10
Solved Threads: 0
 
does anybody know of a free 64-bit capable compiler for Windows Vista?

If you are a comp/sci student you can download Visual Studio Professional (for free) off of Dreamspark - if you need a 64 bit OS you can get Server 2008 R2 off of there too.

if you are not a student, i think GCC (MinGW on windows) may be able to. Im prettysure you cant cross compile though (meaning to make 64 bit binaries, you must be running a 64 bit compiler on a 64 bit capable OS and CPU).

jbennet
Moderator
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,820
Solved Threads: 600
 

Visual C++ (other than the free express editions) can compile 64bit directly in the IDE. It does appear that you can compile from the Express edition, using command line compilation. See here

vmanes
Posting Virtuoso
1,914 posts since Aug 2007
Reputation Points: 1,268
Solved Threads: 228
 

Do you mean I can compile code in 64-bit mode using Express Edition? I thought 64-bit compilation was entirely out of question for Express Edition. I just installed Professional Edition on a 64-bit machine under a 32-bit operating system. How do I proceed to compile my code in 64-bits? Or do I need a 64-bit operating system, too. I still have Express installed on a 64-bit machine running 64-bit Vista.

dzhugashvili
Light Poster
35 posts since Jun 2009
Reputation Points: 10
Solved Threads: 0
 

alright so I tried the steps here

http://msdn.microsoft.com/en-us/library/9yb4317s.aspx

to target my application to 64-bit under both Express and professional editions, bot neither of them had the option of a 64-bit platform under the New Solution Platform Dialog Box

dzhugashvili
Light Poster
35 posts since Jun 2009
Reputation Points: 10
Solved Threads: 0
 

Got it. Evidently the "full" installation didn't include the 64-bit compilers. An update solved the problem. Thanks!

dzhugashvili
Light Poster
35 posts since Jun 2009
Reputation Points: 10
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You