summaryrefslogtreecommitdiff
path: root/scripts/build/internals.sh
AgeCommit message (Collapse)AuthorFilesLines
2010-11-23scripts/xldd: report appropriate load address for 32- or 64-bitYann E. MORIN"1-0/+1
For 32-bit target systems, report 4-byte (8-xdigit) wide adresses, and for 64-bit, report 8-byte (16-xdigit) wide adresses. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-11-23scripts/xldd: fix space-damageYann E. MORIN"1-7/+7
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-11-23scripts/xldd: fix version stringYann E. MORIN"1-1/+2
The version string was hard-coded. Now, the version string follows the crosstool-NG version. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-10-31scripts: do not provide to-sysroot include symlinkYann E. MORIN"1-2/+1
Do not provide the PREFIX/TUPLE/include -> SYSROOT/usr/include symlink, and let gcc install its dependable C++ headers were it sees fit to install them. See the test by Anthony (by the end of the messages): http://sourceware.org/ml/crossgcc/2010-10/msg00129.html http://sourceware.org/ml/crossgcc/2010-10/msg00134.html See also the comment by Arnaud: http://sourceware.org/ml/crossgcc/2010-10/msg00157.html Reported-by: Anthony Foiani <anthony.foiani@gmail.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-09-11scripts/internal: cleanup build symlinksYann E. MORIN"1-0/+20
The symlinks are needed only during the build process. The final gcc will still search those dirs, but will also search the standard lib/ dirs, so we can get rid of the symlinks. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-08-21internals: call strip in a portable wayTitus von Boxberg1-5/+14
strip on CT_HOST darwin does not want --strip-all or -v
2010-05-27scripts: add option to strip all toolchain executablesRemy Bohmer1-0/+15
To reduce filesizes of the toolchain and even improve build times of projects to be build with this toolchain it is usefull to strip the delivered toolchain executables. Since it is not likely that we will debug the toolchain executables itself we do not need the debug information inside the executables itself. Signed-off-by: Remy Bohmer <linux@bohmer.net>
2010-07-22scripts: add a cross-ldd-likeYann E. MORIN"1-0/+13
Add a cross-ldd that mimicks a native ldd.
2010-07-07scripts/finish: do not try to symlink if sed expr is a no-opYann E. MORIN"1-1/+5
If the sed expression does not transform the tuple, do not try to create the symlink.
2010-05-22scripts/build/internals.sh: compile wrapper with portable options.Titus von Boxberg1-6/+6
static linking is not possible on MacOS, and unnessecary on other systems. The old optimization and warning flags crash the gcc on MacOS and (imho) are a bit overdone for this software.
2010-05-22scripts/build/internals.sh: Always use binary wrapper under BSD/MacOSTitus von Boxberg1-0/+7
The shell wrapper script uses a nonportable call to readlink. Thus, always use the binary wrapper under BSD/MacOS. yann.morin.1998@anciens.enib.fr: Use 'case' instead of 'if'.
2010-05-19build/internals.sh: Replace nonportable call to statTitus von Boxberg1-1/+1
The call to stat to find out if a file is a symlink works only on GNU systems, and the replacing portable call to readlink is also shorter and more concise code. yann.morin.1998@anciens.enib.fr: Apply simpler test, after discussion with author and Arnaud LACOMBE on the ML.
2010-02-28complibs: remove headers after buildYann E. MORIN"1-0/+3
After the toolchain is built, we do no longer need the headers. Reported-by: Enrico Weigelt <weigelt@metux.de>
2009-09-06tools wrapper: fix buildingYann E. MORIN"1-8/+8
Remove the build tools only after the wrapper is built. Use the corect C compiler to build the tools wrapper. Use the correct log level.
2009-08-30tools wrapper: correctly install the C wrapperYann E. MORIN"1-0/+1
When building the C wrapper, specify the source file to be compiled.
2009-08-29tools wrapper: introduce the silent WRAPPER_NEEDED config optionYann E. MORIN"1-2/+1
Add the WRAPPER_NEEDED silent config option, that can be selected by components that require it (companion libs so far). Rely on this config option when deciding to install the wrapper, instead of checking GMP/MPFR or PPL/CLoog/MPC.
2009-08-29config: choose whether to use the shell or the C wrapperYann E. MORIN"1-3/+19
Offer a config choice on whether to isntall the script wrapper, or the compiled C wrapper. Update docs/overview.txt accordingly.
2009-06-26Don't use prefix/bin to install the buildtools.Bart van der Meulen1-3/+1
Collect the build tools in a seperate folder in order to prevent accidental calling our newly build tools. Signed-off-by: Bart van der Meulen <bartvdrmeulen@gmail.com>
2009-06-18[finish-step] Fix the tools wrappersYann E. MORIN"1-1/+1
Use the correct variable when iterating upon the tools name to correctly link the tools to the wrapper.
2009-06-14[finish-step] Use local variable in finish-stepYann E. MORIN1-4/+4
When wrapping the tools, use a local variable when iterating.
2009-06-02/devel/gcc-4.4:Yann E. MORIN"1-6/+16
- ./configure: check for 'stat', needing to install the tools wrapper - wrapper: make it a POSIX-compliant script, restore relocatability - don't install the wrapper for symlinks -------- diffstat follows -------- /devel/gcc-4.4/configure | 1 1 0 0 + /devel/gcc-4.4/scripts/build/internals.sh | 22 16 6 0 ++++++++++++++++------ /devel/gcc-4.4/scripts/wrapper.in | 5 2 3 0 ++--- 3 files changed, 19 insertions(+), 9 deletions(-)
2009-06-02/devel/gcc-4.4:Yann E. MORIN"1-0/+19
- add a wrapper to correctly set LD_LIBRARY_PATH to find our companion libraries. -------- diffstat follows -------- /devel/gcc-4.4/scripts/build/internals.sh | 19 19 0 0 +++++++++++++++++++ /devel/gcc-4.4/scripts/wrapper.in | 15 15 0 0 +++++++++++++++ 2 files changed, 34 insertions(+)
2009-04-20There's no longer any reason to require GNU awk:Yann E. MORIN"1-1/+0
- the only part that required it (socks proxy settings) is gone, - all remaining awk scripts are POSIXly correct (or should be). -------- diffstat follows -------- /trunk/configure | 5 2 3 0 ++--- /trunk/Makefile.in | 2 0 2 0 -- /trunk/scripts/build/kernel/linux.sh | 2 1 1 0 +- /trunk/scripts/build/internals.sh | 1 0 1 0 - /trunk/scripts/build/mpfr.sh | 2 1 1 0 +- /trunk/scripts/functions | 4 2 2 0 ++-- /trunk/scripts/saveSample.sh.in | 4 2 2 0 ++-- 7 files changed, 8 insertions(+), 12 deletions(-)
2009-03-30Cleanup the tic build used for native ncurses build, itself needed for ↵Yann E. MORIN"1-1/+0
native gdb build. /trunk/scripts/build/debug/300-gdb.sh | 24 12 12 0 ++++++++++++------------ /trunk/scripts/build/internals.sh | 1 0 1 0 - 2 files changed, 12 insertions(+), 13 deletions(-)
2009-03-23xlcwu <xlcwu.taiwan@gmail.com> wrote:Yann E. MORIN"1-0/+1
Seems ncurses 5.7 need build host stage for tic step; if use host tic (ubuntu) the build process hang in the below step. So I guess need to build ncurses host stage to build new tic and provided a patch to that efect. And in fact, we do need "tic" to run on the _build_ system to properly generate the terminfo database. Note: this is fully functional, but still requires a litle bit of tweaking so that ${CT_BUILD}-gcc gets used instead of plain gcc. But that's a minor problem for now... /trunk/scripts/build/debug/300-gdb.sh | 35 33 2 0 +++++++++++++++++++++++++++++++++-- /trunk/scripts/build/internals.sh | 1 1 0 0 + 2 files changed, 34 insertions(+), 2 deletions(-)
2009-03-04Move do_finish from scripts/functions to its own file in ↵Yann E. MORIN"1-0/+52
scipts/build/internals.sh. /trunk/scripts/build/internals.sh | 907 4 903 0 --------------------------------------------- /trunk/scripts/addToolVersion.sh | 8 4 4 0 /trunk/scripts/crosstool-NG.sh.in | 1 1 0 0 + /trunk/scripts/functions | 48 0 48 0 -- 4 files changed, 9 insertions(+), 955 deletions(-)