2009-08-31config: move the patch choice to the extract section
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 31 Aug 2009 22:55:26 +0200] rev 1510
config: move the patch choice to the extract section

Choosing the origin of the patches to apply is best
done in the 'extract' section.

2009-08-31config: add fallback to patch order
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 31 Aug 2009 12:47:58 +0200] rev 1509
config: add fallback to patch order

Add the possibility to fallback to either bundled or local patches
if local or bundled are missing.

2009-08-31config: add the local,bundled patch order
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 31 Aug 2009 12:51:53 +0200] rev 1508
config: add the local,bundled patch order

This ordering first applies the local patches, then the bundeld ones.

2009-08-31config: make selecting the patch origin a choice rather than a bool
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 31 Aug 2009 12:05:52 +0200] rev 1507
config: make selecting the patch origin a choice rather than a bool

2009-08-31functions: do not over-detect error when patching
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Mon, 31 Aug 2009 11:57:13 +0200] rev 1506
functions: do not over-detect error when patching

2009-08-30Merge.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 30 Aug 2009 20:07:39 +0200] rev 1505
Merge.

2009-08-30tools wrapper: fix error due to unused argument
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 30 Aug 2009 19:58:41 +0200] rev 1504
tools wrapper: fix error due to unused argument

In the C wrapper, the argc argument is not used, causing an error
(as we treat warnings as errors). Use a dummy allocation to get
rid of the warning.

2009-08-30tools wrapper: correctly install the C wrapper
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 30 Aug 2009 19:54:51 +0200] rev 1503
tools wrapper: correctly install the C wrapper

When building the C wrapper, specify the source file to be compiled.

2009-08-30config: move the "build shared libraries" option to the OS menu
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 30 Aug 2009 16:54:30 +0200] rev 1502
config: move the "build shared libraries" option to the OS menu

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_LIBS
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 30 Aug 2009 16:50:30 +0200] rev 1501
config: make "Build shared libraries" depend on KERNEL_SUPPORTS_SHARED_LIBS

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 support
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 30 Aug 2009 16:47:51 +0200] rev 1500
config: Linux kernel selectes shared libraries support

The Linux kernel supports using shared libraries, so prompt the user.

2009-08-30config: introduce the KERNEL_SUPPORTS_SHARED_LIBS silent config option
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 30 Aug 2009 16:44:59 +0200] rev 1499
config: introduce the KERNEL_SUPPORTS_SHARED_LIBS silent config option

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-menus
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 30 Aug 2009 19:34:08 +0200] rev 1498
config: swap the debug and tools sub-menus

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-menu
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 30 Aug 2009 19:33:48 +0200] rev 1497
config: move down companion libraries sub-menu

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-30companion-libs: PPL/CLooG/MPC require GMP and MPFR
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 30 Aug 2009 01:00:19 +0200] rev 1496
companion-libs: PPL/CLooG/MPC require GMP and MPFR

The PPL, CLoog/ppl and MPC libraries require GMP and MPFR.
Select GMP/MPFR appropriately.

2009-08-30tools wrapper: introduce the silent WRAPPER_NEEDED config option
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 30 Aug 2009 00:57:40 +0200] rev 1495
tools wrapper: introduce the silent WRAPPER_NEEDED config option

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-30Merge the C wrapper.
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 30 Aug 2009 00:35:58 +0200] rev 1494
Merge the C wrapper.

2009-08-30config: choose whether to use the shell or the C wrapper
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 30 Aug 2009 00:27:12 +0200] rev 1493
config: choose whether to use the shell or the C wrapper

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 C
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sat, 29 Aug 2009 18:27:47 +0200] rev 1492
tool wrapper: add initial wrapper coded in C

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-30overview: fix table of content, fix the hacker's way
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Sun, 30 Aug 2009 00:30:45 +0200] rev 1491
overview: fix table of content, fix the hacker's way

table of content: add missing entry
the hacker's way: no need to "make install"

2009-08-28README: fix some space alignment
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 28 Aug 2009 12:09:04 +0200] rev 1490
README: fix some space alignment

2009-08-28duma: fix downloading by forcing extension to .tar.gz
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Fri, 28 Aug 2009 11:57:29 +0200] rev 1489
duma: fix downloading by forcing extension to .tar.gz

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_MMU
Ingmar Schraub <is@eseco.de> [Fri, 28 Aug 2009 11:34:49 +0200] rev 1488
x86_64: is a MMU-aware arch, so select ARCH_USE_MMU

2009-08-28duma: fix version string.
Ingmar Schraub <is@eseco.de> [Fri, 28 Aug 2009 11:33:56 +0200] rev 1487
duma: fix version string.

DUMA uses '_' not '.' for major/minor/sub separation.

2009-08-24glibc: fix build error caused by incorrect variable assignment
Jim F <jimfriel@gmail.com> [Mon, 24 Aug 2009 19:20:57 +0200] rev 1486
glibc: fix build error caused by incorrect variable assignment

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" <yann.morin.1998@anciens.enib.fr> [Wed, 19 Aug 2009 19:52:04 +0200] rev 1485
Merge the bash_array branch.

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 ./configure bash_array
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 19 Aug 2009 19:44:45 +0200] rev 1484
Allow setting --enable-cxx-flags on gcc ./configure

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 options bash_array
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 19 Aug 2009 19:44:44 +0200] rev 1483
Use bash arrays to store binutils config options

2009-08-19Make glibc's extra_config an array containing ./configure options bash_array
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 19 Aug 2009 19:44:43 +0200] rev 1482
Make glibc's extra_config an array containing ./configure options

Change extra_config from a string to a array of options.

2009-08-19Make gdb's extra_config an array containing ./configure options bash_array
"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> [Wed, 19 Aug 2009 19:44:43 +0200] rev 1481
Make gdb's extra_config an array containing ./configure options

Change extra_config from a string to a array of options.