mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-19 12:57:53 +00:00
A versatile (cross-)toolchain generator.
34ecc718d9
This code was abstracted out of Cody P Schafer's multilib patch. It doesn't seem right having architecture dependent code in a specific libc implementation script. So this patch breaks it out into scripts/build/arch/<arch>.sh in a function: multilib_target_to_build="$(CT_DoArchMultilibTarget 'multi_flags' 'target-in')" Note that this function gets called on each multilib variant with different sets of compiler flags supplied in 'multi_flags'. The caller will first filter the flags so that there is no conflicting flags (e.g., no '-m32 -m64') supplied. Changed by Alexey Neyman: - make option analysis check specific option rather than match global options string as a whole. Moreover, old code did not handle multiple options in the same multilib, e.g. '-m64 -mlittle'. - fixed substitutions in powerpc.sh (*le variants did not match the pattern in the shell parameter expansion) - make s390.sh actually apply the flags it gathered from the options. - straighten the spaghetti in x86.sh by setting two flags, arch & abi. Also, do not depend on "gnu" being the last part - we can have '*-uclibcx32', for example. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com> Signed-off-by: Ray Donnelly <ray.donnelly@gmail.com> Signed-off-by: Alexey Neyman <stilor@att.net> |
||
---|---|---|
config | ||
contrib | ||
debian | ||
docs | ||
kconfig | ||
licenses.d | ||
patches | ||
samples | ||
scripts | ||
.gitignore | ||
.travis.sh | ||
.travis.yml | ||
bootstrap | ||
configure.ac | ||
COPYING | ||
ct-ng.comp | ||
ct-ng.in | ||
LICENSES | ||
Makefile.in | ||
README.md | ||
steps.mk | ||
TODO |
Crosstool-NG
Crosstool-NG follows the autoconf
dance. So, to get you
kick-started, just run:
./configure --help
If you are using a development snapshot, you'll have to create the configure script, first. Just run:
./bootstrap
You will find the documentation in the directory docs
.
Here is a quick overview of what you'll find there:
- Table of content
- Introduction
- Installing crosstool-NG
- Configuring a toolchain
- Building the toolchain
- Using the toolchain
- Toolchain types
- Contributing
- Internals
- Credits
- Known issues
- Misc. tutorials
You can also point your browser at: http://crosstool-ng.org
Aloha!
irc: irc.freenode.net #crosstool-ng