Serving the Quantitative Finance Community

 
User avatar
farmer
Topic Author
Posts: 63
Joined: December 16th, 2002, 7:09 am

compiling Windows programs to run 64 bits

December 5th, 2010, 6:55 pm

I have a 32-bit program which runs just fine on 64-bit Windows 7. So they must have a bunch of 32-bit dll's in there or something?Is there any way I can get it to run - including static lib and .a files in the compile - on 64-bit XP? Will I have to recompile all the lib files? Like libpthreadGC2.a?
Antonin Scalia Library http://antoninscalia.com
 
User avatar
renorm
Posts: 1
Joined: February 11th, 2010, 10:20 pm

compiling Windows programs to run 64 bits

December 5th, 2010, 7:08 pm

You need to recompile all binaries.
 
User avatar
farmer
Topic Author
Posts: 63
Joined: December 16th, 2002, 7:09 am

compiling Windows programs to run 64 bits

December 5th, 2010, 8:32 pm

Why does it run on Windows 7 64 bit?
Antonin Scalia Library http://antoninscalia.com
 
User avatar
renorm
Posts: 1
Joined: February 11th, 2010, 10:20 pm

compiling Windows programs to run 64 bits

December 5th, 2010, 9:29 pm

It runs in 32 bit mode. Win 64 comes with 32 bit versions of DLLs, including C-runtime.
 
User avatar
farmer
Topic Author
Posts: 63
Joined: December 16th, 2002, 7:09 am

compiling Windows programs to run 64 bits

December 5th, 2010, 11:45 pm

QuoteOriginally posted by: renormWin 64 comes with 32 bit versions of DLLs, including C-runtime.Just Windows 7 or Vista and XP also?
Antonin Scalia Library http://antoninscalia.com
 
User avatar
Hansi
Posts: 41
Joined: January 25th, 2010, 11:47 am

compiling Windows programs to run 64 bits

December 6th, 2010, 12:23 am

QuoteOriginally posted by: farmerQuoteOriginally posted by: renormWin 64 comes with 32 bit versions of DLLs, including C-runtime.Just Windows 7 or Vista and XP also?They do have compatibility mode too but it's not as complete and very unstable.
 
User avatar
CurtHagenlocher
Posts: 0
Joined: May 26th, 2010, 12:42 pm

compiling Windows programs to run 64 bits

December 6th, 2010, 7:57 pm

All 64-bit versions of Windows -- XP, Vista and Win7 -- effectively ship with both the 32-bit and 64-bit versions of the user-mode Windows DLLs. I used 64-bit Windows XP for well over a year and never had any trouble running 32-bit software which ran successfully on 32-bit XP.
 
User avatar
farmer
Topic Author
Posts: 63
Joined: December 16th, 2002, 7:09 am

compiling Windows programs to run 64 bits

December 7th, 2010, 3:11 pm

Argh. You think it would help if I bought book that explains what bits are? Maybe I should just hire someone else to do this. My program opens up a window when Windows starts, which shows the name of the user who is signed in. Is there somewhere I can buy a program that does something like that? Our company budget to get this working is $2500.
Antonin Scalia Library http://antoninscalia.com
 
User avatar
dd3
Posts: 4
Joined: June 8th, 2010, 9:02 am

compiling Windows programs to run 64 bits

December 11th, 2010, 3:26 pm

echo %USERNAME%cheque's in the post, ya?