You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -72,7 +72,13 @@ The following tools are required:
72
72
Depending on your Python installation, you may need to invoke `python` instead of `python3`. To install the packages system-wide, omit the `--user` option.
73
73
* A C compiler for the host platform, for some test data.
74
74
75
-
If you are cross-compiling, you must set the `CC` environment variable to a C compiler for the host platform when generating the configuration-independent files.
75
+
The scripts that generate the configuration-independent files will look for a host C compiler in the following places (in order of preference):
76
+
77
+
1. The `HOSTCC` environment variable. This can be used if `CC` is pointing to a cross-compiler.
78
+
2. The `CC` environment variable.
79
+
3. An executable called `cc` in the current path.
80
+
81
+
Note: If you have multiple toolchains installed, it is recommended to set `CC` or `HOSTCC` to the intended host compiler before generating the files.
76
82
77
83
Any of the following methods are available to generate the configuration-independent files:
0 commit comments