Commit Graph

942 Commits

Author SHA1 Message Date
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"
2e4a36d95c Update tools/config.guess. 2007-05-27 21:15:46 +00:00
Yann E. MORIN"
465cdbeee1 No longer mark NPTL as being EXPERIMENTAL.
But mark build a native gdb as being EXPERIMENTAL.
2007-05-27 20:29:22 +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"
75435774ba Update version to -svn. 2007-05-24 17:51:49 +00:00
Yann E. MORIN"
136bb2e77e Prepare to release crosstool-ng-0.0.3. 2007-05-24 17:50:07 +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"
ae1d546378 A little eye conady in the Makefile. 2007-05-23 21:39:18 +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"
13b6242fb6 Update mips-unknown-linux-uclibc to the latest set of config options. 2007-05-22 21:19:47 +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"
4fad26e850 Update the svn:ignore property to get rid of the ever-changing Eclipse files. 2007-05-22 20:48:39 +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"
0c28252021 Add two new versions to binutils. 2007-05-22 20:42:21 +00:00
Yann E. MORIN"
933ea57382 Update the mips-unknown-linux-uclibc sample to the new set of config options.
Switch the ISA from mips32 to mips1.
2007-05-22 20:41:50 +00:00
Yann E. MORIN"
960cc07322 Port the custom ISA patch to uClibc-0.9.29 2007-05-22 20:37:46 +00:00
Yann E. MORIN"
a7ccd113ff Only prompt for libfloat for those target that support it. 2007-05-22 20:36:44 +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"
5d2b862edc Forgot to svn add... 2007-05-20 09:28:16 +00:00
Yann E. MORIN"
1f9c0c4fdb Add gcc-4.2.0 (EXPERIMENTAL) and some patches vampirised from buildroot (302 rediffed against 4.2.0). 2007-05-20 09:27:05 +00:00
Yann E. MORIN"
f384c530ad Fix adding versions for the core C compiler. 2007-05-19 22:54:20 +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"
266d2ec7e5 Remove an incorrect path from uClibc-0.9.29: we _do_ need a xgcc to buld this header! 2007-05-19 11:01:47 +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
Yann E. MORIN"
db2d59f091 Little fix up in a message during the dmalloc build. 2007-05-18 15:59:22 +00:00
Yann E. MORIN"
5e43e3ea86 Add dmalloc debug library facility.
Add patches for dmalloc.
Ignore the generated config/debug.in
2007-05-18 15:57:16 +00:00
Yann E. MORIN"
a5a431f851 Really use local copy first in case it does not have the same extension as the downloadable tarball. 2007-05-18 15:54:42 +00:00
Yann E. MORIN"
4f4aa3cfb5 Remove even more documentation. 2007-05-18 15:48:11 +00:00
Yann E. MORIN"
63a75e1743 Reverting to uClibc-0.9.28.3, as 0.9.29 spawns incorrect bits/sysnum.h (needs a xgcc first!). 2007-05-18 08:41:44 +00:00
Yann E. MORIN"
5f73b5a1e6 Bah, forgot to ci CREDITS... 2007-05-18 08:28:36 +00:00
Yann E. MORIN"
c505dd569f Patches for glibc-2.5, courtesy of "Robert P. J. Day" <rpjday@mindspring.com> 2007-05-18 08:27:50 +00:00
Yann E. MORIN"
340c3e2030 Make the debug config menu a generated file.
Add a uClibc-0.9.29 patch directory with one patch (from me!).
Update the armeb-unknown-linux-uclibc sample to uClibc-0.9.29.
Some eyecandy in the gdb build process.
2007-05-17 22:10:48 +00:00
Yann E. MORIN"
8d3f0a8781 Debug facilities:
- add a framework to easily add new ones
  - add gdb as a first debug facility
  - add patches for gdb
After the kernel checked its installed headers, clean up the mess of .checked.* files.
Reorder scripts/crosstool.sh:
  - dump the configuration early
  - renice early
  - get info about build system early, when setting up the environment
  - when in cross or native, the host tools are those of the build system, and only in this case
  - elapsed time calculations moved to scripts/functions
Remove handling of the color: it's gone once and for all.
Update tools/addToolVersion.sh:
  - handle debug facilities
  - commonalise some code
  - remove dead tools (cygwin, tcc)
Point to my address for bug reports.
2007-05-17 16:22:51 +00:00
Yann E. MORIN"
721da92158 Move the whole threading ;odel choice out of glibc and into the generic C library options: even uClibc may have NPTL at one point in the (hopefully near) future.
Mark the progress bar as being CPU-intensive.
Little style fix to the core C compiler build step.
2007-05-14 19:59:41 +00:00
Yann E. MORIN"
ae66018803 Quiet some messages from the configurators. We don't need them. 2007-05-14 19:28:14 +00:00
Yann E. MORIN"
9ce8af9fa5 Oupsss... Didn't save scripts/crosstool.sh prior to comiting. :-( 2007-05-13 21:12:56 +00:00
Yann E. MORIN"
9d8cb8679b update the documentation somewhat. Still not complete, though... :-( 2007-05-13 21:11:54 +00:00