summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-09-11debug/gdb: rename patch directoriesYann E. MORIN"9-0/+0
Missed renaming the patch directories after the version renames... :-( Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-09-09scripts/functions: only use passive FTPYann E. MORIN"1-6/+8
Virtually all FTP server available on-line support passive FTP. At least, this is the case for the servers crosstool-NG needs to connect to. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-09-09scripts/functions: only use one download programYann E. MORIN"2-13/+5
Currently, we use either wget or curl, whichever is installed. In case both are installed, both are used. This means that it takes a while trying all extensions. Remove use of wget, and use only curl. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-09-09debug/gdb: update the version stringsYann E. MORIN"1-18/+18
Almost all versions have been renamed, but the gdb folks did not setup legacy symlinks. For more information, see this message: http://sourceware.org/ml/gdb/2011-09/msg00002.html Reported-by: ManuelStahl <manuel.stahl@iis.fraunhofer.de> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-09-06scripts: fix sysroot prefix dirYann E. MORIN"1-2/+4
The sysroot prefix dir was broken in #4960f5d9f829 due to a mishap when making the out-of-sysroot lib/ symlink: the './' was mistakenly changed into a single '.' . Although Jonathan suggested restoring the missing '/' to restore it to normal operation, I prefered using an explicit pushd/popd to be extra sure of the symlink location and target, along with a fix in the sysroot relative directory calculation. Reported-by: Jonathan Grundon <JGrundon@xos.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-09-06kernel/linux: fix typoYann E. MORIN"1-1/+1
Finally fix typo introduced in #6eb0189d7225 and partially fixed in #61ec8b08f98d... Seems I'm fast at introducing trivial typoes, but bad at fixing them... :-( Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-08-30complibs/gmp: bump versionYann E. MORIN"1-0/+6
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-08-30kconfig: print version in .configYann E. MORIN"2-5/+1
Having the crosstool-NG version in the .config helps in case we want to reproduce the toolchain with the exact same version of crosstool-NG. This also reverts #bb73e7632b54. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-08-30kernel/linux: fix typoesYann E. MORIN"1-3/+3
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-08-30kernel/linux: bump versionsYann E. MORIN"1-6/+11
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-08-28libc/newlib: add a config option allowing to disable builtin syscallsKévin PETIT2-0/+15
Allows to choose if one wants to keep or not the syscalls that are provided with newlib. It passes the --disable-newlib-supplied-syscalls or --enable-newlib-supplied-syscalls to the configure script. If one chooses to disable the builtin syscalls, he/she will have to write his/her own. This can be usefull to port newlib to a new platform/board. Signed-off-by: Kévin PETIT <kpet@free.fr>
2011-08-25configure: xz-utils alone can also handle LZMA-compressed tarballsYann E. MORIN"2-2/+16
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-08-25configure: check for lzmaYann E. MORIN"2-0/+7
Some packages are available as LZMA tarballs. LZMA is a relatively recent compression algorithm; it's slightly better than bzip2, but offers much faster decompression. LZMA is now deprecated in favor of XZ, but some packages switched to LZMA when XZ was not yet available, or still in its infancy. Latest XZ (which totaly obsoletes LZMA) offers a backward LZMA- compatible utility, so we can check for 'lzma' nonetheless. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-08-25configure: fix typo in xz-utils warning messageYann E. MORIN"1-1/+1
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-08-22configure: use def_bool for available featuresYann E. MORIN"1-2/+3
It's one line shorter, and easier to read. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-08-22debug/ltrace: Fix HOST_OS and arTitus von Boxberg"4-0/+56
HOST_OS really is the target OS. Allow setting it for configure via an environment variable. libltrace.a should have an index: Allow ar to be set as an environment variable, and generate an index in this lib. Reported-by: "Guylhem Aznar" <crossgcc@guylhem.net> Signed-off-by: "Titus von Boxberg" <titus@v9g.de>
2011-08-22debug/gdb: correct compilation error when stpcpy is a defineTitus von Boxberg"1-0/+12
On OSX stpcpy is a define which is not recognized by gdb's configure. This results in a compilation error. Reported-by: "Guylhem Aznar" <crossgcc@guylhem.net> Signed-off-by: "Titus von Boxberg" <titus@v9g.de>
2011-08-22docs: Document usage with Xcode 4.1Titus von Boxberg"1-5/+19
With Xcode 4.1 'gcc' is symlinked llvm-gcc-4.2 which cannot bootstrap other gccs. See http://llvm.org/bugs/show_bug.cgi?id=9571 On my machine the faulty gcc is gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00) Document a workaround. Signed-off-by: "Titus von Boxberg" <titus@v9g.de>
2011-08-22libc/uClibc: portability fixes to install_headersTitus von Boxberg"2-0/+40
Add patch files for uClibc-0.9.30: extra/scripts/install_headers.sh: find must be called with path. extra/scripts/unifdef.c: getline is declared in <stdio.h>, use different name. Reported-by: "Guylhem Aznar" <crossgcc@guylhem.net> Reported-by: "Titus von Boxberg" <titus@v9g.de> Signed-off-by: "Titus von Boxberg" <titus@v9g.de>
2011-08-22configure: require libtoolize, create wrapper to itTitus von Boxberg"3-15/+22
libtoolize must be checked_for and there needs to be a wrapper that points to GNU libtoolize since that may be installed as glibtoolize. This fixes a problem with building Cloog/PPL that was Reported-by: "Pierrick Brossin" <pierrick@bs-network.net> Signed-off-by: "Titus von Boxberg" <titus@v9g.de>
2011-08-22configure: fix --with-prog=[...]Titus von Boxberg"1-0/+1
check_for didn't set variable 'where' when the path to a prog was passed manually "(cached)". Signed-off-by: "Titus von Boxberg" <titus@v9g.de>
2011-08-21complibs/libelf: use target ranlibTitus von Boxberg"1-0/+1
For portability, the right ranlib for the target must be passed to libelf's configure. Signed-off-by: "Titus von Boxberg" <titus@v9g.de>
2011-08-21configure: recognise and handle --program-transform-nameYann E. MORIN"2-2/+15
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-08-19configure: recognise and handle --program-suffixYann E. MORIN"3-5/+24
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-08-17configure: handle --program-prefixYann E. MORIN"5-23/+43
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-08-19Makefile: introduce PROG_NAME to contain the 'ct-ng' executable nameYann E. MORIN"1-18/+20
With the upcomming --program-{prefix,suffix,transform-name} options, we'll have a need to centralise the actual executable name, that is now no longer be a constant. Rather than spread the prefix/suffix through-out the code, just centralise the name setting in one place. Beside, transform-name would not be possible without setting the name at a single location. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-08-17configure: document ignored switchesYann E. MORIN"1-0/+20
Autostuff tradiotionnally have some switches to set host, build and target systems, static or shared libs, and a bunch of others... In the crosstool-NG case, they do not matter, as crosstool-NG is just a set of scripts (there are C files, but they are compiled after installation, at runtime, so it does not count). Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-08-21libc/glibc: change default of "forced unwind" to 'y'Yann E. MORIN"1-1/+3
Virtually all our targets do support stack unwinding. For some of them, ./configure can't detect that, and the build fails later on. So, default to force unwind, and let the user disable it if it breaks in his/her case. The previous changeset (f44286235a07) was empty, as spotted by Benoît. Reported-by: Benoît THÉBAUDEAU <benoit.thebaudeau@advansee.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-08-17debug/gdb: we don't care if the host tic is shared or staticYann E. MORIN"1-1/+4
Because we need our own host tic, we have to build it; and we do build it statically for now. But as MacOS/Darwin/Whatever-you-call-it does not support static linking (what a shame!), it fails. Anyway, we don't really care it being shared, in the end. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-08-18debug/gdb: use ncurses-5.9Yann E. MORIN"1-1/+1
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-08-16kernel/linux: fix using custom tarballYann E. MORIN"1-1/+1
The custom-tarball symlink was created in CT_SRC_DIR, when it should be created in CT_TARBALLS_DIR. Reported-by: Guylhem Aznar <crossgcc@guylhem.net> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-08-18scripts: simplify and fix the toolchain config scriptYann E. MORIN"1-5/+1
The script that is installed, and which sole purpose is to dump the .config that was used to build the toolchain, is pure insanity. Let's make it much, much more simpler... Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-08-18libc/glibc: change default of "forced unwind" to 'y'Yann E. MORIN"0-0/+0
Virtually all our targets do support stack unwinding. For some of them, ./configure can't detect that, and the build fails later on. So, default to force unwind, and let the user disable it if it breaks in his/her case. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-08-18debug/gdb: update GDB revisionsBenoît THÉBAUDEAU"1-0/+14
Update GDB with the latest available revisions. Signed-off-by: "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
2011-08-18cc/gcc: update Linaro GCC revisionsBenoît THÉBAUDEAU"1-6/+6
Update Linaro GCC with the latest available revisions. Signed-off-by: "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
2011-08-17kernel/linux: add latest versionsYann E. MORIN"1-6/+16
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-08-14scripts/functions: add xz supportYann E. MORIN"1-0/+4
Add support for the new XZ-compressed tarballs. At least glibc uses that new format. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-05-03scripts/functions: test for decompressors before useYann E. MORIN"1-6/+14
./configure does check for the presence of gz and bzip2, so we can safely use them in the build scripts. On the other hand, more recent formats (eg. XZ) are not yet widely available, and we do not want, and can't, force the user to install them as a pre-requisite. So, build up a list of allowed tarball formats based on the available decompressors. For no, this is a static list, but the upcoming XZ support will conditionnaly add to this list. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-08-10configure: add test for xz-utilsYann E. MORIN"1-0/+3
Some upstream now release tarballs compressed with xz, along with the more traditional bzip2 and/or gzip tarballs. xz (and its predecessor lzma) achieves better compression, so is a good candidate to shorten the time it takes to download the source tarballs. Enable downloading xz-cmopressed tarballs if the user has xz-utils. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-08-14configure: do not require lzmaYann E. MORIN"1-1/+0
Nothing uses lzma now, so we can get rid of it. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-08-14scripts/functions: commonalise tar options in CT_EXtractYann E. MORIN"1-3/+7
This shortens command lines, so it's good! :-) Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-08-14kernel/linux: remove check for lzma tarballsYann E. MORIN"1-1/+0
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-08-14kernel/linux: simplify custom tarball handlingYann E. MORIN"3-51/+32
Simplify the way the custom tarball is handled: - fake version="custom" - at download, simply link the custom tarball to: "linux-custom.${custom_extension}" - at extract, the above allows to simply extract "linux-${LINUX_VERSION}" where LINUX_VERISON is set to the fake version="custom" Not that much convoluted, in fact... :-/ Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-08-14kernel/linux: deprecate copying headers from pre-instaleld headersYann E. MORIN"1-15/+7
No-one ever inquired about this feature. Due to the way it works, it is rather unlikely that every user used a properly-formatted tarball, or a properly structured directory as imput. Beside, it is not really easy to maintain: I just spent one full day remembering how it worked... Sigh... :-( Just deprecate this, until next release, or until someone complains. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-08-14samples: do not use the mirror by defaultYann E. MORIN"23-46/+23
As the mirror is always tried first, and the default is my server, it means every download will first hit my server. As I do not have much mirrored there, it means a lot of time is lost. Disable use of the mirror for all samples, except the one that does need it for the uClibc snapshot. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-08-12libc/uClibc: force use of ctor/dtorYann E. MORIN"1-1/+5
Although ctor/dtor do not seem strictly required, missing them proves rather inconvenient, as ld can't link binaries. Reported-by: John Spencer <maillist-uclibc@barfooze.de> (sh4rm4 on IRC) Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-08-10scripts/functions: remove messages about failed downloadsYann E. MORIN"1-3/+4
When downloading via svn/cvs/... an attempt to retrieve from the mirror is made. If the mirror does not have the required tarball, an error message is printed. This is misleading, as the download may later succeed via svn/cvs/... Remove the messages about failed downloads altogether. At the same time, use "if ... then ... fi" instead of "... && ..." Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-08-09configure: more autostuff compatibilityYann E. MORIN"1-0/+2
Ignore --program-prefix=... Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-08-08kerenl/linux: update to latest versionsYann E. MORIN"1-27/+21
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2011-08-02scripts: try the mirror even if downloads are forbiddenYann E. MORIN"3-53/+66
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>