summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-07-29cc/gcc: add option to compile against static libstdc++, for gcc-4.4 and newerJohannes Stezenbach2-4/+22
Idea and know-how taken from CodeSourcery build script. Normal build: $ ldd arm-unknown-linux-uclibcgnueabi-gcc linux-gate.so.1 => (0xb77f3000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb76e8000) libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb75a1000) libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb757a000) /lib/ld-linux.so.2 (0xb77f4000) libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb755c000) CC_STATIC_LIBSTDCXX=y: $ ldd arm-unknown-linux-uclibcgnueabi-gcc linux-gate.so.1 => (0xb7843000) libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb76e6000) /lib/ld-linux.so.2 (0xb7844000) I made CC_STATIC_LIBSTDCXX default=y since I think it is always desirable. Signed-off-by: Johannes Stezenbach <js@sig21.net>
2010-07-29scripts: remove . from $PATHYann E. MORIN"2-0/+21
Add CT_SanitizePath function which removes entries referring to ., /tmp and non-existing directories from $PATH, and call it early in the build script. If . is in PATH, gcc-4.4.4 build breaks: [ALL ] checking what assembler to use... /tmp/build/targets/arm-unknown-linux-uclibcgnueabi/build/gcc-core-static/arm-unknown-linux-uclibcgnueabi/bin/as ... [ALL ] config.status: creating as i.e. "as" is supposed to be the arm-unknown-linux-uclibcgnueabi cross assembler, but config.status creates a local "as" script which is calling the host assembler. Signed-off-by: Johannes Stezenbach <js@sig21.net> [Yann E. MORIN: style fixes + explanations] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-07-28cc/gcc: add option to enable/disable libmudflapYann E. MORIN"2-0/+20
For some scenarii, libmudflap is not very usefull or can break the build. Make in an optioon that defaults to 'N' to be on the safe side. For the core gcc-s, there is absolutely no need to build libmidflap. Idea from: Bernhard Pfund <bernhard@chapter7.ch>
2010-07-28cc/gcc: make sjlj config option a tristateYann E. MORIN"2-34/+21
A tristate fits better here than a choice.
2010-07-28cc/gcc: move options aroundYann E. MORIN"2-89/+87
2010-07-28config: allow unconditional usage of tristatesYann E. MORIN"1-0/+5
2010-07-25libc-uclibc: move optionsYann E. MORIN"2-31/+31
2010-07-27libc/uClibc: fix space damageYann E. MORIN"1-37/+37
2010-07-27libc/uClibc: fix using pre-generated locale dataYann E. MORIN"1-4/+19
Some time, someone updated the locale Makefile to use newer pre-generated locales data, but did not upload those. So we just force using the existing, ageing archive, dating back 20030818. Sigh...
2010-07-27libc/uClibc: do not systematically use pre-generated locale dataYann E. MORIN"2-12/+39
It seems that using pre-generated locale data can be more problematic than usefull in some circumstances. Offer a config knob to enable/disable use of the pregen locale data. Also, do not extract pregen locales data ourselves, it's broken.
2010-07-22scripts: add a cross-ldd-likeYann E. MORIN"3-0/+241
Add a cross-ldd that mimicks a native ldd.
2010-07-22libc/uClibc: do not install cross-lddYann E. MORIN"2-21/+0
I was unable to make the cross-ldd from uClibc to work, and it is not possible to build it on non-POSIX system. Besides, we have a generic script that is in the starting-blocks to replace it, that will work for any C library, and also will work on non-POSIX systems. Bonus!
2010-07-22docs/known-issues: document the "error compiling FC test program" issueYann E. MORIN"1-0/+22
2010-07-19complibs: fix using static companion librariesBart vdr. Meulen1-1/+1
When building a cross-compiler for a target which uses a file extension for binaries the symbolic link to cc is not created correctly because the lookup of the gcc binary is done in a incorrect path Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com>
2010-07-13libc/uClibc: fix verbosity level for uClibc >= 0.9.30Johannes Stezenbach1-3/+10
uClibc >= 0.9.30 supports three verbosity levels, according to "make help": V="" - Quiet build (default) V=1 - Brief build (show defines, ld flags) V=2 - Very verbose build I think older versions of uClibc treat V=2 the same as V=1. For current uClibc, only V=2 shows the full command lines. Signed-off-by: Johannes Stezenbach <js@sig21.net>
2010-07-17scripts/functions: recognise Cygwin build hostsYann E. MORIN"1-1/+1
2010-07-17scripts: use 'hg archive' to create release tarballsYann E. MORIN"1-10/+3
2010-07-15kernel/mingw32: mark as being EXPERIMENTALYann E. MORIN"1-0/+1
2010-07-15configure: fix --mandirYann E. MORIN"2-4/+9
--mandir points to the base dir of the man pages, so we have to append our man section below given dir.
2010-07-15scripts: update config.{guess,sub}Yann E. MORIN"2-29/+62
2010-07-14Merge.Yann E. MORIN"1-19/+0
2010-07-14complibs/ppl: backout #9f0de857cb05Yann E. MORIN"1-19/+0
The patch breaks the build on most machines, while the purpose of the patch is dubious. So, simply back it out.
2010-07-11debug/gdb: properly remove build ticYann E. MORIN"1-1/+1
tic is isntalled in buildtools, not in the toolchain's bin dir. Plus, it may have an extension...
2010-07-11debug/gdb: Fix compilation for Mingw hostsYann E. MORIN"1-61/+72
GDB requires PDcurses instead of ncurses while running on Windows. So, do not always compile ncurses in case GDB needs to build. PDcurses is provided by an earlier build step and is not described in this file. Signed-off-by: Remy Bohmer <linux@bohmer.net> [yann.morin.1998@anciense.nib.fr: we already have a way to detect ncurses usage] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-07-11complibs/ppl: fix build for MINGWBart vdr Meulen1-0/+19
Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com> --- patches/ppl/0.10.2/100-update-for-mingw-build.patch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 patches/ppl/0.10.2/100-update-for-mingw-build.patch
2010-07-11samples: add Linux -> Mingw32 sampleBart vdr Meulen2-0/+370
Sample to build compiler targetting mingw32 target systems Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com> --- samples/i686-pc-mingw32/crosstool.config | 302 +++++++++++++++++++++++++++++++ samples/i686-pc-mingw32/reported.by | 3 2 files changed, 305 insertions(+) create mode 100644 samples/i686-pc-mingw32/crosstool.config create mode 100644 samples/i686-pc-mingw32/reported.by
2010-07-11kernel/mingw: add target librariesYann E. MORIN"4-1/+345
Add several development libraries to the build of the mingw cross-compiler to be used on target Libraries: PDCurses (port of the ncurses library) GnuRX (the regex library) DirectX OpenGL Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com> [yann.morin.1998@anciens.enib.fr: don't show DX and RX versions if disabled] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-07-11kernel: add mingwYann E. MORIN"10-4/+194
Add the option to build a cross-compiler for kernel type 'mingw'. The resulting cross-compiler can be used to build applications on a Linux host that can be run on a Windows target. Compiler is build using the mingwrt and w32-api packages aviable from the MinGW project (http://sourceforge.net/projects/mingw). The windows headers (w32-api package) are extracting with the kernel_headers step The libraries and other headers from both packages are build and installed in the various steps of libc Signed-off-by: Bart vdr Meulen <bartvdrmeulen@gmail.com> [yann.morin.1998@anciens.enib.fr: fix kernel headers comment, don't "return 0"] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-07-11libc: add global threads support optionYann E. MORIN"1-1/+7
2010-07-10samples: add an ARMeb uClibc/NPTL experimental sampleYann E. MORIN"3-0/+711
2010-07-10cc/gcc: gcc-4.4 does not use MPCYann E. MORIN"2-11/+11
As reported by Johannes Stezenbach, see thread at: http://sourceware.org/ml/crossgcc/2010-07/msg00017.html
2010-07-10config: no need to push the download mirror in a sub menuYann E. MORIN"1-1/+1
2010-07-09binutils/binutils: add binutils-2.20.1Johannes Stezenbach1-0/+5
Signed-off-by: Johannes Stezenbach <js@sig21.net>
2010-07-09kernel/linux: update linux stable releasesJohannes Stezenbach1-9/+19
Signed-off-by: Johannes Stezenbach <js@sig21.net>
2010-07-02libc/uClibc: enable NPTL for snapshotsYann E. MORIN"3-7/+84
Recently, NPTL has matured a lot in uClibc, and more and more people are interested to at least give it a try. So enable it.
2010-07-02libc/uClibc: fix snapshotsYann E. MORIN"1-4/+19
Snapshots are in a subdir named uClibc, not uClibc-snapshot (or uClibc-YYYYMMDD either).
2010-07-02libc/uClibc: fix munging .config for LT old/newYann E. MORIN"1-7/+4
2010-07-03debug/ltrace: add latest versionYann E. MORIN"1-0/+6
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-06-30debug/gdb: fix incorrect pathYann E. MORIN"1-1/+1
Fix discrepancy between the directory we create, and the directory into which we install tic.
2010-06-30libc/glibc: fix installed scriptsYann E. MORIN"1-0/+13
glibc installs some bash-scripts, but uses the path to the buildtool bash as interpreter (on the shebang line). This is only a symlink to the real bash, and thus is not available at runtime. Fix that by assuming that bash on the target *will* be /bin/bash.
2010-06-27scripts: enhance Makefile for installationYann E. MORIN"1-19/+26
Split the multiple directory copies into autonomous rules. Fix the autocompletion message.
2010-06-25test-suite: correctly install when not --localAndy Gibbs"1-1/+1
2010-06-22scripts/wrapper: fix wrong test when checking access to the reall toolYann E. MORIN"1-1/+1
In C, the proper syntax for a bit-wise OR is a single '|', not two. It worked so far because all was well: - X_OK == 1 - R_OK||X_OK == 1 - the file we searched for had the x-bit set -> access( file, R_OK||X_OK ) worked - inicidentally, the file we searched for also had the r-bit set, but we were not testing that in fact.
2010-06-17cc/gcc: add option do disable PCHYann E. MORIN"2-0/+15
In some cases, using Pre-Compiled Headers breaks the build. Ass an option to disable building the PCH, as suggested by: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40974
2010-06-17kernel/linux: allow headers from full custom source treeYann E. MORIN"2-11/+71
Accept a local tarball name as the source of the Linux kernel headers, rather than forcing the user to use either an upstream tarball, or a local pre-installed headers tree.
2010-06-15kernel/linux: reorder upstream/custom-tree handlingYann E. MORIN"2-18/+16
2010-05-22docs/README.freebsd.txt: Short intro for FreeBSDTitus von Boxberg1-0/+26
Provide short README for FreeBSD as a host OS for ct-ng.
2010-05-30docs/README.macos.txt: Provide hints sectionTitus von Boxberg1-0/+11
Hints for building tool chains.
2010-05-29patches/gdb: Fix canadian building of GDB for powerpcMartin Lund3-0/+549
Adds patch for GDB v6.8, v7.0, v7.0.1 to fix canadian cross building of GDB for powerpc. See original patch information here: http://sources.redhat.com/bugzilla/show_bug.cgi?id=9638 The patch is not required for GDB v7.1 (fixed). Tested in canadian combination using mingw32 and powerpc toolchains. Tested to not affect normal cross building of GDB for powerpc target. Signed-off-by: Martin Lund <mgl@doredevelopment.dk>