mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-03-23 04:25:30 +00:00
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>
Rename directory "licenses" to "licenses.d" for those filesystems unable to handle lower/upper case.
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
Description
Languages
Shell
50.9%
C
27.4%
M4
16.8%
Makefile
2%
Yacc
1.4%
Other
1.5%