-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Support 32-bit c++ windows toolchain #10963
Copy link
Copy link
Closed
Labels
P2We'll consider working on this in future. (Assignee optional)We'll consider working on this in future. (Assignee optional)area-WindowsWindows-specific issues and feature requestsWindows-specific issues and feature requeststeam-OSSIssues for the Bazel OSS team: installation, release processBazel packaging, websiteIssues for the Bazel OSS team: installation, release processBazel packaging, websitetype: feature request
Metadata
Metadata
Assignees
Labels
P2We'll consider working on this in future. (Assignee optional)We'll consider working on this in future. (Assignee optional)area-WindowsWindows-specific issues and feature requestsWindows-specific issues and feature requeststeam-OSSIssues for the Bazel OSS team: installation, release processBazel packaging, websiteIssues for the Bazel OSS team: installation, release processBazel packaging, websitetype: feature request
Type
Fields
Give feedbackNo fields configured for issues without a type.
Description of the problem / feature request:
Bazel should support compiling 32-bit c++ build targets on windows.
Feature requests: what underlying problem are you trying to solve with this feature?
I need to compile c++ binaries that run on 32-bit windows.
Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Tried specifying
bazel build ... --cpu x86_32andbazel build ... --cpu i386(from bazelbuild/platforms), and both errored out with something like:What operating system are you running Bazel on?
Windows 10 / Windows 2019
What's the output of
bazel info release?Have you found anything relevant by searching the web?
Found claims on stackoverflow that bazel does not support this, and could not find another github issue specifically requesting it.
e.g. https://stackoverflow.com/questions/53291191/compile-a-c-project-wit-bazel-for-x86-32-bit#comment93518681_53318502