Commit Graph

1412 Commits

Author SHA1 Message Date
Yann E. MORIN"
9335bb7cd6 gcc: add patch to fix EABI for armv4t
As pointed out by Martin GUY, gcc incorrectly generates armv5t
instrcutions for EABI, even for cores that are an armv4t.
The new patch (for the 4.3 series) fixes the problem by downgrading
the default CPU for EABI to being an armv4t core.
2009-09-09 00:02:01 +02:00
Yann E. MORIN"
0233ac8534 kconfig: allow stdin/stdout redirection
Allow stdin/stdout redirection for the CLI conf (not mconf).
This allows to recall a sample and automatically apply the defaults
to new configuration option, with something like the following:
 yes "" |ct-ng "sample_name"
2009-09-08 22:42:48 +02:00
Blair Burtan
e3cc9d1b27 docs: add a tutorial on how to build a toolchain on Mac OS-X
Add a step-bystep tutorial to build a cross-toolchain on Mac OS-X.
2009-09-07 23:12:25 +02:00
Yann E. MORIN"
c8ea24328e companion libs: add latest CLooG/PPL versions
Add the latest 0.15.{4,5,6,7} CLoog/PPL.
2009-09-07 22:03:06 +02:00
Yann E. MORIN"
ea352a96a3 samples: show the PPL, GLoog/ppl and MPC versions
When displaying a sample, do show the PPL, CLoog/ppl and MPC versions
2009-09-07 19:03:09 +02:00
Yann E. MORIN"
565378d2b9 samples: fix displaying selected tools
Do display selected tools / debug facilities when displaying a sample.
2009-09-07 18:55:11 +02:00
Yann E. MORIN"
0d434aabb6 samples: replace usage of echo with printf
Using printf instead of echo allows easier and better formatting.
2009-09-07 18:40:30 +02:00
Yann E. MORIN"
3136ecb066 tools wrapper: fix building
Remove the build tools only after the wrapper is built.
Use the corect C compiler to build the tools wrapper.
Use the correct log level.
2009-09-06 17:58:05 +02:00
Yann E. MORIN"
4a1d73f209 crosstool.sh.in: better mesage when creating script-overrides 2009-09-06 16:49:54 +02:00
Yann E. MORIN"
9ce2053352 log functions: fix CT_DoLog and CT_DoExecLog
$@ and $* are different when in double quotes; use $* to print the message.
2009-09-06 16:49:20 +02:00
Yann E. MORIN"
b7d11da128 tools wrapper: move choice selection to a more appropriate place
Move the tools wrapper choice selection down to the companion libraries
sub-menu, to avoid the user going back and forth in the menu.
2009-09-06 11:47:40 +02:00
Joachim Nilsson
2231853b85 tools wrapper: fix config dependency
The tools wrapper is not needed only for canadian crosses, but also
for every other type of toolchain.
2009-09-06 11:13:28 +02:00
Yann E. MORIN"
33144a6438 docs: typo in overview.txt 2009-09-06 10:45:31 +02:00
Yann E. MORIN"
85b96f88fe TODO: update
Add TODO list for m4, autoconf, automake and libtool.
Building our own versions would remove burden from the users
who have older versions on their distributions, and are not
ready/able/allowed to upgrade.
2009-09-04 17:27:16 +02:00
Yann E. MORIN"
a6a0bf70ed config.{gues,sub}: update 2009-09-01 10:41:44 +02:00
Yann E. MORIN"
539a2357df 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-31 22:55:26 +02:00
Yann E. MORIN"
2efc2b2319 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-31 12:47:58 +02:00
Yann E. MORIN"
b09e70bda5 config: add the local,bundled patch order
This ordering first applies the local patches, then the bundeld ones.
2009-08-31 12:51:53 +02:00
Yann E. MORIN"
dc836b5e4d config: make selecting the patch origin a choice rather than a bool 2009-08-31 12:05:52 +02:00
Yann E. MORIN"
c992de9eb5 functions: do not over-detect error when patching 2009-08-31 11:57:13 +02:00
Yann E. MORIN"
510b70fabd Merge. 2009-08-30 20:07:39 +02:00
Yann E. MORIN"
af08c2b96c 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-30 19:58:41 +02:00
Yann E. MORIN"
4bb7da8056 tools wrapper: correctly install the C wrapper
When building the C wrapper, specify the source file to be compiled.
2009-08-30 19:54:51 +02:00
Yann E. MORIN"
4fa6f04c32 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-30 16:54:30 +02:00
Yann E. MORIN"
cf053f4c05 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-30 16:50:30 +02:00
Yann E. MORIN"
3e7ed96262 config: Linux kernel selectes shared libraries support
The Linux kernel supports using shared libraries, so prompt the user.
2009-08-30 16:47:51 +02:00
Yann E. MORIN"
8d7dcccad5 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-30 16:44:59 +02:00
Yann E. MORIN"
94dbc02a8b 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-30 19:34:08 +02:00
Yann E. MORIN"
655be7da5b 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-30 19:33:48 +02:00
Yann E. MORIN"
b8aa076b9f 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-30 01:00:19 +02:00
Yann E. MORIN"
4ae5ff5fd8 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-30 00:57:40 +02:00
Yann E. MORIN"
b7b6314a81 Merge the C wrapper. 2009-08-30 00:35:58 +02:00
Yann E. MORIN"
d811941c9a 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-30 00:27:12 +02:00
Yann E. MORIN"
8f051d8ef6 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-29 18:27:47 +02:00
Yann E. MORIN"
7628fa7a08 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-30 00:30:45 +02:00
Yann E. MORIN"
78d89b928b README: fix some space alignment 2009-08-28 12:09:04 +02:00
Yann E. MORIN"
922486d2b1 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-28 11:57:29 +02:00
Ingmar Schraub
bc82244af1 x86_64: is a MMU-aware arch, so select ARCH_USE_MMU 2009-08-28 11:34:49 +02:00
Ingmar Schraub
9ce4f4993a duma: fix version string.
DUMA uses '_' not '.' for major/minor/sub separation.
2009-08-28 11:33:56 +02:00
Jim F
015719a12a 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-24 19:20:57 +02:00
Yann E. MORIN"
4de6139e7e 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-19 19:52:04 +02:00
Yann E. MORIN"
83a48e12f0 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-19 19:44:45 +02:00
Yann E. MORIN"
8dd4a2de00 Use bash arrays to store binutils config options 2009-08-19 19:44:44 +02:00
Yann E. MORIN"
a72cc670b8 Make glibc's extra_config an array containing ./configure options
Change extra_config from a string to a array of options.
2009-08-19 19:44:43 +02:00
Yann E. MORIN"
59a37160af Make gdb's extra_config an array containing ./configure options
Change extra_config from a string to a array of options.
2009-08-19 19:44:43 +02:00
Yann E. MORIN"
25303fc30a Make dmalloc's extra_config an array containing ./configure options
Change extra_config from a string to a array of options.
2009-08-19 19:44:42 +02:00
Yann E. MORIN"
f255716872 Make gcc's extra_config an array containing ./configure options
Change extra_config from a string to a array of options.
2009-08-19 19:44:42 +02:00
Yann E. MORIN"
3af5465103 Make eglibc's extra_config an array containing ./configure options
Change extra_config from a string to a array of options.
2009-08-19 19:44:30 +02:00
Yann E. MORIN"
fdbe62cf0d configure: check for bash-3.1 or above
This is required to use the array variables that came with bash-3.1.
2009-08-19 19:41:24 +02:00
Yann E. MORIN"
e4855367b4 [libc-eglibc] Rewrite part of the code
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 22:16:07 +02:00