3 ms·
I am interested in setting up cross compiling environment with Bazel. Do you have any recommended documentation that I can read?
by panda88888 6y ago
I am interested in setting up cross compiling environment with Bazel. Do you have any recommended documentation that I can read?
- panda88888 6y agoDid some searching and found this documentation on customizing C++ toolchain. I'll give it a try. https://docs.bazel.build/versions/master/tutorial/cc-toolchain-config.html https://docs.bazel.build/versions/master/tutorial/cc-toolcha...
- klodolph 6y agoThe documentation is not so great. What I’m doing is enabling platforms (https://docs.bazel.build/versions/master/platforms-intro.html 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.
- panda88888 6y agoThanks! I agree that the documentation isn’t that great and I feel there are lots of holes.