summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-08-30config: move the "build shared libraries" option to the OS menuYann E. MORIN"2-11/+13
The "Build shared libraries" config option is dependant on the type of "Target OS". Moving this options to the "Target OS" sub-menu is also better in the user perspective: he/she no longer needs to go back and forth to see if he/she missed any option.
2009-08-30config: make "Build shared libraries" depend on KERNEL_SUPPORTS_SHARED_LIBSYann E. MORIN"1-1/+1
Now that all kernels that support shared libraries select the correct config option, we can change the dependency rules of SHARED_LIBS accordingly.
2009-08-30config: Linux kernel selectes shared libraries supportYann E. MORIN"1-0/+1
The Linux kernel supports using shared libraries, so prompt the user.
2009-08-30config: introduce the KERNEL_SUPPORTS_SHARED_LIBS silent config optionYann E. MORIN"1-0/+7
The target OSes will be able to select this option if they support shared libraries, instead of having "Build shared libaries" depend on each OS.
2009-08-30config: swap the debug and tools sub-menusYann E. MORIN"1-1/+1
ltrace, in the debug sub-menu, selects libelf, in the tools sub-menu. Inverse the order of the two sub-menus, so that the user does not have to go back and forth between the two sub-menus.
2009-08-30config: move down companion libraries sub-menuYann E. MORIN"1-1/+1
Move the companion libraries sub-menu down the main menu. That way, the user does not need to go back and forth in the menu to change options set by the different components that select the companion libraries (binutils, gcc, gdb).
2009-08-29companion-libs: PPL/CLooG/MPC require GMP and MPFRYann E. MORIN"1-0/+1
The PPL, CLoog/ppl and MPC libraries require GMP and MPFR. Select GMP/MPFR appropriately.
2009-08-29tools wrapper: introduce the silent WRAPPER_NEEDED config optionYann E. MORIN"3-2/+8
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-29Merge the C wrapper.Yann E. MORIN"4-4/+233
2009-08-29config: choose whether to use the shell or the C wrapperYann E. MORIN"3-3/+104
Offer a config choice on whether to isntall the script wrapper, or the compiled C wrapper. Update docs/overview.txt accordingly.
2009-08-29tool wrapper: add initial wrapper coded in CYann E. MORIN"1-0/+128
Add an initial wrapper: - find the realpath of the tool being called - add the '.' in front of the tool name - add the '/lib' dir to the base dir of the tool - set and export LD_LIBRARY_PATH - execve the real tool
2009-08-29overview: fix table of content, fix the hacker's wayYann E. MORIN"1-1/+1
table of content: add missing entry the hacker's way: no need to "make install"
2009-08-28README: fix some space alignmentYann E. MORIN"1-4/+4
2009-08-28duma: fix downloading by forcing extension to .tar.gzYann E. MORIN"1-2/+5
Downoading a non-existing file from sourceforge gives you a "200 OK" and an index.html. As we try to retrieve a .tar.bz2 first, and duma is bundled in a .tar.gz, we won't get appropriate content, so just force the extension to avoid the problem. Thanks to Ingmar Schraub <is@eseco.de> for pointing out the issue.
2009-08-28x86_64: is a MMU-aware arch, so select ARCH_USE_MMUIngmar Schraub1-0/+1
2009-08-28duma: fix version string.Ingmar Schraub1-2/+2
DUMA uses '_' not '.' for major/minor/sub separation.
2009-08-24glibc: fix build error caused by incorrect variable assignmentJim F1-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.
2009-08-19Merge the bash_array branch.Yann E. MORIN"8-146/+199
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.
2009-08-19Allow setting --enable-cxx-flags on gcc ./configureYann E. MORIN"2-0/+14
Some setups require one to pass extra CXX flags at the time of ./configure. Make it easy.
2009-08-19Use bash arrays to store binutils config optionsYann E. MORIN"1-18/+26
2009-08-19Make glibc's extra_config an array containing ./configure optionsYann E. MORIN"1-34/+44
Change extra_config from a string to a array of options.
2009-08-19Make gdb's extra_config an array containing ./configure optionsYann E. MORIN"1-21/+28
Change extra_config from a string to a array of options.
2009-08-19Make dmalloc's extra_config an array containing ./configure optionsYann E. MORIN"1-9/+10
Change extra_config from a string to a array of options.
2009-08-19Make gcc's extra_config an array containing ./configure optionsYann E. MORIN"1-41/+50
Change extra_config from a string to a array of options.
2009-08-19Make eglibc's extra_config an array containing ./configure optionsYann E. MORIN"1-12/+14
Change extra_config from a string to a array of options.
2009-08-19configure: check for bash-3.1 or aboveYann E. MORIN"1-2/+2
This is required to use the array variables that came with bash-3.1.
2009-07-27[libc-eglibc] Rewrite part of the codeYann E. MORIN"1-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.
2009-07-27[libc-eglibc] Fix testing for existing filesYann E. MORIN"1-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".
2009-07-20samples: add eglibc-based toolchain for MIPS.Giammarco Zacheo2-0/+397
2009-08-19config: add Linux kernel 2.6.30.5Yann E. MORIN"1-0/+5
2009-08-19config: update Linux kernel long-term stable to 2.6.27.31.Yann E. MORIN"1-3/+3
2009-08-08Merge the AVR32 support branch to the default branch.Yann E. MORIN"10-0/+108245
2009-08-07Update README on how to send proper patchesYann E. MORIN"1-0/+29
Add a few lines of explanations on how to correctly setup and use Mercurial to send proper patches.
2009-08-07Add sections to the READMEYann E. MORIN"1-7/+36
2009-08-07Fix typo in READMEYann E. MORIN"1-1/+1
2009-08-07Update the README with the new URL to the project homepageYann E. MORIN"1-1/+1
The URL for the crosstool-NG homepage has changed. Update the README accordingly. The old URL is still valid, though.
2009-08-07config/gcc: re-order versionsYann E. MORIN"1-6/+6
Move the gcc-4.3.4 version to its place.
2009-08-06gcc: add support for 4.3.4Thomas Petazzoni28-0/+1319
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-08-05gcc: add patch to fix PR37436Thomas Petazzoni2-0/+172
When compiling some C++ code, GCC 4.3.x fails with an internal compiler error. The bug report is available at http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37436. The included patch is the one that has been merged in the trunk of gcc. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-08-06config: make CONFIG_SHELL default to bashYann E. MORIN"1-6/+4
Some components (eg. GMP) will fail to correctly build if the CONFIG_SHELL is not bash (eg. ash or dash). So make bash the default CONFIG_SHELL. Keep ash as a possible selection, as future versions of those currently /broken/ tools may come fixed wrt to CONFIG_SHELL being POSIX-ly compliant.
2009-08-02[complib:mpfr] Fix building MPFR in some weird casesOron Peled2-0/+49
The tmul test uses a compiled-in input file in $(srcdir). The problem is that the Makefile passes it unquoted. The C code tries to stringify it using clever macros, which may *usually* work. In my case the source directory was named: .../toolchain-powerpc-e500v2-linux-gnuspe-1.0-2.fc10/.../tests And guess what? During testing I found out the program fails because it tries to open: .../toolchain-powerpc-e500v2-1-gnuspe-1.0-2.fc10/.../tests Yes, CPP tokenized the macro before stringifying it and not surprisingly the 'linux' part was converted to 1. [on Fedora-10: cpp (GCC) 4.3.2 20081105 (Red Hat 4.3.2-7)] So the attached patch simplify the macros and pass the path as string from the Makefile.
2009-08-03[config] Merge CONFIG_SHELL selection.Yann E. MORIN"19-7/+601
2009-08-02[config] Warn againt using ash as CONFIG_SHELLYann E. MORIN"1-1/+5
It apears that more and more ./configure scripts and Makefiles make use of non-POSIXly correct shell constructs, that don't work with ash. For now, just warn the user against using ash, but keep it as an option in case newer versions of the /broken/ components come fixed, and we can again use ash, as it is in some cases really faster than bash.
2009-08-02Merge the queue with all new component versions.Yann E. MORIN"3-5/+6
2009-08-02[cc-gcc] Add latest versionsYann E. MORIN"1-0/+8
Add gcc-4.4.1
2009-08-02[scripts-add-version] Handle gcc 4.4+Yann E. MORIN"1-1/+5
Handle gcc-4.4+ when adding a new gcc version.
2009-08-02[comp-lib-gmp] Add latest versionsYann E. MORIN"3-0/+74
Add 4.3.0 and 4.3.1.
2009-08-02[tools-libelf] Add latest version.Yann E. MORIN"2-0/+29
Add libelf 0.8.11, propagate patchset from 0.8.10.
2009-08-02[libc-eglibc] Add latest versionYann E. MORIN"2-0/+54
Add latest branch 2_10.
2009-08-02[debug-ltrace] Add latest version.Yann E. MORIN"4-0/+333
Add ltrace 0.5.2, propagate patchset from 0.5.1 and from Debian.