-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Toolchain config Windows #16247
Comments
I have had this problem on windows. I experienced the crash too. it seems that bazel interprets the backslashes as escape characters. by converting them to normal slashes (as in the unix/linux platform) it works... and it give to me other errors (but at least that problem is passed). Maybe the bazel developers will fix this sooner or later... |
This seems to be a default value added to something after the tutorial was written. I created a blank file "toolchain/empty" and it seems to satisfy. |
BUILD
This seems to expect a file named empty. So adding a blank file to the folder of the BUILD file solves that. Thanks @chickenandpork. Or declaring the srcs with an empty array also solves this.
|
In this case this ticket is a similar topic to the |
Thank you for contributing to the Bazel repository! This issue has been marked as stale since it has not had any activity in the last 1+ years. It will be closed in the next 90 days unless any other activity occurs. If you think this issue is still relevant and should stay open, please post any comment here and the issue will no longer be marked as stale. |
Description of the bug:
I try to get MinGw to work on Windows.
I try to use the local installed MinGw and configure it as toolchain. This is only the first step to understand how an embedded toolchain could be set up. But i fail when triyng to follow this tutorial and try to adapt it.
Trying to change the path to #Error 2
when i try to provide the path to the tool_path.path i get # error 1.
When i try to provide it by the actions i get this.
What went wrong?
If you could point my to the right direction it would be great.
A second questions would be, is there any tutorial thats shows how to use local installed tools/exe, without wrapping it in a script?
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
No response
Which operating system are you running Bazel on?
Windows 11
What is the output of
bazel info release
?release 5.3.0
If
bazel info release
returnsdevelopment version
or(@non-git)
, tell us how you built Bazel.No response
What's the output of
git remote get-url origin; git rev-parse master; git rev-parse HEAD
?No response
Have you found anything relevant by searching the web?
My own question. https://stackoverflow.com/questions/73614004/use-local-mingw-as-toolchain-on-windows
Any other information, logs, or outputs that you want to share?
No response
The text was updated successfully, but these errors were encountered: