├── .gitignore
├── LICENSE
├── config
├── CHANGELOG.md
├── README.md
├── LICENSE-Apache-2.0
├── LICENSE-GPL-2.0
├── crosstool-ng-config-x86_64
└── crosstool-ng-config-aarch64
/.gitignore:
--------------------------------------------------------------------------------
1 | build
2 |
3 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | # License
2 |
3 | By contributing to osquery you agree that your contributions will be licensed
4 | under the terms of both the [LICENSE-Apache-2.0](LICENSE-Apache-2.0) and the
5 | [LICENSE-GPL-2.0](LICENSE-GPL-2.0) files in the root of this source tree.
6 |
7 | If you're using osquery you are free to choose one of the provided licenses.
8 |
9 | `SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-only`
10 |
--------------------------------------------------------------------------------
/config:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | # For GCC configurations please look at crosstool-ng-config
3 |
4 | # The vendor part has to be changed also in the crosstool-ng-config file
5 | TUPLE=$MACHINE-osquery-linux-gnu
6 |
7 | ZLIB_VER="1.2.13"
8 | ZLIB_URL="https://zlib.net/zlib-${ZLIB_VER}.tar.gz"
9 | ZLIB_SHA="b3a24de97a8fdbc835b9833169501030b8977031bcb54b3b3ac13740f846ab30"
10 |
11 | LLVM_VERSION="11.0.0"
12 | GCC_VERSION="8.3.0" # Notice: this has to match the same version that has been configured in crosstool-ng-config
13 |
14 | PARALLEL_JOBS=$(( $(nproc)+1 ))
15 | BUILD_GENERATOR="Ninja"
16 |
17 | # Valid values: Release, RelWithDebInfo, MinSizeRel, Debug
18 | LLVM_BUILD_TYPE=MinSizeRel
19 |
20 | # If this is false, only the last stage with the clang compile and the first stage, with crosstool gcc will be kept
21 | KEEP_INTERMEDIATE_STAGES=0
22 |
--------------------------------------------------------------------------------
/CHANGELOG.md:
--------------------------------------------------------------------------------
1 |
2 | ## [v1.1.0](https://github.com/osquery/osquery-toolchain/releases/tag/v1.1.0)
3 |
4 | - Keep the LLVM libraries in the final stage. This change has been introduced to support code generators (i.e.: BPF) (be224c7)
5 | - Add a Docker-based build script (be224c7)
6 | - Add an option to keep intermediate stages (e1e283b)
7 | - Update LLVM to version 9.0.1 (88f0611)
8 | - Fix scan-build support (203e5d6)
9 | - Implement AArch64 support (96c5875)
10 |
11 | The following assets and hashes are included in this release.
12 |
13 | ```
14 | 9cc3980383e0626276d3762af60035f36ada5886389a1292774e89db013a2353 osquery-toolchain-1.1.0-x86_64.tar.xz
15 | 19efe094031b9eab31e49438df7ae7bae9c4e4fc65e94f94e35f8c0ee23fe57c osquery-toolchain-1.1.0-aarch64.tar.xz
16 | ```
17 |
18 |
19 | ## [1.0.0](https://github.com/osquery/osquery-toolchain/releases/tag/1.0.0)
20 |
21 | This is the first version of the `x86_64-osquery-linux-gnu` toolchain.
22 | It is designed to build a release version of osquery such that the resulting binaries can be run on a large number of Linux flavors.
23 |
24 | A LLVM compiler, minimal sysroot, and other required tools such as GCC's assembler are provided.
25 |
26 | Versions used:
27 | - linux headers 4.7.10
28 | - zlib 1.2.11
29 | - llvm 8.0.1
30 | - gcc 8.3.0
31 | - glibc 2.12.2
32 | - binutils 2.30
33 | - crosstool-ng 1.24.0
34 |
35 | The following assets and hashes are included in this release.
36 |
37 | ```
38 | cfa65cfcc40cd804d276a43a2c3a0031bd371b32d35404e53e5450170ac63a69 osquery-toolchain-1.0.0.tar.xz
39 | ```
40 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # osquery-toolchain
2 | The script in this repository is used to build the LLVM/Clang toolchain which is used in the osquery project to create portable binaries of it.
3 | The procedure to build such a toolchain has been based on the build-anywhere project: https://github.com/theopolis/build-anywhere
4 |
5 | Following the main goals of the toolchain:
6 | - Obtain a LLVM/Clang toolchain which is portable and which doesn't depend from libstdc++ or libgcc.
7 | - The toolchain is compiled with a specific glibc version, so that it runs on a wide range of distributions.
8 | - The toolchain lives in a sysroot folder which should be self sufficient.
9 | - The toolchain should be able to produce binaries that are portable and run on libc >= 2.12.
10 | To do so, the output binary should depend only on shared libraries which are deeply connected with the environment they run on,
11 | typically libc, libdl, librt, libpthread.
12 |
13 | The rough steps used to achieve the above goals:
14 | - Use crosstool-ng to compile a stage0 GCC static toolchain, which might be newer than the one available in the system.
15 | - Compile an older libz/zlib which is compatible with the old glibc.
16 | - Link all GCC binaries into the sysroot created by crosstool-ng, so that the sysroot can be used for the next steps
17 | - Compile a first Clang and lld (stage1), which uses libstdc++.
18 | - Use the stage1 Clang to compile a stage1 compiler-rt (builtins only).
19 | - Use the stage1 Clang/lld to compile a stage1 libc++, which will use the previously compiled compiler-rt
20 | - Use the stage1 Clang/lld to compile the rest of compiler-rt (\*san libraries) and link them to the stage1 compiler-rt builtins
21 | - Use the stage1 Clang to compile a stage1 libunwind (static only)
22 | - Use the stage1 Clang, libunwind, libc++/c++abi, compiler-rt builtins, to build a final/full toolchain
23 |
24 | The version of crosstool-ng used is 1.24.0
25 | The version of the GCC compiler built by crosstool-ng is 8.3.0
26 | The version of the libc library built by crosstool-ng is 2.12.2
27 | The version of LLVM/Clang built by the script is 11.0.0
28 | The version of the zlib library built by the script is 1.2.11
29 |
30 | Among other, the toolchain LLVM/Clang includes the clang static analyzer, scan-build, clang-format, clang-tidy.
31 |
32 | # How to build
33 | Using a recent distribution with GCC 8 is suggested to reduce the possible crashes and issues that may happen when compiling
34 | the portable GCC toolchain.
35 | For the instructions we will use Ubuntu 18.04.
36 |
37 | ## Prerequisites
38 | ```
39 | sudo apt install g++-8 gcc-8 automake autoconf gettext bison flex unzip help2man libtool-bin libncurses-dev make ninja-build patch txinfo gawk wget git texinfo xz-utils python
40 | ```
41 | Then use `update-alternatives` to tell the system that the version of GCC/G++ and CPP is the default we would like to use:
42 | ```
43 | sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 20
44 | sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 20
45 | sudo update-alternatives --install /usr/bin/cpp cpp /usr/bin/cpp-8 20
46 | ```
47 | Download and install CMake 3.17.5
48 | ```
49 | wget https://github.com/Kitware/CMake/releases/download/v3.17.5/cmake-3.17.5-Linux-x86_64.tar.gz
50 | sudo tar xvf cmake-3.17.5-Linux-x86_64.tar.gz -C /usr/local --strip 1
51 | ```
52 |
53 | ## Customize the configuration
54 | The default configuration is ready to go, though if customization is needed, there are two files that can be modified: config and crosstool-ng-config.
55 | - *config* contains global configuration values like, versions of llvm, zlib, how many parallel jobs to use, which build system to use and such.
56 | - *crosstool-ng-config* contains the configuration that is feed into the crosstool-ng tool, which compiles the portable GCC.
57 | It controls the GCC version built, libc and kernel headers version to build everything.
58 | This is config normally generated by another tool that crosstool-ng provides, but the config can be manually modified after being generated.
59 |
60 | ## Build
61 | The script has to be run as a normal user and accepts one argument, which is the folder where the various stages and the final toolchain will be built:
62 | ```
63 | ./build.sh /opt/osquery-toolchain
64 | ```
65 | This should output the sysroot under `/opt/osquery-toolchain/final` and the LLVM toolchain will be under `/opt/osquery-toolchain/final/sysroot/usr`
66 |
67 | ## Redistributing and usage
68 | 1. Enter inside the **final** folder within the destination path
69 | 2. Rename the **sysroot** folder to **osquery-toolchain**
70 | 3. Compress the folder with the following command: `tar -pcvJf osquery-toolchain-.tar.xz osquery-toolchain`
71 |
72 | Make sure that the **** field matches a valid tag, for example: `osquery-toolchain-1.0.1.tar.xz`.
73 |
74 | The generated tarball can then be uncompressed wherever you like on the target machine.
75 |
76 | The toolchain defaults to using libc++ as the C++ standard library, compiler-rt as part of the builtins it needs, instead of relying on libgcc and lld as the linker; so these are implicit.
77 | libc++abi has to be explicitly linked when compiling C++ with `l:libc++abi.a` instead; merged with it there's also libunwind, which is therefore implicit.
78 | Sometimes explicitly adding `-ldl` and/or `-lrt` is needed, depending on what functions the binary is using.
79 | The only other flag that's needed is `--sysroot=`, so that the toolchain searches what it needs in the correct path.
80 |
81 | ## Troubleshooting
82 | If the compilation stops at any point in time, just relaunching the script should restart it.
83 | The script doesn't delete anything when it restarts the build, so if you want to start clean from some substep, you need to do that manually.
84 |
85 | So for more advanced troubleshooting, following the build example in general we have:
86 | - `/opt/osquery-toolchain/stage0`: here lives crosstool-ng source code, build, zlib source code, build and GCC/G++ toolchain compiled by crosstool-ng. The GCC/G++ toolchain folder is also copied on the next stages
87 | - `/opt/osquery-toolchain/stage1`: here lives the intermediate LLVM/Clang toolchain, together with a copy of the previous step GCC/G++ toolchain and it's used to build the final toolchain
88 | - `/opt/osquery-toolchain/final`: here lives the final sysroot containing only the LLVM/Clang toolchain we want to use
89 | - `/opt/osquery-toolchain/llvm`: here lives the source code for the LLVM/Clang and the various build folders for the LLVM build substeps
90 |
91 | The script decides it has to build one of the stages if it doesn't find a specific file in one of the install folders (stage0, stage1, final).
92 | - For crosstool-ng is `/opt/osquery-toolchain/stage0/crosstool-ng/ct-ng`.
93 | - For GCC is `/opt/osquery-toolchain/stage0/x86_64-osquery-linux-gnu/bin/x86_64-osquery-linux-gnu-gcc`
94 | - For zlib is `/opt/osquery-toolchain/stage0/x86_64-osquery-linux-gnu/x86_64-osquery-linux-gnu/usr/lib/libz.a`
95 | - For LLVM/Clang stage1 is `/opt/osquery-toolchain/stage0/x86_64-osquery-linux-gnu/x86_64-osquery-linux-gnu/sysroot/usr/bin/clang`
96 | - For compiler-rt builtins is `/opt/osquery-toolchain/x86_64-osquery-linux-gnu/x86_64-osquery-linux-gnu/sysroot/usr/lib/clang//lib/linux/libclang_rt.builtins-x86_64.a`
97 | - For libc++, libc++abi, libunwind, which are compiled together, is one of `/opt/osquery-toolchain/x86_64-osquery-linux-gnu/x86_64-osquery-linux-gnu/sysroot/usr/lib/libc++.a` `/opt/osquery-toolchain/x86_64-osquery-linux-gnu/x86_64-osquery-linux-gnu/sysroot/usr/lib/libc++abi.a` `/opt/osquery-toolchain/x86_64-osquery-linux-gnu/x86_64-osquery-linux-gnu/sysroot/usr/lib/libunwind.a`
98 | - For the LLVM/Clang and respective libraries of the final stage is `/opt/osquery-toolchain/final/sysroot/usr/bin/clang`, because the install step is a single unit.
99 |
--------------------------------------------------------------------------------
/LICENSE-Apache-2.0:
--------------------------------------------------------------------------------
1 | Apache License
2 | Version 2.0, January 2004
3 | http://www.apache.org/licenses/
4 |
5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6 |
7 | 1. Definitions.
8 |
9 | "License" shall mean the terms and conditions for use, reproduction,
10 | and distribution as defined by Sections 1 through 9 of this document.
11 |
12 | "Licensor" shall mean the copyright owner or entity authorized by
13 | the copyright owner that is granting the License.
14 |
15 | "Legal Entity" shall mean the union of the acting entity and all
16 | other entities that control, are controlled by, or are under common
17 | control with that entity. For the purposes of this definition,
18 | "control" means (i) the power, direct or indirect, to cause the
19 | direction or management of such entity, whether by contract or
20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the
21 | outstanding shares, or (iii) beneficial ownership of such entity.
22 |
23 | "You" (or "Your") shall mean an individual or Legal Entity
24 | exercising permissions granted by this License.
25 |
26 | "Source" form shall mean the preferred form for making modifications,
27 | including but not limited to software source code, documentation
28 | source, and configuration files.
29 |
30 | "Object" form shall mean any form resulting from mechanical
31 | transformation or translation of a Source form, including but
32 | not limited to compiled object code, generated documentation,
33 | and conversions to other media types.
34 |
35 | "Work" shall mean the work of authorship, whether in Source or
36 | Object form, made available under the License, as indicated by a
37 | copyright notice that is included in or attached to the work
38 | (an example is provided in the Appendix below).
39 |
40 | "Derivative Works" shall mean any work, whether in Source or Object
41 | form, that is based on (or derived from) the Work and for which the
42 | editorial revisions, annotations, elaborations, or other modifications
43 | represent, as a whole, an original work of authorship. For the purposes
44 | of this License, Derivative Works shall not include works that remain
45 | separable from, or merely link (or bind by name) to the interfaces of,
46 | the Work and Derivative Works thereof.
47 |
48 | "Contribution" shall mean any work of authorship, including
49 | the original version of the Work and any modifications or additions
50 | to that Work or Derivative Works thereof, that is intentionally
51 | submitted to Licensor for inclusion in the Work by the copyright owner
52 | or by an individual or Legal Entity authorized to submit on behalf of
53 | the copyright owner. For the purposes of this definition, "submitted"
54 | means any form of electronic, verbal, or written communication sent
55 | to the Licensor or its representatives, including but not limited to
56 | communication on electronic mailing lists, source code control systems,
57 | and issue tracking systems that are managed by, or on behalf of, the
58 | Licensor for the purpose of discussing and improving the Work, but
59 | excluding communication that is conspicuously marked or otherwise
60 | designated in writing by the copyright owner as "Not a Contribution."
61 |
62 | "Contributor" shall mean Licensor and any individual or Legal Entity
63 | on behalf of whom a Contribution has been received by Licensor and
64 | subsequently incorporated within the Work.
65 |
66 | 2. Grant of Copyright License. Subject to the terms and conditions of
67 | this License, each Contributor hereby grants to You a perpetual,
68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69 | copyright license to reproduce, prepare Derivative Works of,
70 | publicly display, publicly perform, sublicense, and distribute the
71 | Work and such Derivative Works in Source or Object form.
72 |
73 | 3. Grant of Patent License. Subject to the terms and conditions of
74 | this License, each Contributor hereby grants to You a perpetual,
75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76 | (except as stated in this section) patent license to make, have made,
77 | use, offer to sell, sell, import, and otherwise transfer the Work,
78 | where such license applies only to those patent claims licensable
79 | by such Contributor that are necessarily infringed by their
80 | Contribution(s) alone or by combination of their Contribution(s)
81 | with the Work to which such Contribution(s) was submitted. If You
82 | institute patent litigation against any entity (including a
83 | cross-claim or counterclaim in a lawsuit) alleging that the Work
84 | or a Contribution incorporated within the Work constitutes direct
85 | or contributory patent infringement, then any patent licenses
86 | granted to You under this License for that Work shall terminate
87 | as of the date such litigation is filed.
88 |
89 | 4. Redistribution. You may reproduce and distribute copies of the
90 | Work or Derivative Works thereof in any medium, with or without
91 | modifications, and in Source or Object form, provided that You
92 | meet the following conditions:
93 |
94 | (a) You must give any other recipients of the Work or
95 | Derivative Works a copy of this License; and
96 |
97 | (b) You must cause any modified files to carry prominent notices
98 | stating that You changed the files; and
99 |
100 | (c) You must retain, in the Source form of any Derivative Works
101 | that You distribute, all copyright, patent, trademark, and
102 | attribution notices from the Source form of the Work,
103 | excluding those notices that do not pertain to any part of
104 | the Derivative Works; and
105 |
106 | (d) If the Work includes a "NOTICE" text file as part of its
107 | distribution, then any Derivative Works that You distribute must
108 | include a readable copy of the attribution notices contained
109 | within such NOTICE file, excluding those notices that do not
110 | pertain to any part of the Derivative Works, in at least one
111 | of the following places: within a NOTICE text file distributed
112 | as part of the Derivative Works; within the Source form or
113 | documentation, if provided along with the Derivative Works; or,
114 | within a display generated by the Derivative Works, if and
115 | wherever such third-party notices normally appear. The contents
116 | of the NOTICE file are for informational purposes only and
117 | do not modify the License. You may add Your own attribution
118 | notices within Derivative Works that You distribute, alongside
119 | or as an addendum to the NOTICE text from the Work, provided
120 | that such additional attribution notices cannot be construed
121 | as modifying the License.
122 |
123 | You may add Your own copyright statement to Your modifications and
124 | may provide additional or different license terms and conditions
125 | for use, reproduction, or distribution of Your modifications, or
126 | for any such Derivative Works as a whole, provided Your use,
127 | reproduction, and distribution of the Work otherwise complies with
128 | the conditions stated in this License.
129 |
130 | 5. Submission of Contributions. Unless You explicitly state otherwise,
131 | any Contribution intentionally submitted for inclusion in the Work
132 | by You to the Licensor shall be under the terms and conditions of
133 | this License, without any additional terms or conditions.
134 | Notwithstanding the above, nothing herein shall supersede or modify
135 | the terms of any separate license agreement you may have executed
136 | with Licensor regarding such Contributions.
137 |
138 | 6. Trademarks. This License does not grant permission to use the trade
139 | names, trademarks, service marks, or product names of the Licensor,
140 | except as required for reasonable and customary use in describing the
141 | origin of the Work and reproducing the content of the NOTICE file.
142 |
143 | 7. Disclaimer of Warranty. Unless required by applicable law or
144 | agreed to in writing, Licensor provides the Work (and each
145 | Contributor provides its Contributions) on an "AS IS" BASIS,
146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147 | implied, including, without limitation, any warranties or conditions
148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149 | PARTICULAR PURPOSE. You are solely responsible for determining the
150 | appropriateness of using or redistributing the Work and assume any
151 | risks associated with Your exercise of permissions under this License.
152 |
153 | 8. Limitation of Liability. In no event and under no legal theory,
154 | whether in tort (including negligence), contract, or otherwise,
155 | unless required by applicable law (such as deliberate and grossly
156 | negligent acts) or agreed to in writing, shall any Contributor be
157 | liable to You for damages, including any direct, indirect, special,
158 | incidental, or consequential damages of any character arising as a
159 | result of this License or out of the use or inability to use the
160 | Work (including but not limited to damages for loss of goodwill,
161 | work stoppage, computer failure or malfunction, or any and all
162 | other commercial damages or losses), even if such Contributor
163 | has been advised of the possibility of such damages.
164 |
165 | 9. Accepting Warranty or Additional Liability. While redistributing
166 | the Work or Derivative Works thereof, You may choose to offer,
167 | and charge a fee for, acceptance of support, warranty, indemnity,
168 | or other liability obligations and/or rights consistent with this
169 | License. However, in accepting such obligations, You may act only
170 | on Your own behalf and on Your sole responsibility, not on behalf
171 | of any other Contributor, and only if You agree to indemnify,
172 | defend, and hold each Contributor harmless for any liability
173 | incurred by, or claims asserted against, such Contributor by reason
174 | of your accepting any such warranty or additional liability.
175 |
176 | END OF TERMS AND CONDITIONS
177 |
178 | APPENDIX: How to apply the Apache License to your work.
179 |
180 | To apply the Apache License to your work, attach the following
181 | boilerplate notice, with the fields enclosed by brackets "{}"
182 | replaced with your own identifying information. (Don't include
183 | the brackets!) The text should be enclosed in the appropriate
184 | comment syntax for the file format. We also recommend that a
185 | file or class name and description of purpose be included on the
186 | same "printed page" as the copyright notice for easier
187 | identification within third-party archives.
188 |
189 | Copyright {yyyy} {name of copyright owner}
190 |
191 | Licensed under the Apache License, Version 2.0 (the "License");
192 | you may not use this file except in compliance with the License.
193 | You may obtain a copy of the License at
194 |
195 | http://www.apache.org/licenses/LICENSE-2.0
196 |
197 | Unless required by applicable law or agreed to in writing, software
198 | distributed under the License is distributed on an "AS IS" BASIS,
199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200 | See the License for the specific language governing permissions and
201 | limitations under the License.
202 |
203 |
--------------------------------------------------------------------------------
/LICENSE-GPL-2.0:
--------------------------------------------------------------------------------
1 | GNU GENERAL PUBLIC LICENSE
2 | Version 2, June 1991
3 |
4 | Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
5 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
6 | Everyone is permitted to copy and distribute verbatim copies
7 | of this license document, but changing it is not allowed.
8 |
9 | Preamble
10 |
11 | The licenses for most software are designed to take away your
12 | freedom to share and change it. By contrast, the GNU General Public
13 | License is intended to guarantee your freedom to share and change free
14 | software--to make sure the software is free for all its users. This
15 | General Public License applies to most of the Free Software
16 | Foundation's software and to any other program whose authors commit to
17 | using it. (Some other Free Software Foundation software is covered by
18 | the GNU Lesser General Public License instead.) You can apply it to
19 | your programs, too.
20 |
21 | When we speak of free software, we are referring to freedom, not
22 | price. Our General Public Licenses are designed to make sure that you
23 | have the freedom to distribute copies of free software (and charge for
24 | this service if you wish), that you receive source code or can get it
25 | if you want it, that you can change the software or use pieces of it
26 | in new free programs; and that you know you can do these things.
27 |
28 | To protect your rights, we need to make restrictions that forbid
29 | anyone to deny you these rights or to ask you to surrender the rights.
30 | These restrictions translate to certain responsibilities for you if you
31 | distribute copies of the software, or if you modify it.
32 |
33 | For example, if you distribute copies of such a program, whether
34 | gratis or for a fee, you must give the recipients all the rights that
35 | you have. You must make sure that they, too, receive or can get the
36 | source code. And you must show them these terms so they know their
37 | rights.
38 |
39 | We protect your rights with two steps: (1) copyright the software, and
40 | (2) offer you this license which gives you legal permission to copy,
41 | distribute and/or modify the software.
42 |
43 | Also, for each author's protection and ours, we want to make certain
44 | that everyone understands that there is no warranty for this free
45 | software. If the software is modified by someone else and passed on, we
46 | want its recipients to know that what they have is not the original, so
47 | that any problems introduced by others will not reflect on the original
48 | authors' reputations.
49 |
50 | Finally, any free program is threatened constantly by software
51 | patents. We wish to avoid the danger that redistributors of a free
52 | program will individually obtain patent licenses, in effect making the
53 | program proprietary. To prevent this, we have made it clear that any
54 | patent must be licensed for everyone's free use or not licensed at all.
55 |
56 | The precise terms and conditions for copying, distribution and
57 | modification follow.
58 |
59 | GNU GENERAL PUBLIC LICENSE
60 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
61 |
62 | 0. This License applies to any program or other work which contains
63 | a notice placed by the copyright holder saying it may be distributed
64 | under the terms of this General Public License. The "Program", below,
65 | refers to any such program or work, and a "work based on the Program"
66 | means either the Program or any derivative work under copyright law:
67 | that is to say, a work containing the Program or a portion of it,
68 | either verbatim or with modifications and/or translated into another
69 | language. (Hereinafter, translation is included without limitation in
70 | the term "modification".) Each licensee is addressed as "you".
71 |
72 | Activities other than copying, distribution and modification are not
73 | covered by this License; they are outside its scope. The act of
74 | running the Program is not restricted, and the output from the Program
75 | is covered only if its contents constitute a work based on the
76 | Program (independent of having been made by running the Program).
77 | Whether that is true depends on what the Program does.
78 |
79 | 1. You may copy and distribute verbatim copies of the Program's
80 | source code as you receive it, in any medium, provided that you
81 | conspicuously and appropriately publish on each copy an appropriate
82 | copyright notice and disclaimer of warranty; keep intact all the
83 | notices that refer to this License and to the absence of any warranty;
84 | and give any other recipients of the Program a copy of this License
85 | along with the Program.
86 |
87 | You may charge a fee for the physical act of transferring a copy, and
88 | you may at your option offer warranty protection in exchange for a fee.
89 |
90 | 2. You may modify your copy or copies of the Program or any portion
91 | of it, thus forming a work based on the Program, and copy and
92 | distribute such modifications or work under the terms of Section 1
93 | above, provided that you also meet all of these conditions:
94 |
95 | a) You must cause the modified files to carry prominent notices
96 | stating that you changed the files and the date of any change.
97 |
98 | b) You must cause any work that you distribute or publish, that in
99 | whole or in part contains or is derived from the Program or any
100 | part thereof, to be licensed as a whole at no charge to all third
101 | parties under the terms of this License.
102 |
103 | c) If the modified program normally reads commands interactively
104 | when run, you must cause it, when started running for such
105 | interactive use in the most ordinary way, to print or display an
106 | announcement including an appropriate copyright notice and a
107 | notice that there is no warranty (or else, saying that you provide
108 | a warranty) and that users may redistribute the program under
109 | these conditions, and telling the user how to view a copy of this
110 | License. (Exception: if the Program itself is interactive but
111 | does not normally print such an announcement, your work based on
112 | the Program is not required to print an announcement.)
113 |
114 | These requirements apply to the modified work as a whole. If
115 | identifiable sections of that work are not derived from the Program,
116 | and can be reasonably considered independent and separate works in
117 | themselves, then this License, and its terms, do not apply to those
118 | sections when you distribute them as separate works. But when you
119 | distribute the same sections as part of a whole which is a work based
120 | on the Program, the distribution of the whole must be on the terms of
121 | this License, whose permissions for other licensees extend to the
122 | entire whole, and thus to each and every part regardless of who wrote it.
123 |
124 | Thus, it is not the intent of this section to claim rights or contest
125 | your rights to work written entirely by you; rather, the intent is to
126 | exercise the right to control the distribution of derivative or
127 | collective works based on the Program.
128 |
129 | In addition, mere aggregation of another work not based on the Program
130 | with the Program (or with a work based on the Program) on a volume of
131 | a storage or distribution medium does not bring the other work under
132 | the scope of this License.
133 |
134 | 3. You may copy and distribute the Program (or a work based on it,
135 | under Section 2) in object code or executable form under the terms of
136 | Sections 1 and 2 above provided that you also do one of the following:
137 |
138 | a) Accompany it with the complete corresponding machine-readable
139 | source code, which must be distributed under the terms of Sections
140 | 1 and 2 above on a medium customarily used for software interchange; or,
141 |
142 | b) Accompany it with a written offer, valid for at least three
143 | years, to give any third party, for a charge no more than your
144 | cost of physically performing source distribution, a complete
145 | machine-readable copy of the corresponding source code, to be
146 | distributed under the terms of Sections 1 and 2 above on a medium
147 | customarily used for software interchange; or,
148 |
149 | c) Accompany it with the information you received as to the offer
150 | to distribute corresponding source code. (This alternative is
151 | allowed only for noncommercial distribution and only if you
152 | received the program in object code or executable form with such
153 | an offer, in accord with Subsection b above.)
154 |
155 | The source code for a work means the preferred form of the work for
156 | making modifications to it. For an executable work, complete source
157 | code means all the source code for all modules it contains, plus any
158 | associated interface definition files, plus the scripts used to
159 | control compilation and installation of the executable. However, as a
160 | special exception, the source code distributed need not include
161 | anything that is normally distributed (in either source or binary
162 | form) with the major components (compiler, kernel, and so on) of the
163 | operating system on which the executable runs, unless that component
164 | itself accompanies the executable.
165 |
166 | If distribution of executable or object code is made by offering
167 | access to copy from a designated place, then offering equivalent
168 | access to copy the source code from the same place counts as
169 | distribution of the source code, even though third parties are not
170 | compelled to copy the source along with the object code.
171 |
172 | 4. You may not copy, modify, sublicense, or distribute the Program
173 | except as expressly provided under this License. Any attempt
174 | otherwise to copy, modify, sublicense or distribute the Program is
175 | void, and will automatically terminate your rights under this License.
176 | However, parties who have received copies, or rights, from you under
177 | this License will not have their licenses terminated so long as such
178 | parties remain in full compliance.
179 |
180 | 5. You are not required to accept this License, since you have not
181 | signed it. However, nothing else grants you permission to modify or
182 | distribute the Program or its derivative works. These actions are
183 | prohibited by law if you do not accept this License. Therefore, by
184 | modifying or distributing the Program (or any work based on the
185 | Program), you indicate your acceptance of this License to do so, and
186 | all its terms and conditions for copying, distributing or modifying
187 | the Program or works based on it.
188 |
189 | 6. Each time you redistribute the Program (or any work based on the
190 | Program), the recipient automatically receives a license from the
191 | original licensor to copy, distribute or modify the Program subject to
192 | these terms and conditions. You may not impose any further
193 | restrictions on the recipients' exercise of the rights granted herein.
194 | You are not responsible for enforcing compliance by third parties to
195 | this License.
196 |
197 | 7. If, as a consequence of a court judgment or allegation of patent
198 | infringement or for any other reason (not limited to patent issues),
199 | conditions are imposed on you (whether by court order, agreement or
200 | otherwise) that contradict the conditions of this License, they do not
201 | excuse you from the conditions of this License. If you cannot
202 | distribute so as to satisfy simultaneously your obligations under this
203 | License and any other pertinent obligations, then as a consequence you
204 | may not distribute the Program at all. For example, if a patent
205 | license would not permit royalty-free redistribution of the Program by
206 | all those who receive copies directly or indirectly through you, then
207 | the only way you could satisfy both it and this License would be to
208 | refrain entirely from distribution of the Program.
209 |
210 | If any portion of this section is held invalid or unenforceable under
211 | any particular circumstance, the balance of the section is intended to
212 | apply and the section as a whole is intended to apply in other
213 | circumstances.
214 |
215 | It is not the purpose of this section to induce you to infringe any
216 | patents or other property right claims or to contest validity of any
217 | such claims; this section has the sole purpose of protecting the
218 | integrity of the free software distribution system, which is
219 | implemented by public license practices. Many people have made
220 | generous contributions to the wide range of software distributed
221 | through that system in reliance on consistent application of that
222 | system; it is up to the author/donor to decide if he or she is willing
223 | to distribute software through any other system and a licensee cannot
224 | impose that choice.
225 |
226 | This section is intended to make thoroughly clear what is believed to
227 | be a consequence of the rest of this License.
228 |
229 | 8. If the distribution and/or use of the Program is restricted in
230 | certain countries either by patents or by copyrighted interfaces, the
231 | original copyright holder who places the Program under this License
232 | may add an explicit geographical distribution limitation excluding
233 | those countries, so that distribution is permitted only in or among
234 | countries not thus excluded. In such case, this License incorporates
235 | the limitation as if written in the body of this License.
236 |
237 | 9. The Free Software Foundation may publish revised and/or new versions
238 | of the General Public License from time to time. Such new versions will
239 | be similar in spirit to the present version, but may differ in detail to
240 | address new problems or concerns.
241 |
242 | Each version is given a distinguishing version number. If the Program
243 | specifies a version number of this License which applies to it and "any
244 | later version", you have the option of following the terms and conditions
245 | either of that version or of any later version published by the Free
246 | Software Foundation. If the Program does not specify a version number of
247 | this License, you may choose any version ever published by the Free Software
248 | Foundation.
249 |
250 | 10. If you wish to incorporate parts of the Program into other free
251 | programs whose distribution conditions are different, write to the author
252 | to ask for permission. For software which is copyrighted by the Free
253 | Software Foundation, write to the Free Software Foundation; we sometimes
254 | make exceptions for this. Our decision will be guided by the two goals
255 | of preserving the free status of all derivatives of our free software and
256 | of promoting the sharing and reuse of software generally.
257 |
258 | NO WARRANTY
259 |
260 | 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261 | FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
262 | OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
263 | PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
264 | OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
265 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
266 | TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
267 | PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
268 | REPAIR OR CORRECTION.
269 |
270 | 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
271 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
272 | REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
273 | INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
274 | OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
275 | TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
276 | YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277 | PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278 | POSSIBILITY OF SUCH DAMAGES.
279 |
280 | END OF TERMS AND CONDITIONS
281 |
282 | How to Apply These Terms to Your New Programs
283 |
284 | If you develop a new program, and you want it to be of the greatest
285 | possible use to the public, the best way to achieve this is to make it
286 | free software which everyone can redistribute and change under these terms.
287 |
288 | To do so, attach the following notices to the program. It is safest
289 | to attach them to the start of each source file to most effectively
290 | convey the exclusion of warranty; and each file should have at least
291 | the "copyright" line and a pointer to where the full notice is found.
292 |
293 |
294 | Copyright (C)
295 |
296 | This program is free software; you can redistribute it and/or modify
297 | it under the terms of the GNU General Public License as published by
298 | the Free Software Foundation; either version 2 of the License, or
299 | (at your option) any later version.
300 |
301 | This program is distributed in the hope that it will be useful,
302 | but WITHOUT ANY WARRANTY; without even the implied warranty of
303 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
304 | GNU General Public License for more details.
305 |
306 | You should have received a copy of the GNU General Public License along
307 | with this program; if not, write to the Free Software Foundation, Inc.,
308 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
309 |
310 | Also add information on how to contact you by electronic and paper mail.
311 |
312 | If the program is interactive, make it output a short notice like this
313 | when it starts in an interactive mode:
314 |
315 | Gnomovision version 69, Copyright (C) year name of author
316 | Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
317 | This is free software, and you are welcome to redistribute it
318 | under certain conditions; type `show c' for details.
319 |
320 | The hypothetical commands `show w' and `show c' should show the appropriate
321 | parts of the General Public License. Of course, the commands you use may
322 | be called something other than `show w' and `show c'; they could even be
323 | mouse-clicks or menu items--whatever suits your program.
324 |
325 | You should also get your employer (if you work as a programmer) or your
326 | school, if any, to sign a "copyright disclaimer" for the program, if
327 | necessary. Here is a sample; alter the names:
328 |
329 | Yoyodyne, Inc., hereby disclaims all copyright interest in the program
330 | `Gnomovision' (which makes passes at compilers) written by James Hacker.
331 |
332 | , 1 April 1989
333 | Ty Coon, President of Vice
334 |
335 | This General Public License does not permit incorporating your program into
336 | proprietary programs. If your program is a subroutine library, you may
337 | consider it more useful to permit linking proprietary applications with the
338 | library. If this is what you want to do, use the GNU Lesser General
339 | Public License instead of this License.
340 |
341 |
--------------------------------------------------------------------------------
/crosstool-ng-config-x86_64:
--------------------------------------------------------------------------------
1 | #
2 | # Automatically generated file; DO NOT EDIT.
3 | # crosstool-NG Configuration
4 | #
5 | CT_CONFIGURE_has_static_link=y
6 | CT_CONFIGURE_has_cxx11=y
7 | CT_CONFIGURE_has_wget=y
8 | CT_CONFIGURE_has_curl=y
9 | CT_CONFIGURE_has_make_3_81_or_newer=y
10 | CT_CONFIGURE_has_make_4_0_or_newer=y
11 | CT_CONFIGURE_has_libtool_2_4_or_newer=y
12 | CT_CONFIGURE_has_libtoolize_2_4_or_newer=y
13 | CT_CONFIGURE_has_autoconf_2_65_or_newer=y
14 | CT_CONFIGURE_has_autoreconf_2_65_or_newer=y
15 | CT_CONFIGURE_has_automake_1_15_or_newer=y
16 | CT_CONFIGURE_has_gnu_m4_1_4_12_or_newer=y
17 | CT_CONFIGURE_has_python_3_4_or_newer=y
18 | CT_CONFIGURE_has_bison_2_7_or_newer=y
19 | CT_CONFIGURE_has_python=y
20 | CT_CONFIGURE_has_dtc=y
21 | CT_CONFIGURE_has_svn=y
22 | CT_CONFIGURE_has_git=y
23 | CT_CONFIGURE_has_md5sum=y
24 | CT_CONFIGURE_has_sha1sum=y
25 | CT_CONFIGURE_has_sha256sum=y
26 | CT_CONFIGURE_has_sha512sum=y
27 | CT_CONFIGURE_has_install_with_strip_program=y
28 | CT_CONFIG_VERSION_CURRENT="3"
29 | CT_CONFIG_VERSION="3"
30 | CT_MODULES=y
31 |
32 | #
33 | # Paths and misc options
34 | #
35 |
36 | #
37 | # crosstool-NG behavior
38 | #
39 | CT_OBSOLETE=y
40 | # CT_EXPERIMENTAL is not set
41 | # CT_DEBUG_CT is not set
42 |
43 | #
44 | # Paths
45 | #
46 | CT_LOCAL_TARBALLS_DIR="${HOME}/src"
47 | CT_SAVE_TARBALLS=y
48 | # CT_TARBALLS_BUILDROOT_LAYOUT is not set
49 | CT_WORK_DIR="${CT_TOP_DIR}/.build"
50 | CT_BUILD_TOP_DIR="${CT_WORK_DIR:-${CT_TOP_DIR}/.build}/${CT_HOST:+HOST-${CT_HOST}/}${CT_TARGET}"
51 | CT_PREFIX_DIR="${CT_PREFIX:-${HOME}/x-tools}/${CT_HOST:+HOST-${CT_HOST}/}${CT_TARGET}"
52 | CT_RM_RF_PREFIX_DIR=y
53 | CT_REMOVE_DOCS=y
54 | CT_INSTALL_LICENSES=y
55 | # CT_PREFIX_DIR_RO is not set
56 | CT_STRIP_HOST_TOOLCHAIN_EXECUTABLES=y
57 | CT_STRIP_TARGET_TOOLCHAIN_EXECUTABLES=y
58 |
59 | #
60 | # Downloading
61 | #
62 | CT_DOWNLOAD_AGENT_WGET=y
63 | # CT_DOWNLOAD_AGENT_CURL is not set
64 | # CT_DOWNLOAD_AGENT_NONE is not set
65 | # CT_FORBID_DOWNLOAD is not set
66 | # CT_FORCE_DOWNLOAD is not set
67 | CT_CONNECT_TIMEOUT=10
68 | CT_DOWNLOAD_WGET_OPTIONS="--passive-ftp --tries=3 -nc --progress=dot:binary"
69 | # CT_ONLY_DOWNLOAD is not set
70 | # CT_USE_MIRROR is not set
71 | CT_VERIFY_DOWNLOAD_DIGEST=y
72 | CT_VERIFY_DOWNLOAD_DIGEST_SHA512=y
73 | # CT_VERIFY_DOWNLOAD_DIGEST_SHA256 is not set
74 | # CT_VERIFY_DOWNLOAD_DIGEST_SHA1 is not set
75 | # CT_VERIFY_DOWNLOAD_DIGEST_MD5 is not set
76 | CT_VERIFY_DOWNLOAD_DIGEST_ALG="sha512"
77 | # CT_VERIFY_DOWNLOAD_SIGNATURE is not set
78 |
79 | #
80 | # Extracting
81 | #
82 | # CT_FORCE_EXTRACT is not set
83 | CT_OVERRIDE_CONFIG_GUESS_SUB=y
84 | # CT_ONLY_EXTRACT is not set
85 | CT_PATCH_BUNDLED=y
86 | # CT_PATCH_BUNDLED_LOCAL is not set
87 | CT_PATCH_ORDER="bundled"
88 |
89 | #
90 | # Build behavior
91 | #
92 | CT_PARALLEL_JOBS=0
93 | CT_LOAD=""
94 | CT_USE_PIPES=y
95 | CT_EXTRA_CFLAGS_FOR_BUILD=""
96 | CT_EXTRA_LDFLAGS_FOR_BUILD=""
97 | CT_EXTRA_CFLAGS_FOR_HOST=""
98 | CT_EXTRA_LDFLAGS_FOR_HOST=""
99 | # CT_CONFIG_SHELL_SH is not set
100 | # CT_CONFIG_SHELL_ASH is not set
101 | CT_CONFIG_SHELL_BASH=y
102 | # CT_CONFIG_SHELL_CUSTOM is not set
103 | CT_CONFIG_SHELL="${bash}"
104 |
105 | #
106 | # Logging
107 | #
108 | # CT_LOG_ERROR is not set
109 | # CT_LOG_WARN is not set
110 | # CT_LOG_INFO is not set
111 | CT_LOG_EXTRA=y
112 | # CT_LOG_ALL is not set
113 | # CT_LOG_DEBUG is not set
114 | CT_LOG_LEVEL_MAX="EXTRA"
115 | # CT_LOG_SEE_TOOLS_WARN is not set
116 | CT_LOG_PROGRESS_BAR=y
117 | # CT_LOG_TO_FILE is not set
118 |
119 | #
120 | # Target options
121 | #
122 | # CT_ARCH_ALPHA is not set
123 | # CT_ARCH_ARC is not set
124 | # CT_ARCH_ARM is not set
125 | # CT_ARCH_AVR is not set
126 | # CT_ARCH_M68K is not set
127 | # CT_ARCH_MIPS is not set
128 | # CT_ARCH_NIOS2 is not set
129 | # CT_ARCH_POWERPC is not set
130 | # CT_ARCH_S390 is not set
131 | # CT_ARCH_SH is not set
132 | # CT_ARCH_SPARC is not set
133 | CT_ARCH_X86=y
134 | # CT_ARCH_XTENSA is not set
135 | CT_ARCH="x86"
136 | CT_ARCH_CHOICE_KSYM="X86"
137 | CT_ARCH_CPU=""
138 | CT_ARCH_TUNE=""
139 | CT_ARCH_X86_SHOW=y
140 |
141 | #
142 | # Options for x86
143 | #
144 | CT_ARCH_X86_PKG_KSYM=""
145 | CT_ALL_ARCH_CHOICES="ALPHA ARC ARM AVR M68K MICROBLAZE MIPS MOXIE MSP430 NIOS2 POWERPC RISCV S390 SH SPARC X86 XTENSA"
146 | CT_ARCH_SUFFIX=""
147 | # CT_OMIT_TARGET_VENDOR is not set
148 |
149 | #
150 | # Generic target options
151 | #
152 | # CT_MULTILIB is not set
153 | CT_DEMULTILIB=y
154 | CT_ARCH_USE_MMU=y
155 | CT_ARCH_SUPPORTS_32=y
156 | CT_ARCH_SUPPORTS_64=y
157 | CT_ARCH_DEFAULT_32=y
158 | CT_ARCH_BITNESS=64
159 | # CT_ARCH_32 is not set
160 | CT_ARCH_64=y
161 |
162 | #
163 | # Target optimisations
164 | #
165 | CT_ARCH_SUPPORTS_WITH_ARCH=y
166 | CT_ARCH_SUPPORTS_WITH_CPU=y
167 | CT_ARCH_SUPPORTS_WITH_TUNE=y
168 | CT_ARCH_ARCH=""
169 | CT_TARGET_CFLAGS="-fPIC"
170 | CT_TARGET_LDFLAGS=""
171 |
172 | #
173 | # Toolchain options
174 | #
175 |
176 | #
177 | # General toolchain options
178 | #
179 | CT_USE_SYSROOT=y
180 | CT_SYSROOT_NAME="sysroot"
181 | CT_SYSROOT_DIR_PREFIX=""
182 | CT_WANTS_STATIC_LINK=y
183 | CT_WANTS_STATIC_LINK_CXX=y
184 | CT_STATIC_TOOLCHAIN=y
185 | CT_SHOW_CT_VERSION=y
186 | CT_TOOLCHAIN_PKGVERSION=""
187 | CT_TOOLCHAIN_BUGURL=""
188 |
189 | #
190 | # Tuple completion and aliasing
191 | #
192 | CT_TARGET_VENDOR="osquery"
193 | CT_TARGET_ALIAS_SED_EXPR=""
194 | CT_TARGET_ALIAS=""
195 |
196 | #
197 | # Toolchain type
198 | #
199 | CT_CROSS=y
200 | # CT_CANADIAN is not set
201 | CT_TOOLCHAIN_TYPE="cross"
202 |
203 | #
204 | # Build system
205 | #
206 | CT_BUILD=""
207 | CT_BUILD_PREFIX=""
208 | CT_BUILD_SUFFIX=""
209 |
210 | #
211 | # Misc options
212 | #
213 | # CT_TOOLCHAIN_ENABLE_NLS is not set
214 |
215 | #
216 | # Operating System
217 | #
218 | CT_KERNEL_SUPPORTS_SHARED_LIBS=y
219 | # CT_KERNEL_BARE_METAL is not set
220 | CT_KERNEL_LINUX=y
221 | CT_KERNEL="linux"
222 | CT_KERNEL_CHOICE_KSYM="LINUX"
223 | CT_KERNEL_LINUX_SHOW=y
224 |
225 | #
226 | # Options for linux
227 | #
228 | CT_KERNEL_LINUX_PKG_KSYM="LINUX"
229 | CT_LINUX_DIR_NAME="linux"
230 | CT_LINUX_PKG_NAME="linux"
231 | CT_LINUX_SRC_RELEASE=y
232 | CT_LINUX_PATCH_ORDER="global"
233 | # CT_LINUX_V_4_20 is not set
234 | # CT_LINUX_V_4_19 is not set
235 | # CT_LINUX_V_4_18 is not set
236 | # CT_LINUX_V_4_17 is not set
237 | # CT_LINUX_V_4_16 is not set
238 | # CT_LINUX_V_4_15 is not set
239 | # CT_LINUX_V_4_14 is not set
240 | # CT_LINUX_V_4_13 is not set
241 | # CT_LINUX_V_4_12 is not set
242 | # CT_LINUX_V_4_11 is not set
243 | # CT_LINUX_V_4_10 is not set
244 | # CT_LINUX_V_4_9 is not set
245 | # CT_LINUX_V_4_8 is not set
246 | CT_LINUX_V_4_7=y
247 | # CT_LINUX_V_4_6 is not set
248 | # CT_LINUX_V_4_5 is not set
249 | # CT_LINUX_V_4_4 is not set
250 | # CT_LINUX_V_4_3 is not set
251 | # CT_LINUX_V_4_2 is not set
252 | # CT_LINUX_V_4_1 is not set
253 | # CT_LINUX_V_4_0 is not set
254 | # CT_LINUX_V_3_19 is not set
255 | # CT_LINUX_V_3_18 is not set
256 | # CT_LINUX_V_3_17 is not set
257 | # CT_LINUX_V_3_16 is not set
258 | # CT_LINUX_V_3_15 is not set
259 | # CT_LINUX_V_3_14 is not set
260 | # CT_LINUX_V_3_13 is not set
261 | # CT_LINUX_V_3_12 is not set
262 | # CT_LINUX_V_3_11 is not set
263 | # CT_LINUX_V_3_10 is not set
264 | # CT_LINUX_V_3_9 is not set
265 | # CT_LINUX_V_3_8 is not set
266 | # CT_LINUX_V_3_7 is not set
267 | # CT_LINUX_V_3_6 is not set
268 | # CT_LINUX_V_3_5 is not set
269 | # CT_LINUX_V_3_4 is not set
270 | # CT_LINUX_V_3_3 is not set
271 | # CT_LINUX_V_3_2 is not set
272 | # CT_LINUX_V_3_1 is not set
273 | # CT_LINUX_V_3_0 is not set
274 | # CT_LINUX_V_2_6_39 is not set
275 | # CT_LINUX_V_2_6_38 is not set
276 | # CT_LINUX_V_2_6_37 is not set
277 | # CT_LINUX_V_2_6_36 is not set
278 | # CT_LINUX_V_2_6_35 is not set
279 | # CT_LINUX_V_2_6_34 is not set
280 | # CT_LINUX_V_2_6_33 is not set
281 | # CT_LINUX_V_2_6_32 is not set
282 | # CT_LINUX_NO_VERSIONS is not set
283 | CT_LINUX_VERSION="4.7.10"
284 | CT_LINUX_MIRRORS="$(CT_Mirrors kernel.org linux ${CT_LINUX_VERSION})"
285 | CT_LINUX_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
286 | CT_LINUX_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
287 | CT_LINUX_ARCHIVE_FORMATS=".tar.xz .tar.gz"
288 | CT_LINUX_SIGNATURE_FORMAT="unpacked/.sign"
289 | CT_LINUX_4_8_or_older=y
290 | CT_LINUX_older_than_4_8=y
291 | CT_LINUX_later_than_3_7=y
292 | CT_LINUX_3_7_or_later=y
293 | CT_LINUX_later_than_3_2=y
294 | CT_LINUX_3_2_or_later=y
295 | CT_KERNEL_LINUX_VERBOSITY_0=y
296 | # CT_KERNEL_LINUX_VERBOSITY_1 is not set
297 | # CT_KERNEL_LINUX_VERBOSITY_2 is not set
298 | CT_KERNEL_LINUX_VERBOSE_LEVEL=0
299 | CT_KERNEL_LINUX_INSTALL_CHECK=y
300 | CT_ALL_KERNEL_CHOICES="BARE_METAL LINUX WINDOWS"
301 |
302 | #
303 | # Common kernel options
304 | #
305 | CT_SHARED_LIBS=y
306 |
307 | #
308 | # Binary utilities
309 | #
310 | CT_ARCH_BINFMT_ELF=y
311 | CT_BINUTILS_BINUTILS=y
312 | CT_BINUTILS="binutils"
313 | CT_BINUTILS_CHOICE_KSYM="BINUTILS"
314 | CT_BINUTILS_BINUTILS_SHOW=y
315 |
316 | #
317 | # Options for binutils
318 | #
319 | CT_BINUTILS_BINUTILS_PKG_KSYM="BINUTILS"
320 | CT_BINUTILS_DIR_NAME="binutils"
321 | CT_BINUTILS_USE_GNU=y
322 | CT_BINUTILS_USE="BINUTILS"
323 | CT_BINUTILS_PKG_NAME="binutils"
324 | CT_BINUTILS_SRC_RELEASE=y
325 | CT_BINUTILS_PATCH_ORDER="global"
326 | # CT_BINUTILS_V_2_32 is not set
327 | # CT_BINUTILS_V_2_31 is not set
328 | CT_BINUTILS_V_2_30=y
329 | # CT_BINUTILS_V_2_29 is not set
330 | # CT_BINUTILS_V_2_28 is not set
331 | # CT_BINUTILS_V_2_27 is not set
332 | # CT_BINUTILS_V_2_26 is not set
333 | # CT_BINUTILS_V_2_25 is not set
334 | # CT_BINUTILS_V_2_24 is not set
335 | # CT_BINUTILS_V_2_23 is not set
336 | # CT_BINUTILS_NO_VERSIONS is not set
337 | CT_BINUTILS_VERSION="2.30"
338 | CT_BINUTILS_MIRRORS="$(CT_Mirrors GNU binutils) $(CT_Mirrors sourceware binutils/releases)"
339 | CT_BINUTILS_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
340 | CT_BINUTILS_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
341 | CT_BINUTILS_ARCHIVE_FORMATS=".tar.xz .tar.bz2 .tar.gz"
342 | CT_BINUTILS_SIGNATURE_FORMAT="packed/.sig"
343 | CT_BINUTILS_2_30_or_later=y
344 | CT_BINUTILS_2_30_or_older=y
345 | CT_BINUTILS_later_than_2_27=y
346 | CT_BINUTILS_2_27_or_later=y
347 | CT_BINUTILS_later_than_2_25=y
348 | CT_BINUTILS_2_25_or_later=y
349 | CT_BINUTILS_later_than_2_23=y
350 | CT_BINUTILS_2_23_or_later=y
351 |
352 | #
353 | # GNU binutils
354 | #
355 | CT_BINUTILS_HAS_HASH_STYLE=y
356 | CT_BINUTILS_HAS_GOLD=y
357 | CT_BINUTILS_HAS_PLUGINS=y
358 | CT_BINUTILS_HAS_PKGVERSION_BUGURL=y
359 | CT_BINUTILS_GOLD_SUPPORTS_ARCH=y
360 | CT_BINUTILS_FORCE_LD_BFD_DEFAULT=y
361 | CT_BINUTILS_LINKER_LD=y
362 | CT_BINUTILS_LINKERS_LIST="ld"
363 | CT_BINUTILS_LINKER_DEFAULT="bfd"
364 | CT_BINUTILS_RELRO=m
365 | CT_BINUTILS_EXTRA_CONFIG_ARRAY=""
366 | # CT_BINUTILS_FOR_TARGET is not set
367 | CT_ALL_BINUTILS_CHOICES="BINUTILS"
368 |
369 | #
370 | # C-library
371 | #
372 | CT_LIBC_GLIBC=y
373 | # CT_LIBC_UCLIBC is not set
374 | CT_LIBC="glibc"
375 | CT_LIBC_CHOICE_KSYM="GLIBC"
376 | CT_THREADS="nptl"
377 | CT_LIBC_GLIBC_SHOW=y
378 |
379 | #
380 | # Options for glibc
381 | #
382 | CT_LIBC_GLIBC_PKG_KSYM="GLIBC"
383 | CT_GLIBC_DIR_NAME="glibc"
384 | CT_GLIBC_USE_GNU=y
385 | CT_GLIBC_USE="GLIBC"
386 | CT_GLIBC_PKG_NAME="glibc"
387 | CT_GLIBC_SRC_RELEASE=y
388 | CT_GLIBC_PATCH_ORDER="global"
389 | # CT_GLIBC_V_2_29 is not set
390 | # CT_GLIBC_V_2_28 is not set
391 | # CT_GLIBC_V_2_27 is not set
392 | # CT_GLIBC_V_2_26 is not set
393 | # CT_GLIBC_V_2_25 is not set
394 | # CT_GLIBC_V_2_24 is not set
395 | # CT_GLIBC_V_2_23 is not set
396 | # CT_GLIBC_V_2_22 is not set
397 | # CT_GLIBC_V_2_21 is not set
398 | # CT_GLIBC_V_2_20 is not set
399 | # CT_GLIBC_V_2_19 is not set
400 | # CT_GLIBC_V_2_18 is not set
401 | # CT_GLIBC_V_2_17 is not set
402 | # CT_GLIBC_V_2_16_0 is not set
403 | # CT_GLIBC_V_2_15 is not set
404 | # CT_GLIBC_V_2_14_1 is not set
405 | # CT_GLIBC_V_2_13=y
406 | CT_GLIBC_V_2_12_2=y
407 | # CT_GLIBC_V_2_12_1 is not set
408 | # CT_GLIBC_NO_VERSIONS is not set
409 | CT_GLIBC_VERSION="2.12.2"
410 | CT_GLIBC_MIRRORS="$(CT_Mirrors GNU glibc)"
411 | CT_GLIBC_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
412 | CT_GLIBC_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
413 | CT_GLIBC_ARCHIVE_FORMATS=".tar.xz .tar.bz2 .tar.gz"
414 | CT_GLIBC_SIGNATURE_FORMAT="packed/.sig"
415 | CT_GLIBC_2_29_or_older=y
416 | CT_GLIBC_older_than_2_29=y
417 | CT_GLIBC_2_27_or_older=y
418 | CT_GLIBC_older_than_2_27=y
419 | CT_GLIBC_2_26_or_older=y
420 | CT_GLIBC_older_than_2_26=y
421 | CT_GLIBC_2_25_or_older=y
422 | CT_GLIBC_older_than_2_25=y
423 | CT_GLIBC_2_24_or_older=y
424 | CT_GLIBC_older_than_2_24=y
425 | CT_GLIBC_2_23_or_older=y
426 | CT_GLIBC_older_than_2_23=y
427 | CT_GLIBC_2_20_or_older=y
428 | CT_GLIBC_older_than_2_20=y
429 | CT_GLIBC_2_17_or_older=y
430 | CT_GLIBC_older_than_2_17=y
431 | CT_GLIBC_2_14_or_older=y
432 | CT_GLIBC_older_than_2_14=y
433 | CT_GLIBC_DEP_KERNEL_HEADERS_VERSION=y
434 | CT_GLIBC_DEP_BINUTILS=y
435 | CT_GLIBC_DEP_GCC=y
436 | CT_GLIBC_DEP_PYTHON=y
437 | CT_GLIBC_HAS_NPTL_ADDON=y
438 | CT_GLIBC_HAS_PORTS_ADDON=y
439 | CT_GLIBC_HAS_PORTS_ADDON_EXTERNAL=y
440 | CT_GLIBC_HAS_LIBIDN_ADDON=y
441 | CT_GLIBC_USE_NPTL_ADDON=y
442 | # CT_GLIBC_USE_LIBIDN_ADDON is not set
443 | CT_GLIBC_EXTRA_CONFIG_ARRAY=""
444 | CT_GLIBC_CONFIGPARMS=""
445 | CT_GLIBC_EXTRA_CFLAGS=""
446 | # CT_GLIBC_DISABLE_VERSIONING is not set
447 | CT_GLIBC_OLDEST_ABI=""
448 | CT_GLIBC_FORCE_UNWIND=y
449 | # CT_GLIBC_LOCALES is not set
450 | # CT_GLIBC_KERNEL_VERSION_NONE is not set
451 | CT_GLIBC_KERNEL_VERSION_AS_HEADERS=y
452 | # CT_GLIBC_KERNEL_VERSION_CHOSEN is not set
453 | CT_GLIBC_MIN_KERNEL="4.7.10"
454 | CT_ALL_LIBC_CHOICES="AVR_LIBC BIONIC GLIBC MINGW_W64 MOXIEBOX MUSL NEWLIB NONE UCLIBC"
455 | CT_LIBC_SUPPORT_THREADS_ANY=y
456 | CT_LIBC_SUPPORT_THREADS_NATIVE=y
457 |
458 | #
459 | # Common C library options
460 | #
461 | CT_THREADS_NATIVE=y
462 | CT_CREATE_LDSO_CONF=y
463 | CT_LDSO_CONF_EXTRA_DIRS_ARRAY=""
464 | CT_LIBC_XLDD=y
465 |
466 | #
467 | # C compiler
468 | #
469 | CT_CC_CORE_PASSES_NEEDED=y
470 | CT_CC_CORE_PASS_1_NEEDED=y
471 | CT_CC_CORE_PASS_2_NEEDED=y
472 | CT_CC_SUPPORT_CXX=y
473 | CT_CC_SUPPORT_FORTRAN=y
474 | CT_CC_SUPPORT_ADA=y
475 | CT_CC_SUPPORT_OBJC=y
476 | CT_CC_SUPPORT_OBJCXX=y
477 | CT_CC_SUPPORT_GOLANG=y
478 | CT_CC_GCC=y
479 | CT_CC="gcc"
480 | CT_CC_CHOICE_KSYM="GCC"
481 | CT_CC_GCC_SHOW=y
482 |
483 | #
484 | # Options for gcc
485 | #
486 | CT_CC_GCC_PKG_KSYM="GCC"
487 | CT_GCC_DIR_NAME="gcc"
488 | CT_GCC_USE_GNU=y
489 | CT_GCC_USE="GCC"
490 | CT_GCC_PKG_NAME="gcc"
491 | CT_GCC_SRC_RELEASE=y
492 | CT_GCC_PATCH_ORDER="global"
493 | CT_GCC_V_8=y
494 | # CT_GCC_V_7 is not set
495 | # CT_GCC_V_6 is not set
496 | # CT_GCC_V_5 is not set
497 | # CT_GCC_V_4_9 is not set
498 | # CT_GCC_V_4_8 is not set
499 | # CT_GCC_NO_VERSIONS is not set
500 | CT_GCC_VERSION="8.3.0"
501 | CT_GCC_MIRRORS="$(CT_Mirrors GNU gcc/gcc-${CT_GCC_VERSION}) $(CT_Mirrors sourceware gcc/releases/gcc-${CT_GCC_VERSION})"
502 | CT_GCC_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
503 | CT_GCC_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
504 | CT_GCC_ARCHIVE_FORMATS=".tar.xz .tar.gz"
505 | CT_GCC_SIGNATURE_FORMAT=""
506 | CT_GCC_later_than_7=y
507 | CT_GCC_7_or_later=y
508 | CT_GCC_later_than_6=y
509 | CT_GCC_6_or_later=y
510 | CT_GCC_later_than_5=y
511 | CT_GCC_5_or_later=y
512 | CT_GCC_later_than_4_9=y
513 | CT_GCC_4_9_or_later=y
514 | CT_GCC_later_than_4_8=y
515 | CT_GCC_4_8_or_later=y
516 | CT_CC_GCC_HAS_LIBMPX=y
517 | CT_CC_GCC_ENABLE_CXX_FLAGS=""
518 | CT_CC_GCC_CORE_EXTRA_CONFIG_ARRAY=""
519 | CT_CC_GCC_EXTRA_CONFIG_ARRAY=""
520 | CT_CC_GCC_STATIC_LIBSTDCXX=y
521 | # CT_CC_GCC_SYSTEM_ZLIB is not set
522 | CT_CC_GCC_CONFIG_TLS=m
523 |
524 | #
525 | # Optimisation features
526 | #
527 | CT_CC_GCC_USE_GRAPHITE=y
528 |
529 | #
530 | # Settings for libraries running on target
531 | #
532 | CT_CC_GCC_ENABLE_TARGET_OPTSPACE=y
533 | # CT_CC_GCC_LIBMUDFLAP is not set
534 | # CT_CC_GCC_LIBGOMP is not set
535 | # CT_CC_GCC_LIBSSP is not set
536 | # CT_CC_GCC_LIBQUADMATH is not set
537 | # CT_CC_GCC_LIBSANITIZER is not set
538 | CT_CC_GCC_LIBMPX=y
539 |
540 | #
541 | # Misc. obscure options.
542 | #
543 | CT_CC_CXA_ATEXIT=y
544 | # CT_CC_GCC_DISABLE_PCH is not set
545 | CT_CC_GCC_SJLJ_EXCEPTIONS=m
546 | CT_CC_GCC_LDBL_128=m
547 | # CT_CC_GCC_BUILD_ID is not set
548 | CT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y
549 | # CT_CC_GCC_LNK_HASH_STYLE_SYSV is not set
550 | # CT_CC_GCC_LNK_HASH_STYLE_GNU is not set
551 | # CT_CC_GCC_LNK_HASH_STYLE_BOTH is not set
552 | CT_CC_GCC_LNK_HASH_STYLE=""
553 | CT_CC_GCC_DEC_FLOAT_AUTO=y
554 | # CT_CC_GCC_DEC_FLOAT_BID is not set
555 | # CT_CC_GCC_DEC_FLOAT_DPD is not set
556 | # CT_CC_GCC_DEC_FLOATS_NO is not set
557 | CT_ALL_CC_CHOICES="GCC"
558 |
559 | #
560 | # Additional supported languages:
561 | #
562 | CT_CC_LANG_CXX=y
563 | # CT_CC_LANG_FORTRAN is not set
564 |
565 | #
566 | # Debug facilities
567 | #
568 | # CT_DEBUG_DUMA is not set
569 | # CT_DEBUG_GDB is not set
570 | # CT_DEBUG_LTRACE is not set
571 | # CT_DEBUG_STRACE is not set
572 | CT_ALL_DEBUG_CHOICES="DUMA GDB LTRACE STRACE"
573 |
574 | #
575 | # Companion libraries
576 | #
577 | # CT_COMPLIBS_CHECK is not set
578 | # CT_COMP_LIBS_CLOOG is not set
579 | # CT_COMP_LIBS_EXPAT is not set
580 | CT_COMP_LIBS_GETTEXT=y
581 | CT_COMP_LIBS_GETTEXT_PKG_KSYM="GETTEXT"
582 | CT_GETTEXT_DIR_NAME="gettext"
583 | CT_GETTEXT_PKG_NAME="gettext"
584 | CT_GETTEXT_SRC_RELEASE=y
585 | CT_GETTEXT_PATCH_ORDER="global"
586 | CT_GETTEXT_V_0_19_8_1=y
587 | # CT_GETTEXT_V_0_19_7 is not set
588 | # CT_GETTEXT_NO_VERSIONS is not set
589 | CT_GETTEXT_VERSION="0.19.8.1"
590 | CT_GETTEXT_MIRRORS="$(CT_Mirrors GNU gettext)"
591 | CT_GETTEXT_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
592 | CT_GETTEXT_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
593 | CT_GETTEXT_ARCHIVE_FORMATS=".tar.xz .tar.lz .tar.gz"
594 | CT_GETTEXT_SIGNATURE_FORMAT="packed/.sig"
595 | CT_COMP_LIBS_GMP=y
596 | CT_COMP_LIBS_GMP_PKG_KSYM="GMP"
597 | CT_GMP_DIR_NAME="gmp"
598 | CT_GMP_PKG_NAME="gmp"
599 | CT_GMP_SRC_RELEASE=y
600 | CT_GMP_PATCH_ORDER="global"
601 | CT_GMP_V_6_1=y
602 | # CT_GMP_V_6_0 is not set
603 | # CT_GMP_V_5_1 is not set
604 | # CT_GMP_V_5_0 is not set
605 | # CT_GMP_V_4_3 is not set
606 | # CT_GMP_NO_VERSIONS is not set
607 | CT_GMP_VERSION="6.1.2"
608 | CT_GMP_MIRRORS="https://gmplib.org/download/gmp https://gmplib.org/download/gmp/archive $(CT_Mirrors GNU gmp)"
609 | CT_GMP_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
610 | CT_GMP_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
611 | CT_GMP_ARCHIVE_FORMATS=".tar.xz .tar.lz .tar.bz2"
612 | CT_GMP_SIGNATURE_FORMAT="packed/.sig"
613 | CT_GMP_later_than_5_1_0=y
614 | CT_GMP_5_1_0_or_later=y
615 | CT_GMP_later_than_5_0_0=y
616 | CT_GMP_5_0_0_or_later=y
617 | CT_COMP_LIBS_ISL=y
618 | CT_COMP_LIBS_ISL_PKG_KSYM="ISL"
619 | CT_ISL_DIR_NAME="isl"
620 | CT_ISL_PKG_NAME="isl"
621 | CT_ISL_SRC_RELEASE=y
622 | CT_ISL_PATCH_ORDER="global"
623 | # CT_ISL_V_0_20 is not set
624 | # CT_ISL_V_0_19 is not set
625 | # CT_ISL_V_0_18 is not set
626 | # CT_ISL_V_0_17 is not set
627 | CT_ISL_V_0_16=y
628 | # CT_ISL_V_0_15 is not set
629 | # CT_ISL_NO_VERSIONS is not set
630 | CT_ISL_VERSION="0.16.1"
631 | CT_ISL_MIRRORS="https://libisl.sourceforge.io"
632 | CT_ISL_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
633 | CT_ISL_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
634 | CT_ISL_ARCHIVE_FORMATS=".tar.xz .tar.bz2 .tar.gz"
635 | CT_ISL_SIGNATURE_FORMAT=""
636 | CT_ISL_0_18_or_older=y
637 | CT_ISL_older_than_0_18=y
638 | CT_ISL_later_than_0_15=y
639 | CT_ISL_0_15_or_later=y
640 | CT_ISL_REQUIRE_0_15_or_later=y
641 | CT_ISL_later_than_0_14=y
642 | CT_ISL_0_14_or_later=y
643 | CT_ISL_REQUIRE_0_14_or_later=y
644 | CT_ISL_later_than_0_13=y
645 | CT_ISL_0_13_or_later=y
646 | CT_ISL_later_than_0_12=y
647 | CT_ISL_0_12_or_later=y
648 | CT_ISL_REQUIRE_0_12_or_later=y
649 | # CT_COMP_LIBS_LIBELF is not set
650 | CT_COMP_LIBS_LIBICONV=y
651 | CT_COMP_LIBS_LIBICONV_PKG_KSYM="LIBICONV"
652 | CT_LIBICONV_DIR_NAME="libiconv"
653 | CT_LIBICONV_PKG_NAME="libiconv"
654 | CT_LIBICONV_SRC_RELEASE=y
655 | CT_LIBICONV_PATCH_ORDER="global"
656 | CT_LIBICONV_V_1_15=y
657 | # CT_LIBICONV_V_1_14 is not set
658 | # CT_LIBICONV_NO_VERSIONS is not set
659 | CT_LIBICONV_VERSION="1.15"
660 | CT_LIBICONV_MIRRORS="$(CT_Mirrors GNU libiconv)"
661 | CT_LIBICONV_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
662 | CT_LIBICONV_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
663 | CT_LIBICONV_ARCHIVE_FORMATS=".tar.gz"
664 | CT_LIBICONV_SIGNATURE_FORMAT="packed/.sig"
665 | CT_COMP_LIBS_MPC=y
666 | CT_COMP_LIBS_MPC_PKG_KSYM="MPC"
667 | CT_MPC_DIR_NAME="mpc"
668 | CT_MPC_PKG_NAME="mpc"
669 | CT_MPC_SRC_RELEASE=y
670 | CT_MPC_PATCH_ORDER="global"
671 | # CT_MPC_V_1_1 is not set
672 | CT_MPC_V_1_0=y
673 | # CT_MPC_V_0_9 is not set
674 | # CT_MPC_V_0_8 is not set
675 | # CT_MPC_V_0_7 is not set
676 | # CT_MPC_NO_VERSIONS is not set
677 | CT_MPC_VERSION="1.0.3"
678 | CT_MPC_MIRRORS="http://www.multiprecision.org/downloads $(CT_Mirrors GNU mpc)"
679 | CT_MPC_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
680 | CT_MPC_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
681 | CT_MPC_ARCHIVE_FORMATS=".tar.gz"
682 | CT_MPC_SIGNATURE_FORMAT="packed/.sig"
683 | CT_MPC_1_1_0_or_older=y
684 | CT_MPC_older_than_1_1_0=y
685 | CT_COMP_LIBS_MPFR=y
686 | CT_COMP_LIBS_MPFR_PKG_KSYM="MPFR"
687 | CT_MPFR_DIR_NAME="mpfr"
688 | CT_MPFR_PKG_NAME="mpfr"
689 | CT_MPFR_SRC_RELEASE=y
690 | CT_MPFR_PATCH_ORDER="global"
691 | CT_MPFR_V_3_1=y
692 | # CT_MPFR_V_3_0 is not set
693 | # CT_MPFR_V_2_4 is not set
694 | # CT_MPFR_NO_VERSIONS is not set
695 | CT_MPFR_VERSION="3.1.6"
696 | CT_MPFR_MIRRORS="http://www.mpfr.org/mpfr-${CT_MPFR_VERSION} $(CT_Mirrors GNU mpfr)"
697 | CT_MPFR_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
698 | CT_MPFR_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
699 | CT_MPFR_ARCHIVE_FORMATS=".tar.xz .tar.bz2 .tar.gz .zip"
700 | CT_MPFR_SIGNATURE_FORMAT="packed/.asc"
701 | CT_MPFR_4_0_0_or_older=y
702 | CT_MPFR_older_than_4_0_0=y
703 | CT_MPFR_REQUIRE_older_than_4_0_0=y
704 | CT_MPFR_later_than_3_0_0=y
705 | CT_MPFR_3_0_0_or_later=y
706 | CT_COMP_LIBS_NCURSES=y
707 | CT_COMP_LIBS_NCURSES_PKG_KSYM="NCURSES"
708 | CT_NCURSES_DIR_NAME="ncurses"
709 | CT_NCURSES_PKG_NAME="ncurses"
710 | CT_NCURSES_SRC_RELEASE=y
711 | CT_NCURSES_PATCH_ORDER="global"
712 | # CT_NCURSES_V_6_1 is not set
713 | CT_NCURSES_V_6_0=y
714 | # CT_NCURSES_NO_VERSIONS is not set
715 | CT_NCURSES_VERSION="6.0"
716 | CT_NCURSES_MIRRORS="ftp://invisible-island.net/ncurses $(CT_Mirrors GNU ncurses)"
717 | CT_NCURSES_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
718 | CT_NCURSES_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
719 | CT_NCURSES_ARCHIVE_FORMATS=".tar.gz"
720 | CT_NCURSES_SIGNATURE_FORMAT="packed/.sig"
721 | CT_NCURSES_HOST_CONFIG_ARGS=""
722 | CT_NCURSES_HOST_DISABLE_DB=y
723 | CT_NCURSES_HOST_FALLBACKS="linux,xterm,xterm-color,xterm-256color,vt100"
724 | CT_NCURSES_TARGET_CONFIG_ARGS=""
725 | # CT_NCURSES_TARGET_DISABLE_DB is not set
726 | CT_NCURSES_TARGET_FALLBACKS=""
727 | # CT_COMP_LIBS_ZLIB is not set
728 | CT_ALL_COMP_LIBS_CHOICES="CLOOG EXPAT GETTEXT GMP ISL LIBELF LIBICONV MPC MPFR NCURSES ZLIB"
729 | CT_LIBICONV_NEEDED=y
730 | CT_GETTEXT_NEEDED=y
731 | CT_GMP_NEEDED=y
732 | CT_MPFR_NEEDED=y
733 | CT_ISL_NEEDED=y
734 | CT_MPC_NEEDED=y
735 | CT_NCURSES_NEEDED=y
736 | # CT_ZLIB_NEEDED is not set
737 | CT_LIBICONV=y
738 | CT_GETTEXT=y
739 | CT_GMP=y
740 | CT_MPFR=y
741 | CT_ISL=y
742 | CT_MPC=y
743 | CT_NCURSES=y
744 |
745 | #
746 | # Companion tools
747 | #
748 | # CT_COMP_TOOLS_FOR_HOST is not set
749 | # CT_COMP_TOOLS_AUTOCONF is not set
750 | # CT_COMP_TOOLS_AUTOMAKE is not set
751 | # CT_COMP_TOOLS_BISON is not set
752 | # CT_COMP_TOOLS_DTC is not set
753 | # CT_COMP_TOOLS_LIBTOOL is not set
754 | # CT_COMP_TOOLS_M4 is not set
755 | # CT_COMP_TOOLS_MAKE is not set
756 | CT_ALL_COMP_TOOLS_CHOICES="AUTOCONF AUTOMAKE BISON DTC LIBTOOL M4 MAKE"
757 |
--------------------------------------------------------------------------------
/crosstool-ng-config-aarch64:
--------------------------------------------------------------------------------
1 | #
2 | # Automatically generated file; DO NOT EDIT.
3 | # crosstool-NG Configuration
4 | #
5 | CT_CONFIGURE_has_cxx11=y
6 | CT_CONFIGURE_has_wget=y
7 | CT_CONFIGURE_has_curl=y
8 | CT_CONFIGURE_has_make_3_81_or_newer=y
9 | CT_CONFIGURE_has_make_4_0_or_newer=y
10 | CT_CONFIGURE_has_libtool_2_4_or_newer=y
11 | CT_CONFIGURE_has_libtoolize_2_4_or_newer=y
12 | CT_CONFIGURE_has_autoconf_2_65_or_newer=y
13 | CT_CONFIGURE_has_autoreconf_2_65_or_newer=y
14 | CT_CONFIGURE_has_automake_1_15_or_newer=y
15 | CT_CONFIGURE_has_gnu_m4_1_4_12_or_newer=y
16 | CT_CONFIGURE_has_python_3_4_or_newer=y
17 | CT_CONFIGURE_has_bison_2_7_or_newer=y
18 | CT_CONFIGURE_has_python=y
19 | CT_CONFIGURE_has_svn=y
20 | CT_CONFIGURE_has_git=y
21 | CT_CONFIGURE_has_md5sum=y
22 | CT_CONFIGURE_has_sha1sum=y
23 | CT_CONFIGURE_has_sha256sum=y
24 | CT_CONFIGURE_has_sha512sum=y
25 | CT_CONFIGURE_has_install_with_strip_program=y
26 | CT_CONFIG_VERSION_CURRENT="3"
27 | CT_CONFIG_VERSION="3"
28 | CT_MODULES=y
29 |
30 | #
31 | # Paths and misc options
32 | #
33 |
34 | #
35 | # crosstool-NG behavior
36 | #
37 | CT_OBSOLETE=y
38 | # CT_EXPERIMENTAL is not set
39 | # CT_DEBUG_CT is not set
40 |
41 | #
42 | # Paths
43 | #
44 | CT_LOCAL_TARBALLS_DIR="${HOME}/src"
45 | CT_SAVE_TARBALLS=y
46 | # CT_TARBALLS_BUILDROOT_LAYOUT is not set
47 | CT_WORK_DIR="${CT_TOP_DIR}/.build"
48 | CT_BUILD_TOP_DIR="${CT_WORK_DIR:-${CT_TOP_DIR}/.build}/${CT_HOST:+HOST-${CT_HOST}/}${CT_TARGET}"
49 | CT_PREFIX_DIR="${CT_PREFIX:-${HOME}/x-tools}/${CT_HOST:+HOST-${CT_HOST}/}${CT_TARGET}"
50 | CT_RM_RF_PREFIX_DIR=y
51 | CT_REMOVE_DOCS=y
52 | CT_INSTALL_LICENSES=y
53 | # CT_PREFIX_DIR_RO is not set
54 | CT_STRIP_HOST_TOOLCHAIN_EXECUTABLES=y
55 | CT_STRIP_TARGET_TOOLCHAIN_EXECUTABLES=y
56 |
57 | #
58 | # Downloading
59 | #
60 | CT_DOWNLOAD_AGENT_WGET=y
61 | # CT_DOWNLOAD_AGENT_CURL is not set
62 | # CT_DOWNLOAD_AGENT_NONE is not set
63 | # CT_FORBID_DOWNLOAD is not set
64 | # CT_FORCE_DOWNLOAD is not set
65 | CT_CONNECT_TIMEOUT=10
66 | CT_DOWNLOAD_WGET_OPTIONS="--passive-ftp --tries=3 -nc --progress=dot:binary"
67 | # CT_ONLY_DOWNLOAD is not set
68 | # CT_USE_MIRROR is not set
69 | CT_VERIFY_DOWNLOAD_DIGEST=y
70 | CT_VERIFY_DOWNLOAD_DIGEST_SHA512=y
71 | # CT_VERIFY_DOWNLOAD_DIGEST_SHA256 is not set
72 | # CT_VERIFY_DOWNLOAD_DIGEST_SHA1 is not set
73 | # CT_VERIFY_DOWNLOAD_DIGEST_MD5 is not set
74 | CT_VERIFY_DOWNLOAD_DIGEST_ALG="sha512"
75 | # CT_VERIFY_DOWNLOAD_SIGNATURE is not set
76 |
77 | #
78 | # Extracting
79 | #
80 | # CT_FORCE_EXTRACT is not set
81 | CT_OVERRIDE_CONFIG_GUESS_SUB=y
82 | # CT_ONLY_EXTRACT is not set
83 | CT_PATCH_BUNDLED=y
84 | # CT_PATCH_BUNDLED_LOCAL is not set
85 | CT_PATCH_ORDER="bundled"
86 |
87 | #
88 | # Build behavior
89 | #
90 | CT_PARALLEL_JOBS=0
91 | CT_LOAD=""
92 | CT_USE_PIPES=y
93 | CT_EXTRA_CFLAGS_FOR_BUILD=""
94 | CT_EXTRA_LDFLAGS_FOR_BUILD=""
95 | CT_EXTRA_CFLAGS_FOR_HOST=""
96 | CT_EXTRA_LDFLAGS_FOR_HOST=""
97 | # CT_CONFIG_SHELL_SH is not set
98 | # CT_CONFIG_SHELL_ASH is not set
99 | CT_CONFIG_SHELL_BASH=y
100 | # CT_CONFIG_SHELL_CUSTOM is not set
101 | CT_CONFIG_SHELL="${bash}"
102 |
103 | #
104 | # Logging
105 | #
106 | # CT_LOG_ERROR is not set
107 | # CT_LOG_WARN is not set
108 | # CT_LOG_INFO is not set
109 | CT_LOG_EXTRA=y
110 | # CT_LOG_ALL is not set
111 | # CT_LOG_DEBUG is not set
112 | CT_LOG_LEVEL_MAX="EXTRA"
113 | # CT_LOG_SEE_TOOLS_WARN is not set
114 | CT_LOG_PROGRESS_BAR=y
115 | # CT_LOG_TO_FILE is not set
116 |
117 | #
118 | # Target options
119 | #
120 | # CT_ARCH_ALPHA is not set
121 | # CT_ARCH_ARC is not set
122 | CT_ARCH_ARM=y
123 | # CT_ARCH_AVR is not set
124 | # CT_ARCH_M68K is not set
125 | # CT_ARCH_MIPS is not set
126 | # CT_ARCH_NIOS2 is not set
127 | # CT_ARCH_POWERPC is not set
128 | # CT_ARCH_S390 is not set
129 | # CT_ARCH_SH is not set
130 | # CT_ARCH_SPARC is not set
131 | # CT_ARCH_X86 is not set
132 | # CT_ARCH_XTENSA is not set
133 | CT_ARCH="arm"
134 | CT_ARCH_CHOICE_KSYM="ARM"
135 | CT_ARCH_CPU=""
136 | CT_ARCH_TUNE=""
137 | CT_ARCH_ARM_SHOW=y
138 |
139 | #
140 | # Options for arm
141 | #
142 | CT_ARCH_ARM_PKG_KSYM=""
143 | CT_ALL_ARCH_CHOICES="ALPHA ARC ARM AVR M68K MICROBLAZE MIPS MOXIE MSP430 NIOS2 POWERPC RISCV S390 SH SPARC X86 XTENSA"
144 | CT_ARCH_SUFFIX=""
145 | # CT_OMIT_TARGET_VENDOR is not set
146 |
147 | #
148 | # Generic target options
149 | #
150 | # CT_MULTILIB is not set
151 | CT_DEMULTILIB=y
152 | CT_ARCH_SUPPORTS_BOTH_MMU=y
153 | CT_ARCH_DEFAULT_HAS_MMU=y
154 | CT_ARCH_USE_MMU=y
155 | CT_ARCH_SUPPORTS_FLAT_FORMAT=y
156 | CT_ARCH_SUPPORTS_EITHER_ENDIAN=y
157 | CT_ARCH_DEFAULT_LE=y
158 | # CT_ARCH_BE is not set
159 | CT_ARCH_LE=y
160 | CT_ARCH_ENDIAN="little"
161 | CT_ARCH_SUPPORTS_32=y
162 | CT_ARCH_SUPPORTS_64=y
163 | CT_ARCH_DEFAULT_32=y
164 | CT_ARCH_BITNESS=64
165 | # CT_ARCH_32 is not set
166 | CT_ARCH_64=y
167 |
168 | #
169 | # Target optimisations
170 | #
171 | CT_ARCH_SUPPORTS_WITH_ARCH=y
172 | CT_ARCH_SUPPORTS_WITH_CPU=y
173 | CT_ARCH_SUPPORTS_WITH_TUNE=y
174 | CT_ARCH_EXCLUSIVE_WITH_CPU=y
175 | CT_ARCH_ARCH=""
176 | CT_TARGET_CFLAGS="-fPIC"
177 | CT_TARGET_LDFLAGS=""
178 |
179 | #
180 | # Toolchain options
181 | #
182 |
183 | #
184 | # General toolchain options
185 | #
186 | CT_USE_SYSROOT=y
187 | CT_SYSROOT_NAME="sysroot"
188 | CT_SYSROOT_DIR_PREFIX=""
189 | CT_SHOW_CT_VERSION=y
190 | CT_TOOLCHAIN_PKGVERSION=""
191 | CT_TOOLCHAIN_BUGURL=""
192 |
193 | #
194 | # Tuple completion and aliasing
195 | #
196 | CT_TARGET_VENDOR="osquery"
197 | CT_TARGET_ALIAS_SED_EXPR=""
198 | CT_TARGET_ALIAS=""
199 |
200 | #
201 | # Toolchain type
202 | #
203 | CT_CROSS=y
204 | # CT_CANADIAN is not set
205 | CT_TOOLCHAIN_TYPE="cross"
206 |
207 | #
208 | # Build system
209 | #
210 | CT_BUILD=""
211 | CT_BUILD_PREFIX=""
212 | CT_BUILD_SUFFIX=""
213 |
214 | #
215 | # Misc options
216 | #
217 | # CT_TOOLCHAIN_ENABLE_NLS is not set
218 |
219 | #
220 | # Operating System
221 | #
222 | CT_KERNEL_SUPPORTS_SHARED_LIBS=y
223 | # CT_KERNEL_BARE_METAL is not set
224 | CT_KERNEL_LINUX=y
225 | CT_KERNEL="linux"
226 | CT_KERNEL_CHOICE_KSYM="LINUX"
227 | CT_KERNEL_LINUX_SHOW=y
228 |
229 | #
230 | # Options for linux
231 | #
232 | CT_KERNEL_LINUX_PKG_KSYM="LINUX"
233 | CT_LINUX_DIR_NAME="linux"
234 | CT_LINUX_PKG_NAME="linux"
235 | CT_LINUX_SRC_RELEASE=y
236 | CT_LINUX_PATCH_ORDER="global"
237 | # CT_LINUX_V_4_20 is not set
238 | # CT_LINUX_V_4_19 is not set
239 | # CT_LINUX_V_4_18 is not set
240 | # CT_LINUX_V_4_17 is not set
241 | # CT_LINUX_V_4_16 is not set
242 | # CT_LINUX_V_4_15 is not set
243 | # CT_LINUX_V_4_14 is not set
244 | # CT_LINUX_V_4_13 is not set
245 | # CT_LINUX_V_4_12 is not set
246 | # CT_LINUX_V_4_11 is not set
247 | # CT_LINUX_V_4_10 is not set
248 | CT_LINUX_V_4_9=y
249 | # CT_LINUX_V_4_8 is not set
250 | # CT_LINUX_V_4_7 is not set
251 | # CT_LINUX_V_4_6 is not set
252 | # CT_LINUX_V_4_5 is not set
253 | # CT_LINUX_V_4_4 is not set
254 | # CT_LINUX_V_4_3 is not set
255 | # CT_LINUX_V_4_2 is not set
256 | # CT_LINUX_V_4_1 is not set
257 | # CT_LINUX_V_4_0 is not set
258 | # CT_LINUX_V_3_19 is not set
259 | # CT_LINUX_V_3_18 is not set
260 | # CT_LINUX_V_3_17 is not set
261 | # CT_LINUX_V_3_16 is not set
262 | # CT_LINUX_V_3_15 is not set
263 | # CT_LINUX_V_3_14 is not set
264 | # CT_LINUX_V_3_13 is not set
265 | # CT_LINUX_V_3_12 is not set
266 | # CT_LINUX_V_3_11 is not set
267 | # CT_LINUX_V_3_10 is not set
268 | # CT_LINUX_V_3_9 is not set
269 | # CT_LINUX_V_3_8 is not set
270 | # CT_LINUX_V_3_7 is not set
271 | # CT_LINUX_NO_VERSIONS is not set
272 | CT_LINUX_VERSION="4.9.156"
273 | CT_LINUX_MIRRORS="$(CT_Mirrors kernel.org linux ${CT_LINUX_VERSION})"
274 | CT_LINUX_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
275 | CT_LINUX_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
276 | CT_LINUX_ARCHIVE_FORMATS=".tar.xz .tar.gz"
277 | CT_LINUX_SIGNATURE_FORMAT="unpacked/.sign"
278 | CT_LINUX_later_than_4_8=y
279 | CT_LINUX_4_8_or_later=y
280 | CT_LINUX_later_than_3_7=y
281 | CT_LINUX_3_7_or_later=y
282 | CT_LINUX_REQUIRE_3_7_or_later=y
283 | CT_LINUX_later_than_3_2=y
284 | CT_LINUX_3_2_or_later=y
285 | CT_KERNEL_LINUX_VERBOSITY_0=y
286 | # CT_KERNEL_LINUX_VERBOSITY_1 is not set
287 | # CT_KERNEL_LINUX_VERBOSITY_2 is not set
288 | CT_KERNEL_LINUX_VERBOSE_LEVEL=0
289 | CT_KERNEL_LINUX_INSTALL_CHECK=y
290 | CT_ALL_KERNEL_CHOICES="BARE_METAL LINUX WINDOWS"
291 |
292 | #
293 | # Common kernel options
294 | #
295 | CT_SHARED_LIBS=y
296 |
297 | #
298 | # Binary utilities
299 | #
300 | CT_ARCH_BINFMT_ELF=y
301 | CT_BINUTILS_BINUTILS=y
302 | CT_BINUTILS="binutils"
303 | CT_BINUTILS_CHOICE_KSYM="BINUTILS"
304 | CT_BINUTILS_BINUTILS_SHOW=y
305 |
306 | #
307 | # Options for binutils
308 | #
309 | CT_BINUTILS_BINUTILS_PKG_KSYM="BINUTILS"
310 | CT_BINUTILS_DIR_NAME="binutils"
311 | CT_BINUTILS_USE_GNU=y
312 | CT_BINUTILS_USE="BINUTILS"
313 | CT_BINUTILS_PKG_NAME="binutils"
314 | CT_BINUTILS_SRC_RELEASE=y
315 | CT_BINUTILS_PATCH_ORDER="global"
316 | CT_BINUTILS_V_2_29=y
317 | # CT_BINUTILS_V_2_28 is not set
318 | # CT_BINUTILS_V_2_27 is not set
319 | # CT_BINUTILS_V_2_26 is not set
320 | # CT_BINUTILS_V_2_25 is not set
321 | # CT_BINUTILS_V_2_24 is not set
322 | # CT_BINUTILS_V_2_23 is not set
323 | # CT_BINUTILS_NO_VERSIONS is not set
324 | CT_BINUTILS_VERSION="2.29.1"
325 | CT_BINUTILS_MIRRORS="$(CT_Mirrors GNU binutils) $(CT_Mirrors sourceware binutils/releases)"
326 | CT_BINUTILS_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
327 | CT_BINUTILS_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
328 | CT_BINUTILS_ARCHIVE_FORMATS=".tar.xz .tar.bz2 .tar.gz"
329 | CT_BINUTILS_SIGNATURE_FORMAT="packed/.sig"
330 | CT_BINUTILS_2_30_or_older=y
331 | CT_BINUTILS_older_than_2_30=y
332 | CT_BINUTILS_REQUIRE_older_than_2_30=y
333 | CT_BINUTILS_later_than_2_27=y
334 | CT_BINUTILS_2_27_or_later=y
335 | CT_BINUTILS_later_than_2_25=y
336 | CT_BINUTILS_2_25_or_later=y
337 | CT_BINUTILS_later_than_2_23=y
338 | CT_BINUTILS_2_23_or_later=y
339 |
340 | #
341 | # GNU binutils
342 | #
343 | CT_BINUTILS_HAS_HASH_STYLE=y
344 | CT_BINUTILS_HAS_GOLD=y
345 | CT_BINUTILS_HAS_PLUGINS=y
346 | CT_BINUTILS_HAS_PKGVERSION_BUGURL=y
347 | CT_BINUTILS_GOLD_SUPPORTS_ARCH=y
348 | CT_BINUTILS_GOLD_SUPPORT=y
349 | CT_BINUTILS_FORCE_LD_BFD_DEFAULT=y
350 | CT_BINUTILS_LINKER_LD=y
351 | # CT_BINUTILS_LINKER_LD_GOLD is not set
352 | CT_BINUTILS_LINKERS_LIST="ld"
353 | CT_BINUTILS_LINKER_DEFAULT="bfd"
354 | # CT_BINUTILS_PLUGINS is not set
355 | CT_BINUTILS_RELRO=m
356 | CT_BINUTILS_EXTRA_CONFIG_ARRAY=""
357 | # CT_BINUTILS_FOR_TARGET is not set
358 | CT_ALL_BINUTILS_CHOICES="BINUTILS"
359 |
360 | #
361 | # C-library
362 | #
363 | CT_LIBC_GLIBC=y
364 | # CT_LIBC_UCLIBC is not set
365 | CT_LIBC="glibc"
366 | CT_LIBC_CHOICE_KSYM="GLIBC"
367 | CT_THREADS="nptl"
368 | CT_LIBC_GLIBC_SHOW=y
369 |
370 | #
371 | # Options for glibc
372 | #
373 | CT_LIBC_GLIBC_PKG_KSYM="GLIBC"
374 | CT_GLIBC_DIR_NAME="glibc"
375 | CT_GLIBC_USE_GNU=y
376 | CT_GLIBC_USE="GLIBC"
377 | CT_GLIBC_PKG_NAME="glibc"
378 | CT_GLIBC_SRC_RELEASE=y
379 | CT_GLIBC_PATCH_ORDER="global"
380 | # CT_GLIBC_V_2_29 is not set
381 | # CT_GLIBC_V_2_28 is not set
382 | # CT_GLIBC_V_2_27 is not set
383 | # CT_GLIBC_V_2_26 is not set
384 | # CT_GLIBC_V_2_25 is not set
385 | # CT_GLIBC_V_2_24 is not set
386 | CT_GLIBC_V_2_23=y
387 | # CT_GLIBC_V_2_22 is not set
388 | # CT_GLIBC_V_2_21 is not set
389 | # CT_GLIBC_V_2_20 is not set
390 | # CT_GLIBC_V_2_19 is not set
391 | # CT_GLIBC_V_2_18 is not set
392 | # CT_GLIBC_V_2_17 is not set
393 | # CT_GLIBC_V_2_16_0 is not set
394 | # CT_GLIBC_V_2_15 is not set
395 | # CT_GLIBC_V_2_14_1 is not set
396 | # CT_GLIBC_V_2_13 is not set
397 | # CT_GLIBC_V_2_12_2 is not set
398 | # CT_GLIBC_V_2_12_1 is not set
399 | # CT_GLIBC_NO_VERSIONS is not set
400 | CT_GLIBC_VERSION="2.23"
401 | CT_GLIBC_MIRRORS="$(CT_Mirrors GNU glibc)"
402 | CT_GLIBC_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
403 | CT_GLIBC_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
404 | CT_GLIBC_ARCHIVE_FORMATS=".tar.xz .tar.bz2 .tar.gz"
405 | CT_GLIBC_SIGNATURE_FORMAT="packed/.sig"
406 | CT_GLIBC_2_29_or_older=y
407 | CT_GLIBC_older_than_2_29=y
408 | CT_GLIBC_2_27_or_older=y
409 | CT_GLIBC_older_than_2_27=y
410 | CT_GLIBC_2_26_or_older=y
411 | CT_GLIBC_older_than_2_26=y
412 | CT_GLIBC_2_25_or_older=y
413 | CT_GLIBC_older_than_2_25=y
414 | CT_GLIBC_2_24_or_older=y
415 | CT_GLIBC_older_than_2_24=y
416 | CT_GLIBC_2_23_or_later=y
417 | CT_GLIBC_2_23_or_older=y
418 | CT_GLIBC_later_than_2_20=y
419 | CT_GLIBC_2_20_or_later=y
420 | CT_GLIBC_later_than_2_17=y
421 | CT_GLIBC_2_17_or_later=y
422 | CT_GLIBC_later_than_2_14=y
423 | CT_GLIBC_2_14_or_later=y
424 | CT_GLIBC_DEP_KERNEL_HEADERS_VERSION=y
425 | CT_GLIBC_DEP_BINUTILS=y
426 | CT_GLIBC_DEP_GCC=y
427 | CT_GLIBC_DEP_PYTHON=y
428 | CT_GLIBC_HAS_LIBIDN_ADDON=y
429 | # CT_GLIBC_USE_LIBIDN_ADDON is not set
430 | CT_GLIBC_NO_SPARC_V8=y
431 | CT_GLIBC_HAS_OBSOLETE_RPC=y
432 | CT_GLIBC_EXTRA_CONFIG_ARRAY=""
433 | CT_GLIBC_CONFIGPARMS=""
434 | CT_GLIBC_EXTRA_CFLAGS=""
435 | CT_GLIBC_ENABLE_OBSOLETE_RPC=y
436 | # CT_GLIBC_DISABLE_VERSIONING is not set
437 | CT_GLIBC_OLDEST_ABI=""
438 | CT_GLIBC_FORCE_UNWIND=y
439 | # CT_GLIBC_LOCALES is not set
440 | # CT_GLIBC_KERNEL_VERSION_NONE is not set
441 | CT_GLIBC_KERNEL_VERSION_AS_HEADERS=y
442 | # CT_GLIBC_KERNEL_VERSION_CHOSEN is not set
443 | CT_GLIBC_MIN_KERNEL="4.9.156"
444 | CT_ALL_LIBC_CHOICES="AVR_LIBC BIONIC GLIBC MINGW_W64 MOXIEBOX MUSL NEWLIB NONE UCLIBC"
445 | CT_LIBC_SUPPORT_THREADS_ANY=y
446 | CT_LIBC_SUPPORT_THREADS_NATIVE=y
447 |
448 | #
449 | # Common C library options
450 | #
451 | CT_THREADS_NATIVE=y
452 | CT_CREATE_LDSO_CONF=y
453 | CT_LDSO_CONF_EXTRA_DIRS_ARRAY=""
454 | CT_LIBC_XLDD=y
455 |
456 | #
457 | # C compiler
458 | #
459 | CT_CC_CORE_PASSES_NEEDED=y
460 | CT_CC_CORE_PASS_1_NEEDED=y
461 | CT_CC_CORE_PASS_2_NEEDED=y
462 | CT_CC_SUPPORT_CXX=y
463 | CT_CC_SUPPORT_FORTRAN=y
464 | CT_CC_SUPPORT_ADA=y
465 | CT_CC_SUPPORT_OBJC=y
466 | CT_CC_SUPPORT_OBJCXX=y
467 | CT_CC_SUPPORT_GOLANG=y
468 | CT_CC_GCC=y
469 | CT_CC="gcc"
470 | CT_CC_CHOICE_KSYM="GCC"
471 | CT_CC_GCC_SHOW=y
472 |
473 | #
474 | # Options for gcc
475 | #
476 | CT_CC_GCC_PKG_KSYM="GCC"
477 | CT_GCC_DIR_NAME="gcc"
478 | CT_GCC_USE_GNU=y
479 | CT_GCC_USE="GCC"
480 | CT_GCC_PKG_NAME="gcc"
481 | CT_GCC_SRC_RELEASE=y
482 | CT_GCC_PATCH_ORDER="global"
483 | CT_GCC_V_8=y
484 | # CT_GCC_V_7 is not set
485 | # CT_GCC_V_6 is not set
486 | # CT_GCC_V_5 is not set
487 | # CT_GCC_V_4_9 is not set
488 | # CT_GCC_V_4_8 is not set
489 | # CT_GCC_NO_VERSIONS is not set
490 | CT_GCC_VERSION="8.3.0"
491 | CT_GCC_MIRRORS="$(CT_Mirrors GNU gcc/gcc-${CT_GCC_VERSION}) $(CT_Mirrors sourceware gcc/releases/gcc-${CT_GCC_VERSION})"
492 | CT_GCC_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
493 | CT_GCC_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
494 | CT_GCC_ARCHIVE_FORMATS=".tar.xz .tar.gz"
495 | CT_GCC_SIGNATURE_FORMAT=""
496 | CT_GCC_later_than_7=y
497 | CT_GCC_7_or_later=y
498 | CT_GCC_later_than_6=y
499 | CT_GCC_6_or_later=y
500 | CT_GCC_later_than_5=y
501 | CT_GCC_5_or_later=y
502 | CT_GCC_later_than_4_9=y
503 | CT_GCC_4_9_or_later=y
504 | CT_GCC_later_than_4_8=y
505 | CT_GCC_4_8_or_later=y
506 | CT_CC_GCC_HAS_LIBMPX=y
507 | CT_CC_GCC_ENABLE_CXX_FLAGS=""
508 | CT_CC_GCC_CORE_EXTRA_CONFIG_ARRAY=""
509 | CT_CC_GCC_EXTRA_CONFIG_ARRAY=""
510 | # CT_CC_GCC_SYSTEM_ZLIB is not set
511 | CT_CC_GCC_CONFIG_TLS=m
512 |
513 | #
514 | # Optimisation features
515 | #
516 | CT_CC_GCC_USE_GRAPHITE=y
517 | CT_CC_GCC_USE_LTO=y
518 |
519 | #
520 | # Settings for libraries running on target
521 | #
522 | CT_CC_GCC_ENABLE_TARGET_OPTSPACE=y
523 | # CT_CC_GCC_LIBMUDFLAP is not set
524 | # CT_CC_GCC_LIBGOMP is not set
525 | # CT_CC_GCC_LIBSSP is not set
526 | # CT_CC_GCC_LIBQUADMATH is not set
527 | # CT_CC_GCC_LIBSANITIZER is not set
528 |
529 | #
530 | # Misc. obscure options.
531 | #
532 | CT_CC_CXA_ATEXIT=y
533 | # CT_CC_GCC_DISABLE_PCH is not set
534 | CT_CC_GCC_SJLJ_EXCEPTIONS=m
535 | CT_CC_GCC_LDBL_128=m
536 | # CT_CC_GCC_BUILD_ID is not set
537 | CT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y
538 | # CT_CC_GCC_LNK_HASH_STYLE_SYSV is not set
539 | # CT_CC_GCC_LNK_HASH_STYLE_GNU is not set
540 | # CT_CC_GCC_LNK_HASH_STYLE_BOTH is not set
541 | CT_CC_GCC_LNK_HASH_STYLE=""
542 | CT_CC_GCC_DEC_FLOAT_AUTO=y
543 | # CT_CC_GCC_DEC_FLOAT_BID is not set
544 | # CT_CC_GCC_DEC_FLOAT_DPD is not set
545 | # CT_CC_GCC_DEC_FLOATS_NO is not set
546 | CT_ALL_CC_CHOICES="GCC"
547 |
548 | #
549 | # Additional supported languages:
550 | #
551 | CT_CC_LANG_CXX=y
552 | # CT_CC_LANG_FORTRAN is not set
553 |
554 | #
555 | # Debug facilities
556 | #
557 | # CT_DEBUG_DUMA is not set
558 | # CT_DEBUG_GDB is not set
559 | # CT_DEBUG_LTRACE is not set
560 | # CT_DEBUG_STRACE is not set
561 | CT_ALL_DEBUG_CHOICES="DUMA GDB LTRACE STRACE"
562 |
563 | #
564 | # Companion libraries
565 | #
566 | # CT_COMPLIBS_CHECK is not set
567 | # CT_COMP_LIBS_CLOOG is not set
568 | # CT_COMP_LIBS_EXPAT is not set
569 | CT_COMP_LIBS_GETTEXT=y
570 | CT_COMP_LIBS_GETTEXT_PKG_KSYM="GETTEXT"
571 | CT_GETTEXT_DIR_NAME="gettext"
572 | CT_GETTEXT_PKG_NAME="gettext"
573 | CT_GETTEXT_SRC_RELEASE=y
574 | CT_GETTEXT_PATCH_ORDER="global"
575 | CT_GETTEXT_V_0_19_8_1=y
576 | # CT_GETTEXT_V_0_19_7 is not set
577 | # CT_GETTEXT_NO_VERSIONS is not set
578 | CT_GETTEXT_VERSION="0.19.8.1"
579 | CT_GETTEXT_MIRRORS="$(CT_Mirrors GNU gettext)"
580 | CT_GETTEXT_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
581 | CT_GETTEXT_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
582 | CT_GETTEXT_ARCHIVE_FORMATS=".tar.xz .tar.lz .tar.gz"
583 | CT_GETTEXT_SIGNATURE_FORMAT="packed/.sig"
584 | CT_COMP_LIBS_GMP=y
585 | CT_COMP_LIBS_GMP_PKG_KSYM="GMP"
586 | CT_GMP_DIR_NAME="gmp"
587 | CT_GMP_PKG_NAME="gmp"
588 | CT_GMP_SRC_RELEASE=y
589 | CT_GMP_PATCH_ORDER="global"
590 | CT_GMP_V_6_1=y
591 | # CT_GMP_V_6_0 is not set
592 | # CT_GMP_V_5_1 is not set
593 | # CT_GMP_V_5_0 is not set
594 | # CT_GMP_V_4_3 is not set
595 | # CT_GMP_NO_VERSIONS is not set
596 | CT_GMP_VERSION="6.1.2"
597 | CT_GMP_MIRRORS="https://gmplib.org/download/gmp https://gmplib.org/download/gmp/archive $(CT_Mirrors GNU gmp)"
598 | CT_GMP_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
599 | CT_GMP_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
600 | CT_GMP_ARCHIVE_FORMATS=".tar.xz .tar.lz .tar.bz2"
601 | CT_GMP_SIGNATURE_FORMAT="packed/.sig"
602 | CT_GMP_later_than_5_1_0=y
603 | CT_GMP_5_1_0_or_later=y
604 | CT_GMP_later_than_5_0_0=y
605 | CT_GMP_5_0_0_or_later=y
606 | CT_COMP_LIBS_ISL=y
607 | CT_COMP_LIBS_ISL_PKG_KSYM="ISL"
608 | CT_ISL_DIR_NAME="isl"
609 | CT_ISL_PKG_NAME="isl"
610 | CT_ISL_SRC_RELEASE=y
611 | CT_ISL_PATCH_ORDER="global"
612 | # CT_ISL_V_0_20 is not set
613 | # CT_ISL_V_0_19 is not set
614 | # CT_ISL_V_0_18 is not set
615 | # CT_ISL_V_0_17 is not set
616 | CT_ISL_V_0_16=y
617 | # CT_ISL_V_0_15 is not set
618 | # CT_ISL_NO_VERSIONS is not set
619 | CT_ISL_VERSION="0.16.1"
620 | CT_ISL_MIRRORS="https://libisl.sourceforge.io"
621 | CT_ISL_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
622 | CT_ISL_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
623 | CT_ISL_ARCHIVE_FORMATS=".tar.xz .tar.bz2 .tar.gz"
624 | CT_ISL_SIGNATURE_FORMAT=""
625 | CT_ISL_0_18_or_older=y
626 | CT_ISL_older_than_0_18=y
627 | CT_ISL_later_than_0_15=y
628 | CT_ISL_0_15_or_later=y
629 | CT_ISL_REQUIRE_0_15_or_later=y
630 | CT_ISL_later_than_0_14=y
631 | CT_ISL_0_14_or_later=y
632 | CT_ISL_REQUIRE_0_14_or_later=y
633 | CT_ISL_later_than_0_13=y
634 | CT_ISL_0_13_or_later=y
635 | CT_ISL_later_than_0_12=y
636 | CT_ISL_0_12_or_later=y
637 | CT_ISL_REQUIRE_0_12_or_later=y
638 | # CT_COMP_LIBS_LIBELF is not set
639 | CT_COMP_LIBS_LIBICONV=y
640 | CT_COMP_LIBS_LIBICONV_PKG_KSYM="LIBICONV"
641 | CT_LIBICONV_DIR_NAME="libiconv"
642 | CT_LIBICONV_PKG_NAME="libiconv"
643 | CT_LIBICONV_SRC_RELEASE=y
644 | CT_LIBICONV_PATCH_ORDER="global"
645 | CT_LIBICONV_V_1_15=y
646 | # CT_LIBICONV_V_1_14 is not set
647 | # CT_LIBICONV_NO_VERSIONS is not set
648 | CT_LIBICONV_VERSION="1.15"
649 | CT_LIBICONV_MIRRORS="$(CT_Mirrors GNU libiconv)"
650 | CT_LIBICONV_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
651 | CT_LIBICONV_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
652 | CT_LIBICONV_ARCHIVE_FORMATS=".tar.gz"
653 | CT_LIBICONV_SIGNATURE_FORMAT="packed/.sig"
654 | CT_COMP_LIBS_MPC=y
655 | CT_COMP_LIBS_MPC_PKG_KSYM="MPC"
656 | CT_MPC_DIR_NAME="mpc"
657 | CT_MPC_PKG_NAME="mpc"
658 | CT_MPC_SRC_RELEASE=y
659 | CT_MPC_PATCH_ORDER="global"
660 | # CT_MPC_V_1_1 is not set
661 | CT_MPC_V_1_0=y
662 | # CT_MPC_V_0_9 is not set
663 | # CT_MPC_V_0_8 is not set
664 | # CT_MPC_V_0_7 is not set
665 | # CT_MPC_NO_VERSIONS is not set
666 | CT_MPC_VERSION="1.0.3"
667 | CT_MPC_MIRRORS="http://www.multiprecision.org/downloads $(CT_Mirrors GNU mpc)"
668 | CT_MPC_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
669 | CT_MPC_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
670 | CT_MPC_ARCHIVE_FORMATS=".tar.gz"
671 | CT_MPC_SIGNATURE_FORMAT="packed/.sig"
672 | CT_MPC_1_1_0_or_older=y
673 | CT_MPC_older_than_1_1_0=y
674 | CT_COMP_LIBS_MPFR=y
675 | CT_COMP_LIBS_MPFR_PKG_KSYM="MPFR"
676 | CT_MPFR_DIR_NAME="mpfr"
677 | CT_MPFR_PKG_NAME="mpfr"
678 | CT_MPFR_SRC_RELEASE=y
679 | CT_MPFR_PATCH_ORDER="global"
680 | CT_MPFR_V_3_1=y
681 | # CT_MPFR_V_3_0 is not set
682 | # CT_MPFR_V_2_4 is not set
683 | # CT_MPFR_NO_VERSIONS is not set
684 | CT_MPFR_VERSION="3.1.6"
685 | CT_MPFR_MIRRORS="http://www.mpfr.org/mpfr-${CT_MPFR_VERSION} $(CT_Mirrors GNU mpfr)"
686 | CT_MPFR_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
687 | CT_MPFR_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
688 | CT_MPFR_ARCHIVE_FORMATS=".tar.xz .tar.bz2 .tar.gz .zip"
689 | CT_MPFR_SIGNATURE_FORMAT="packed/.asc"
690 | CT_MPFR_4_0_0_or_older=y
691 | CT_MPFR_older_than_4_0_0=y
692 | CT_MPFR_REQUIRE_older_than_4_0_0=y
693 | CT_MPFR_later_than_3_0_0=y
694 | CT_MPFR_3_0_0_or_later=y
695 | CT_COMP_LIBS_NCURSES=y
696 | CT_COMP_LIBS_NCURSES_PKG_KSYM="NCURSES"
697 | CT_NCURSES_DIR_NAME="ncurses"
698 | CT_NCURSES_PKG_NAME="ncurses"
699 | CT_NCURSES_SRC_RELEASE=y
700 | CT_NCURSES_PATCH_ORDER="global"
701 | # CT_NCURSES_V_6_1 is not set
702 | CT_NCURSES_V_6_0=y
703 | # CT_NCURSES_NO_VERSIONS is not set
704 | CT_NCURSES_VERSION="6.0"
705 | CT_NCURSES_MIRRORS="ftp://invisible-island.net/ncurses $(CT_Mirrors GNU ncurses)"
706 | CT_NCURSES_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
707 | CT_NCURSES_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
708 | CT_NCURSES_ARCHIVE_FORMATS=".tar.gz"
709 | CT_NCURSES_SIGNATURE_FORMAT="packed/.sig"
710 | CT_NCURSES_HOST_CONFIG_ARGS=""
711 | CT_NCURSES_HOST_DISABLE_DB=y
712 | CT_NCURSES_HOST_FALLBACKS="linux,xterm,xterm-color,xterm-256color,vt100"
713 | CT_NCURSES_TARGET_CONFIG_ARGS=""
714 | # CT_NCURSES_TARGET_DISABLE_DB is not set
715 | CT_NCURSES_TARGET_FALLBACKS=""
716 | CT_COMP_LIBS_ZLIB=y
717 | CT_COMP_LIBS_ZLIB_PKG_KSYM="ZLIB"
718 | CT_ZLIB_DIR_NAME="zlib"
719 | CT_ZLIB_PKG_NAME="zlib"
720 | CT_ZLIB_SRC_RELEASE=y
721 | CT_ZLIB_PATCH_ORDER="global"
722 | CT_ZLIB_V_1_2_11=y
723 | # CT_ZLIB_NO_VERSIONS is not set
724 | CT_ZLIB_VERSION="1.2.11"
725 | CT_ZLIB_MIRRORS="http://downloads.sourceforge.net/project/libpng/zlib/${CT_ZLIB_VERSION}"
726 | CT_ZLIB_ARCHIVE_FILENAME="@{pkg_name}-@{version}"
727 | CT_ZLIB_ARCHIVE_DIRNAME="@{pkg_name}-@{version}"
728 | CT_ZLIB_ARCHIVE_FORMATS=".tar.xz .tar.gz"
729 | CT_ZLIB_SIGNATURE_FORMAT="packed/.asc"
730 | CT_ALL_COMP_LIBS_CHOICES="CLOOG EXPAT GETTEXT GMP ISL LIBELF LIBICONV MPC MPFR NCURSES ZLIB"
731 | CT_LIBICONV_NEEDED=y
732 | CT_GETTEXT_NEEDED=y
733 | CT_GMP_NEEDED=y
734 | CT_MPFR_NEEDED=y
735 | CT_ISL_NEEDED=y
736 | CT_MPC_NEEDED=y
737 | CT_NCURSES_NEEDED=y
738 | CT_ZLIB_NEEDED=y
739 | CT_LIBICONV=y
740 | CT_GETTEXT=y
741 | CT_GMP=y
742 | CT_MPFR=y
743 | CT_ISL=y
744 | CT_MPC=y
745 | CT_NCURSES=y
746 | CT_ZLIB=y
747 |
748 | #
749 | # Companion tools
750 | #
751 | # CT_COMP_TOOLS_FOR_HOST is not set
752 | # CT_COMP_TOOLS_AUTOCONF is not set
753 | # CT_COMP_TOOLS_AUTOMAKE is not set
754 | # CT_COMP_TOOLS_BISON is not set
755 | # CT_COMP_TOOLS_DTC is not set
756 | # CT_COMP_TOOLS_LIBTOOL is not set
757 | # CT_COMP_TOOLS_M4 is not set
758 | # CT_COMP_TOOLS_MAKE is not set
759 | CT_ALL_COMP_TOOLS_CHOICES="AUTOCONF AUTOMAKE BISON DTC LIBTOOL M4 MAKE"
760 |
--------------------------------------------------------------------------------