| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
Missed in the previous commit... :-/
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The build process is quite complex: gcc is built three times, there are
two C library steps, there are those companion libraries...
People often wonder what all these steps do, and why they are needed.
Recently, someone proposed a tutorial on the crossgcc mailing list:
http://sourceware.org/ml/crossgcc/2011-01/msg00059.html
This meant that there was a need for such a tutorial, and explanations
on how a toolchain is built. So i decide to extend my answers:
http://sourceware.org/ml/crossgcc/2011-01/msg00060.html
http://sourceware.org/ml/crossgcc/2011-01/msg00125.html
into proper documentation in crosstool-NG.
Thanks go to Francesco for suggesting this. He has a fine tutorial
for beginners there:
http://fturco.org/wiki/doku.php?id=debian:cross-compiler
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Depending on local policies, some users have expressed a need to
have the sysroot be named differently than the hard-coded name.
Add an option for that.
Default to 'sysroot' to match the existing literature.
While at it, replace 'sys-root' with 'sysroot' everywhere we
reference the sysroot.
Reported-by: Alexey Kuznetsov <Alexey.KUZNETSOV@youtransactor.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
|
|
|
|
| |
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
|
|
|
|
| |
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
|
|
|
|
|
|
|
| |
The overview.txt file has evolved into more than just an overview.
Split it into chapters, and include the misc tutorials.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
|
| |
|
| |
|
|
|
|
| |
Provide short README for FreeBSD as a host OS for ct-ng.
|
|
|
|
| |
Hints for building tool chains.
|
|
|
|
|
|
| |
The docs/CREDITS file dates back to the SVN repository.
Now that we use Mercurial, the repository stores appropriate
authorship for each commit. Say so in the CREDITS.
|
|
|
|
|
|
|
|
| |
Short README for usage of ct-ng under MacOS.
Remove obsolete MacOS-X.txt
yann.morin.1998@anciens.enib.fr:
Make it 80-columns clean, plus a few fixes
|
|
|
|
|
|
|
|
|
| |
The usage of hg mq is imho not very well documented.
Give a short intro for the most important use cases
for contributions to ct-ng.
yann.morin.1998@anciens.enib.fr:
Slightly rewrote the explanations for the introductory message.
|
| |
|
|
|
|
|
| |
The wrapper is no longer needed when building
non-shared companion libraries. Document that.
|
|
|
|
|
| |
When using an environment variable to set a config entry,
don'twarn if it is not defined. Update doc accordingly.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When acting as a backend for a build-system, we should not build
any application that runs on the target, that is:
- no native gdb
- no companion libraries
- no binutils libraries
- no debug tools (save for gdbserver)
- ...
Here, we simply prepare the (hidden) config option that will detect
that we are acting as a back-end.
Update doc accordingly.
|
|
|
|
|
| |
That got removed quite some time ago, but is really usefull to get the
configuration from a build.log file of a failing build.
|
|
|
|
|
| |
Since we merged the 32/64-bit archs, and we explicitly used
the Linux kernel arch name, we can get rid of CT_KERNEL_ARCH.
|
|
|
|
|
|
|
| |
Remove references to the seemingly native toolchains do not build
issue as it seems to be fixed.
Signed-off-by: Richard Strand <richard.strand@icomera.com>
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
It's been a while that configure does not recognise --with-contrib.
Applying contibutions is to be done manually, using patch.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Build glibc with -O2 as a fix/workaround to building
seemingly-native toolchains.
See:
- docs/overview.txt
- docs/known-issues.txt
- http://sourceware.org/ml/crossgcc/2009-09/msg00055.html
|
|
|
|
| |
Add a step-bystep tutorial to build a cross-toolchain on Mac OS-X.
|
| |
|
|
|
|
|
| |
Offer a config choice on whether to isntall the script wrapper, or
the compiled C wrapper. Update docs/overview.txt accordingly.
|
|
|
|
|
| |
table of content: add missing entry
the hacker's way: no need to "make install"
|
|
|
|
|
| |
This patch adds explanations on how
populate works internally.
|
|
|
|
|
|
| |
This patch fixes the existing documentation:
- document -l and -L
- use syntax more in line with the help entry
|
|
|
|
|
|
|
| |
-------- diffstat follows --------
/trunk/config/global/ct-behave.in | 22 13 9 0 +++++++++++++---------
/trunk/docs/overview.txt | 8 6 2 0 ++++++--
2 files changed, 19 insertions(+), 11 deletions(-)
|
| |
|
|
|
|
|
| |
/trunk/docs/known-issues.txt | 16 15 1 0 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)
|
|
|
|
|
| |
/trunk/docs/known-issues.txt | 16 16 0 0 ++++++++++++++++
1 file changed, 16 insertions(+)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- building a delivery tarball has long been broken (since crostool-Ng is installable)
- get rid of implied do_print_filename, that can be mis-leading now tarballs can not be built
/trunk/scripts/build/kernel/bare-metal.sh | 4 0 4 0 ----
/trunk/scripts/build/kernel/linux.sh | 4 0 4 0 ----
/trunk/scripts/build/tools/000-template.sh | 11 0 11 0 -----------
/trunk/scripts/build/tools/100-libelf.sh | 4 0 4 0 ----
/trunk/scripts/build/tools/200-sstrip.sh | 11 1 10 0 +----------
/trunk/scripts/build/binutils.sh | 4 0 4 0 ----
/trunk/scripts/build/cc/gcc.sh | 5 0 5 0 -----
/trunk/scripts/build/debug/000-template.sh | 11 0 11 0 -----------
/trunk/scripts/build/debug/100-dmalloc.sh | 4 0 4 0 ----
/trunk/scripts/build/debug/400-ltrace.sh | 4 0 4 0 ----
/trunk/scripts/build/debug/300-gdb.sh | 7 0 7 0 -------
/trunk/scripts/build/debug/500-strace.sh | 4 0 4 0 ----
/trunk/scripts/build/debug/200-duma.sh | 4 0 4 0 ----
/trunk/scripts/build/libc/none.sh | 5 0 5 0 -----
/trunk/scripts/build/libc/glibc.sh | 10 0 10 0 ----------
/trunk/scripts/build/libc/uClibc.sh | 6 0 6 0 ------
/trunk/scripts/build/libc/eglibc.sh | 10 0 10 0 ----------
/trunk/scripts/build/gmp.sh | 6 0 6 0 ------
/trunk/scripts/build/mpfr.sh | 6 0 6 0 ------
/trunk/docs/overview.txt | 9 0 9 0 ---------
20 files changed, 1 insertion(+), 128 deletions(-)
|
|
|
|
|
|
|
|
| |
Small documentation fix.
/trunk/scripts/crosstool.sh | 2 1 1 0 +-
/trunk/docs/overview.txt | 1 1 0 0 +
2 files changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
|
| |
/trunk/docs/overview.txt | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
|
| |
/trunk/Makefile.in | 30 19 11 0 +++++++++++++++++++-----------
/trunk/docs/overview.txt | 25 13 12 0 +++++++++++++------------
2 files changed, 32 insertions(+), 23 deletions(-)
|
|
|
|
|
|
|
| |
/trunk/configure | 10 10 0 0 +++++++++
/trunk/Makefile.in | 62 36 26 0 +++++++++++++++++++++++++++++++-----------------------
/trunk/docs/overview.txt | 12 12 0 0 ++++++++++
3 files changed, 58 insertions(+), 26 deletions(-)
|
|
|
|
|
|
|
|
|
| |
- Allow hand-indentation in the kconfig prompts
- Start documenting the kconfig deviations from the kernel's version
/trunk/kconfig/menu.c | 10 8 2 0 ++++++++--
/trunk/docs/overview.txt | 6 6 0 0 ++++++
2 files changed, 14 insertions(+), 2 deletions(-)
|
|
|
|
|
|
|
|
|
|
|
| |
the configuration.
/trunk/scripts/crosstool.sh | 12 5 7 0 +++++-------
/trunk/docs/overview.txt | 6 6 0 0 ++++++
/trunk/config/target.in | 4 4 0 0 ++++
/trunk/config/arch/x86_64.in | 1 1 0 0 +
/trunk/config/arch/ia64.in | 1 1 0 0 +
5 files changed, 17 insertions(+), 7 deletions(-)
|
|
|
|
|
|
|
|
|
|
|
| |
- regtest was not easy to use
- one may wish to simply build all samples
- introduce a per-sample automatic build
/trunk/docs/overview.txt | 19 14 5 0 ++++++++---
/trunk/samples/samples.mk | 92 49 43 0 ++++++++++++++++++++++++++++-------------------------
/trunk/ct-ng.comp | 8 5 3 0 +++--
3 files changed, 68 insertions(+), 51 deletions(-)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- update the kernel script's API with the function CT_DiKernelTupleValues
- update doc accordingly (also with the architecture change, missing in the previous commit)
- small clean-up in the main script, remove useless test
/trunk/scripts/build/kernel/bare-metal.sh | 5 5 0 0 +++++
/trunk/scripts/build/kernel/linux.sh | 5 5 0 0 +++++
/trunk/scripts/crosstool.sh | 31 13 18 0 +++++++++++++------------------
/trunk/scripts/functions | 15 8 7 0 ++++++++-------
/trunk/docs/overview.txt | 13 9 4 0 +++++++++----
5 files changed, 40 insertions(+), 29 deletions(-)
|
|
|
|
|
|
|
|
|
|
|
| |
Only one component is actually BROKEN (libelf), make it depend on EXPERIMENTAL, but state BROKEN in the prompt.
ltrace (which depends on libelf) is now marked as EXPERIMENTAL, with the reference to the BROKEN libelf in the help entry.
/trunk/docs/overview.txt | 6 0 6 0 ------
/trunk/config/debug/ltrace.in | 7 4 3 0 ++++---
/trunk/config/global/ct-behave.in | 8 0 8 0 --------
/trunk/config/tools/libelf.in | 5 3 2 0 +++--
4 files changed, 7 insertions(+), 19 deletions(-)
|
|
|
|
|
|
|
| |
/trunk/kconfig/kconfig.mk | 46 23 23 0 +++++++++++++++++++++++-----------------------
/trunk/scripts/crosstool.sh | 2 1 1 0 +-
/trunk/docs/overview.txt | 28 11 17 0 +++++++++++-----------------
3 files changed, 35 insertions(+), 41 deletions(-)
|
|
|
|
|
|
|
| |
Update the internals architecture documentation.
/trunk/docs/overview.txt | 75 67 8 0 ++++++++++++++++++++++++++++++++++++++++++++++++------
1 file changed, 67 insertions(+), 8 deletions(-)
|