x86 and x64

Just starting out? Need help? Post your questions and find answers here.
User avatar
geoff
Enthusiast
Enthusiast
Posts: 128
Joined: Sun Apr 27, 2003 12:01 am
Location: Cornwall UK
Contact:

x86 and x64

Post by geoff »

A simple question about 32 and 64 bit versions but I've been unable to find the answer here.

PureBasic for Windows comes in 2 flavours, x86 and x64. x86 will run under any version of Windows, but the x64 version will only run with a 64 bit OS. Is this correct?

But what code do these compilers create? Does the x86 compiler create 32 bit code and the x64 compiler create 64 bit code?

Or does the x64 compiler create 32 bit code? Or is this an option?
Fred
Administrator
Administrator
Posts: 18161
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: x86 and x64

Post by Fred »

32 bit compiler produce only 32 bits code, and 64 bit compiler only 64 bit code. And yes, an apps in 64 bit can't be executed on a 32 bit OS (but an 32 bit app can be executed on a 64 bit OS).
User avatar
geoff
Enthusiast
Enthusiast
Posts: 128
Joined: Sun Apr 27, 2003 12:01 am
Location: Cornwall UK
Contact:

Re: x86 and x64

Post by geoff »

Than you Fred.
Post Reply