Yann E. MORIN"
1f16f7a6f7
Add a utility to populate a root directory with libraries from the toolchain.
2007-07-08 17:44:59 +00:00
Yann E. MORIN"
8b99fa0955
More uClibc parrallel compilation cleanup.
2007-07-07 16:12:38 +00:00
Yann E. MORIN"
f6e904567f
Parrallel compilation is broken for uClibc (I don't know if any of my patches is doing it, or if mainline is already broken).
2007-07-07 16:11:17 +00:00
Yann E. MORIN"
674ee531e6
Silence "which" being verbose in some distros. (eg. Mandriva's which spawns "foobar was not found in /bin:/usr/bin:...." directly on stderr)
2007-07-07 09:58:14 +00:00
Yann E. MORIN"
1319b8882a
Before trying to download sstrip (from buildroot), try a local copy first.
2007-07-04 21:56:14 +00:00
Yann E. MORIN"
5b1af13ea6
Make checking the linux installed headers optional (instead of systematic).
2007-07-03 22:16:42 +00:00
Yann E. MORIN"
9265403b8b
Get rid of eclipse fiels once and for all.
...
Homogenise the references to crosstool-NG:
- the project is named "crosstool-NG"
- the front-end is named "ct-ng"
- don't use shortcuts (such as "ct-ng" to stand for "crosstool-NG")
Default action is to print help.
Don't speak of make rules when dumping help, just speak of actions.
2007-07-02 19:40:54 +00:00
Yann E. MORIN"
26713d4210
Merge the build system to trunk: ct-ng is now installable:
...
- ./configure --prefix=/some/place
- make
- make install
- export PATH="${PATH}:/some/place/bin"
- ct-ng <action>
2007-07-01 19:04:20 +00:00
Yann E. MORIN"
b9f843657a
Offer an option to build the gdbserver statically. This helps in case of debugging shared library loading.
2007-06-17 15:46:13 +00:00
Yann E. MORIN"
7746415b7d
The log file is no longer configurable: it is always "${CT_PREFIX_DIR}/build.log".
...
Add an option to compress the log file upon successfull build.
Make rendering the toolchain read-only optional.
A few eye-candy fixes.
2007-06-17 14:51:37 +00:00
Yann E. MORIN"
ca5213a387
scripts/showSamples.sh:
...
- revert sample dumping to not show the components versions;
docs/overview.txt:
- reorder docs/overview.txt so that configuring comes before running,
- tell about regtest;
Makefile:
config/global.in:
- point to docs/overview.txt for the list of steps;
2007-06-17 12:11:16 +00:00
Yann E. MORIN"
eae28ee8af
Add the "regtest" make target: call "make regtest", and all samples wil be built, and a tarball made for each of them. First sample to fail causes the test to stop.
2007-06-17 11:13:48 +00:00
Yann E. MORIN"
5e07f7cfc3
scripts/functions is responsible for initiating the log file.
...
Users of the log facility are in charge to use, move, delete this log file, now.
2007-06-16 22:23:53 +00:00
Yann E. MORIN"
d8bc11b165
Fix printing components' file names.
2007-06-16 21:44:45 +00:00
Yann E. MORIN"
37cce18efa
Add a function to print each component's filename: this eases building the tarball of the generated toolchain.
...
Hard-link the libfloat tarball instead of soft-link: this also eases building the afore-mentioned tarball.
2007-06-16 18:08:14 +00:00
Yann E. MORIN"
0b17dd664e
When searching a matching extension for a file, also check for the empty extension.
2007-06-16 18:04:05 +00:00
Yann E. MORIN"
c9c11c9768
Add two te;plates on how to add a new tool/debug facility.
2007-06-16 17:41:01 +00:00
Yann E. MORIN"
ef364dc50a
Stale log files are now named "log.*", not "*.log".
2007-06-04 17:51:55 +00:00
Yann E. MORIN"
04882814af
Small eye-candy fix.
2007-06-04 17:35:14 +00:00
Yann E. MORIN"
c3badb0b8a
Be a little more explicit when the user wants to restart a non-restartable build.
2007-06-02 15:50:45 +00:00
Yann E. MORIN"
88b6a540e3
Revert revision 201: renaming the two cc_core passes was a bad idea.
2007-06-02 08:13:13 +00:00
Yann E. MORIN"
53a759c552
scripts/build/libc_glibc.sh:
...
- clean up addons list creation,
- make NPTL work again with this.
2007-06-02 07:56:45 +00:00
Yann E. MORIN"
4d84cd7db1
Rename two steps to their real names:
...
- cc_core_pass_1 is really cc_core_static,
- cc_core_pass_2 is really cc_core_shared.
2007-06-01 20:06:22 +00:00
Yann E. MORIN"
d472c9b951
Add the first tool facility: sstrip.
2007-06-01 17:00:43 +00:00
Yann E. MORIN"
51554bf237
Introduce the notion of tols facilities (none so far, sstrip coming right away...).
2007-06-01 16:55:33 +00:00
Yann E. MORIN"
6d932e31d8
Messages from the downloaders should be tagged ALL, not DEBUG.
2007-06-01 16:20:20 +00:00
Yann E. MORIN"
1bb7c90a8d
Small fix in the log level when dumping the last messages (elapsed time).
2007-05-29 19:56:21 +00:00
Yann E. MORIN"
2f451b0094
Fix and enhance the STOP/RESTART facility.
2007-05-28 21:33:35 +00:00
Yann E. MORIN"
e830653d1b
Don't start a state restoration if it is not available.
...
Fortuitly discovered that $SECONDS is inherited from shell to sub-shells. Good!
2007-05-28 20:57:40 +00:00
Yann E. MORIN"
e163ff9125
Fix libfloat when calling the compiler:
...
- when not compiling NPTL, the shared core C compiler does not exist,
- PATH arranges for the shared core C compiler to be found before the static one, so no need to force it.
2007-05-27 21:30:34 +00:00
Yann E. MORIN"
080d42255c
Forgot to remove all build system tools from the generated toolchain.
2007-05-27 20:23:41 +00:00
Yann E. MORIN"
de5df0533c
Merge the NPTL stuff.
...
That still leaves the linuxthreads stuff broken, but it was just before. I don't care anyway. Time to fix that later...
2007-05-27 20:22:06 +00:00
Yann E. MORIN"
266e38cc13
Add the possibility to stop after a specified step.
...
Update the Makefile help and the documentation accordingly.
2007-05-25 19:30:42 +00:00
Yann E. MORIN"
e49e7c80a2
In the non-canadian case, also force the build system.
2007-05-24 19:00:26 +00:00
Yann E. MORIN"
814e303c3c
We need to build libiberty before gcc only in the canadian case, not the opposite.
2007-05-24 17:49:24 +00:00
Yann E. MORIN"
ed8b7c0bab
Correctly handle the log level overide in scripts/tarball.sh.
2007-05-23 21:40:57 +00:00
Yann E. MORIN"
b521e3418d
In CT_Abort(), don't send output to stderr. Let the log facility handle where things should go.
2007-05-23 21:08:24 +00:00
Yann E. MORIN"
266a81de2c
Sanitise CT_DoBuildTargetTriplet a bit.
2007-05-23 20:49:02 +00:00
Yann E. MORIN"
af0f7c4d33
Correctly handle the log level overide in scripts/saveSample.sh.
...
Little eye candy in scripts/showSamples.sh.
2007-05-23 19:07:54 +00:00
Yann E. MORIN"
2e925f1569
Mark broken samples as such: use a file named 'broken' in the sample's directory.
...
Reflected this state when listing samples (in scripts/showSamples.sh).
2007-05-22 21:18:55 +00:00
Yann E. MORIN"
a7a625877c
Be verbose when making build system tools available, and when access is removed. Log this to DEBUG.
...
Remove last remnants of color scheme.
Small fixes to some comments.
2007-05-22 21:16:17 +00:00
Yann E. MORIN"
cb0d1fef8c
Implement a restart facility.
...
If you select to debug ct-ng, then you have two new options:
- DEBUG_CT_PAUSE_STEPS : pause between every steps,
- DEBUG_CT_SAVE_STEPS : save state between every steps.
To restart a saved state, just set the RESTART make variable when calling make:
- make RESTART=<step_name>
2007-05-22 20:46:07 +00:00
Yann E. MORIN"
fee99394cd
Fix warning about setting --host and not --build.
2007-05-22 20:36:05 +00:00
Yann E. MORIN"
6f797c35f0
Upgrade scripts/tarball.sh and scripts/saveSample.sh to use the new logging facility.
2007-05-22 20:33:43 +00:00
Yann E. MORIN"
d3b53b8a20
Move the config script for the build dir to the source dir.
...
That will be useful when we have the restart functionality.
2007-05-21 22:01:28 +00:00
Yann E. MORIN"
94960ef7c3
Fix gdb to install in CT_PREFIX_DIR rather than CT_INSTALL_DIR.
...
One day, I swear, I will implement the install directory option. But later.
2007-05-20 16:18:40 +00:00
Yann E. MORIN"
4fb8055bf7
Ah! I finally have a progress bar that doesn't stall the build!
...
- pipe size in Linux is only 8*512=4096 bytes
- pipe size is not setable
- when the feeding process spits out data faster than the eating
process can read it, then the feeding process stalls after 4KiB
of data sent to the pipe
- for us, the progress bar would spawn a sub-shell every line,
and the sub-shell would in turn spawn a 'date' command.
Which was sloooww as hell, and would cause some kind of a
starvation: the pipe was full most of the time, and the
feeding process was stalled all this time.
Now, we use internal variables and a little hack based onan offset
to determine the elapsed time. Much faster this way, but still
CPU-intensive.
2007-05-20 13:48:26 +00:00
Yann E. MORIN"
aa6ae43fd7
Add uClibc-0.9.29:
...
- associated patch set
- update the munging function to accomodate the new config variables
libfloat version was missing from the previous commit... :-(
Better handle the case where the sample directory already exist but isn't under revision control, and in case the destination file doesn't exist in the sample directory.
2007-05-19 22:52:47 +00:00
Yann E. MORIN"
361c617308
Correctly handle the libfloat case: download, extract and patch sub-actions.
...
Small improvement in messages in scipts/functions when retrieving a file.
2007-05-19 13:10:11 +00:00
Yann E. MORIN"
41e8d132ce
Un-mark gdb and dmalloc being EXPERIMENTAL.
...
Mark native gdb as being EXPERIMENTAL (it depends on termcap, which we don't have yet).
2007-05-18 19:55:49 +00:00