-
assigned issue to
Default target ignores OS bitness
Reproduction
-
Download 3.0.0 version of EPID SDK from EPID SDK site
-
Build on 64 Bit platform with 32-bit version of Windows 7 by invoking scons with default args
Result
Build Targets 64 bit platform, and unit tests fail to run in 32 bit environment.
--target=x86 will allow the build to work but unit tests will still fail to run, apparently they still believe they should run in 64 bit env
Comments (5)
-
-
Hi Marc,
So if i understand this correctly. I build a 64-bit version of the SDK on a 32-bit version of windows. I try to run the 64-bit code on a 32-bit version of windows and the 64-bit code fails to run on a 32-bit version of windows. Is this correct? I see you have
def set_default_production_options(): SetOptionDefault('TARGET_PLATFORM', 'x86_64') SetOptionDefault('CONFIG', 'release')
So by default you assume a 64-bit build.
From what I recall 32-bit windows will not run 64-bit code. Only 64-bit windows will run 32-bit and 64-bit code.
-
reporter Doh, That would explain the default behavior!
-
reporter - changed status to invalid
This is indented behavior due to default platform setting
-
reporter - changed status to closed
Not a bug
- Log in to comment