aboutsummaryrefslogtreecommitdiff
path: root/scripts/build/libc
Commit message (Collapse)AuthorAgeFilesLines
...
* kernel/mingw: add target librariesYann E. MORIN"2010-07-111-1/+79
| | | | | | | | | | | | | | | 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>
* kernel: add mingwYann E. MORIN"2010-07-111-0/+74
| | | | | | | | | | | | | | | | | 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>
* libc/uClibc: enable NPTL for snapshotsYann E. MORIN"2010-07-031-5/+73
| | | | | 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.
* libc/uClibc: fix snapshotsYann E. MORIN"2010-07-031-4/+19
| | | | | Snapshots are in a subdir named uClibc, not uClibc-snapshot (or uClibc-YYYYMMDD either).
* libc/uClibc: fix munging .config for LT old/newYann E. MORIN"2010-07-021-7/+4
|
* libc/glibc: fix installed scriptsYann E. MORIN"2010-07-011-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.
* libc/newlib: build in the 'start files' passYann E. MORIN"2010-06-131-8/+6
| | | | | | | | | | | | | | | A few facts: - building the C library requires a proper core compiler - core compiler is issued from one of the core passes - the C library is required to build libstdc++ - newlib is only built for baremetal - in bare metal, the final compiler is issued from one of the core passes So we need to build the C library between core pass 1 and core pass 2. The only place is eithe libc_headers() or libc_start_files(). The most pertinent seems to be libc_start_files(). So we build newlib from libc_start_files(), and leave libc() empty.
* libc/uClibc: apply the threading model to the configurationYann E. MORIN"2010-06-091-0/+30
| | | | | The threading model shall be be set in the .config file. Also, offer the choice between 'old/stable' and 'new' linuxthreads.
* libc/newlib: don't do // downloadsYann E. MORIN"2010-04-211-0/+9
| | | | | | | The newlib FTP site does not like // downloads, and quickly blocks the IP from the downloader. Override the number of chunks when downloading newlib.
* libc/glibc: fix kernel version checkYann E. MORIN"2010-04-211-1/+3
| | | | | | Since we log the test strings, it is no longer possible to call the CT_Test* functions from sub-functions that print results to their stdout.
* Add basic support for the Blackfin architectureThomas Petazzoni2010-04-071-5/+6
| | | | | | | | | | | | | | | For uClibc, the name of the Blackfin architecture is 'bfin'. Actually, the naming of the architecture is quite messy: for toolchain tuples and uClibc, it's bfin, but for the kernel, it's blackfin. We've arbitraly choosen to name it "blackfin" in Crosstool-NG. Add Blackfin-related uClibc patch to fix a build failure related to fork() being used in unistd/daemon.c. Yann E. MORIN: Apply the patch to the kernel/linux build script to use 'linux' in the noMMU tuples. See: http://sourceware.org/ml/crossgcc/2010-04/msg00010.html
* scripts/functions: make CT_Patch dumberYann E. MORIN"2010-04-114-7/+7
| | | | | It is the responsibility of the caller to split the package name from its version. It already knows that.
* libc/newlib: only compute version string, not full filenameYann E. MORIN"2010-04-111-8/+8
|
* libc/eglibc: Add option to optimize for sizeRichard Strand2010-02-011-1/+7
| | | | | | Add an option to eglibc to optimize for size using -Os. Signed-off-by: Richard Strand <richard.strand@icomera.com>
* libc/glibc: fix retrieving version stringYann E. MORIN"2010-01-301-2/+5
|
* libc/glibc: get the version string from version.hYann E. MORIN"2010-01-121-2/+5
| | | | | | We can not rely on the user-provided version string (be it via the choice, or manually entered), so fallback to reading version.h, which is both reliable and always present.
* scripts/functions: change handling of nochdirYann E. MORIN"2010-01-123-7/+7
| | | | | - 'nochdir' must be the first option - have systematic pushd/popd, even if nochdir
* libc/glibc: get rid of the now obsolete CVS stuffYann E. MORIN"2010-01-111-63/+28
| | | | | | It's now been a while that glibc switched to git from cvs. Get rid of cvs to download glibc; this will make for a good cleanup before we add git support! :-)
* libc/uClibc: fix the breakage for x86 and Super-H, after the 32/64 mergeYann E. MORIN"2010-01-231-2/+9
|
* libc/uclibc: use CT_ARCH, in place of CT_KERNEL_ARCHYann E. MORIN"2010-01-231-2/+2
| | | | | 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.
* libc/glibc: use CT_ARCH, in place of CT_KERNEL_ARCHYann E. MORIN"2010-01-231-2/+2
| | | | | 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.
* libc/glibc: correctly handle dual-bitness archsYann E. MORIN"2010-01-091-2/+10
| | | | | | If the selected ARCH is dual-bitness (eg. supports 32- and 64-bit), then we need to know the correct place where to fetch some headers. Currently, this applies only to x86 variants: i386 and x86_64.
* misc: do not use "tar cf - |tar xf -"Yann E. MORIN"2010-01-021-12/+10
| | | | | | | | | | | | | | Using this: tar cf - -C "/some/place" |tar xf - -C "/some/other/place" to copy a directory to another place does not properly fail (when it does). Using this instead: cp -av "/some/place" "/some/other/place" makes it easy to see why and how it failed. Impacted: libc/uClibc debug/ltrace tools/sstrip scripts/populate
* libc/uClibc: do not mangle ARM {E,O}ABI when ARCH != ARMYann E. MORIN"2010-01-011-11/+13
|
* libc/uClibc: beautify the munge functionYann E. MORIN"2010-01-011-91/+100
|
* libc/glibc: configure libc headers with support for 128-bit long doubleYann E. MORIN"2009-11-171-0/+2
| | | | | | | | | | At the headers install pass, there's no compiler to test for the size of long double. Help it: we know that the compiler does support 128-bit long double, in the IBM extended precision. Kindly pointed out, and explained, by Mike FRYSINGER: http://sourceware.org/ml/crossgcc/2009-11/msg00040.html http://sourceware.org/ml/crossgcc/2009-11/msg00057.html
* libc/uClibc: add wchar supportSimon Pasch2009-11-061-2/+11
|
* libc/glibc: allow more than one line in configparmsYann E. MORIN"2009-11-161-3/+3
|
* libc/newlib: allow using CVS snapshotsYann E. MORIN"2009-10-261-12/+27
| | | | | | | The newlib "team" rolls new releases about once a year (december). This is quite a long time between releases, in case code was fixed. So, allow user to use a CVS snapshot to benefit early from fixes and enhancements to newlib.
* libc/newlib: cleanup the build and finish stepsYann E. MORIN"2009-10-261-14/+12
| | | | | | | | | | | | build step: - ./configure - remove glibc-specific options - pass the target CFLAGS in the correct variable - make: - build in // finish step: - print proper message in finish step
* libc/newlib: fix host/target confusionYann E. MORIN"2009-10-251-2/+6
| | | | | | | newlib handles the build/host/target a bit differently as one would expect: build : not used host : the nachine that builds newlib target : the machine on which newlib will run
* eglibc: add support for user provided option groupsArnaud Vrac2009-10-091-2/+51
| | | | Signed-off-by: Arnaud Vrac <avrac@freebox.fr>
* Merge.Yann E. MORIN"2009-10-032-5/+5
|\
| * libc/eglibc: fix building for seemingly native toolchainsYann E. MORIN"2009-10-021-1/+1
| | | | | | | | | | | | | | | | | | | | Build eglibc with -O2 as a fix/workaround to building seemingly-native toolchains (see docs/overview.txt). See: - docs/overview.txt - docs/known-issues.txt - http://sourceware.org/ml/crossgcc/2009-10/msg00001.html
| * libc/glibc: fix building for seemingly native toolchainsYann E. MORIN"2009-10-021-4/+4
| | | | | | | | | | | | | | | | | | | | 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
* | libc/glibc: don't use legacy snapshotsYann E. MORIN"2009-10-031-12/+0
| | | | | | | | | | glibc snapshots have not been updated for about the past 5 months. Consider them to be deprecated, now.
* | libc/glibc: remove dead codeYann E. MORIN"2009-10-021-2/+0
|/ | | | | | The option to retrieve snapshots is already handled by the generic 'specific date' and 'use latest' entries. No need for a special case, as there's no code for it.
* libc/eglibc: fix downloadYann E. MORIN"2009-09-121-1/+1
| | | | Fix the test to check if download is forced.
* glibc: fix build error caused by incorrect variable assignmentJim F2009-08-241-2/+2
| | | | | | During the conversion to using bash arrays, the glibc build script was improperly converted, and contains an incorrect variable assignment to the config_options array.
* Merge the bash_array branch.Yann E. MORIN"2009-08-192-55/+69
|\ | | | | | | | | | | For every components where it makes sense, use bash arrays (instead of a string with space-separated values) to store the options pased to ./configure.
| * Make glibc's extra_config an array containing ./configure optionsYann E. MORIN"2009-08-191-34/+44
| | | | | | | | Change extra_config from a string to a array of options.
| * Make eglibc's extra_config an array containing ./configure optionsYann E. MORIN"2009-08-191-12/+14
| | | | | | | | Change extra_config from a string to a array of options.
| * [libc-eglibc] Rewrite part of the codeYann E. MORIN"2009-07-271-9/+11
| | | | | | | | | | | | | | | | | | | | | | Rewrite part of the code to better match the rest. Most notably, rewrite handling of: if [ ... ] && [ ... ] to: if [ ... -a ... ] This has the positive side effect of calling "[" only once, although "[" is probably a shell built-in.
| * [libc-eglibc] Fix testing for existing filesYann E. MORIN"2009-07-271-8/+8
| | | | | | | | | | | | | | To test for existing files, use "[ -f blabla ]", not "[ -a blabla ]" Checking for a file exsitence with "-a" is a bashism. Althoug we _are_ using bash, it's disturbing as it can be misread as the 'and' operator. Fix by using "-f".
* | Merge the AVR32 support branch to the default branch.Yann E. MORIN"2009-08-081-0/+82
|\ \ | |/ |/|
| * Removed debug lineMartin Lund2009-06-201-2/+0
| |
| * Fix libc configMartin Lund2009-06-201-3/+4
| |
| * Misc AVR32 cleanups.Martin Lund2009-06-201-4/+0
| |
| * Changed copyrightMartin Lund2009-06-141-2/+2
| |
| * Added support for Atmel AVR32 headersMartin Lund"2009-05-231-2/+17
| |