News for hackers. Stuff that matters.
Re:Please – A cross-language build system by panda88888 on Saturday November 28, 2020 @04:55PM (#25240892)
I am interested in setting up cross compiling environment with Bazel. Do you have any recommended documentation that I can read?
Re:Please – A cross-language build system by klodolph on Saturday November 28, 2020 @09:33PM (#25242500)
The documentation is not so great. What I’m doing is enabling platforms (https://docs.bazel.build/versions/master/platforms-intro.htm...), defining the OS and CPU target for my system, copying the configuration out of Bazel’s “local_config_cc”, and modifying it to fit my use case. This didn’t take me very long, but it’s also not the first time I’ve done it.
Re:Please – A cross-language build system by panda88888 on Sunday November 29, 2020 @01:25PM (#25246877)
Thanks! I agree that the documentation isn’t that great and I feel there are lots of holes.
Re:Please – A cross-language build system by panda88888 on Saturday November 28, 2020 @06:29PM (#25241481)
Did some searching and found this documentation on customizing C++ toolchain. I'll give it a try.

https://docs.bazel.build/versions/master/tutorial/cc-toolcha...