The entire crosstool format is probably too hairy, but we should definitely have examples how to configure embedded toolchains.
Assigning to myself as I designed the original crosstool format. But any help is appreciated.
there are some examples on
the best documentation currently is the included CROSSTOOL
https://github.com/bazelbuild/bazel/blob/master/tools/cpp/CROSSTOOL
together with the proto definition,
https://github.com/bazelbuild/bazel/blob/master/src/main/protobuf/crosstool_config.proto
Perhaps let's add a brief definition of what the CROSSTOOL file is and what it is used for in the documentation on bazel.io? There are mentions of CROSSTOOL on the site but I don't think we ever explain what it is anywhere.
internal ref: b/19928718
Note that there are now two wiki pages:
Thanks! This is very helpful.
FWIW I discovered we have an extensive documentation internally, we should maybe make it publicly available.
So I checked the internal documentation and it's roughly on par with the public facing one. We will most definitely update the documentation after making CROSSTOOL more expressive and simpler in 2017, but that kind of goes without saying. So let me close this issue for now.
Most helpful comment
FWIW I discovered we have an extensive documentation internally, we should maybe make it publicly available.