Commit Graph

4972 Commits (master)
 

Author SHA1 Message Date
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>
16 years ago
Yann E. MORIN" 0c28252021 Add two new versions to binutils. 16 years ago
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.
16 years ago
Yann E. MORIN" 960cc07322 Port the custom ISA patch to uClibc-0.9.29 16 years ago
Yann E. MORIN" a7ccd113ff Only prompt for libfloat for those target that support it. 16 years ago
Yann E. MORIN" fee99394cd Fix warning about setting --host and not --build. 16 years ago
Yann E. MORIN" 6f797c35f0 Upgrade scripts/tarball.sh and scripts/saveSample.sh to use the new logging facility. 16 years ago
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.
16 years ago
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.
16 years ago
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.
16 years ago
Yann E. MORIN" 5d2b862edc Forgot to svn add... 16 years ago
Yann E. MORIN" 1f9c0c4fdb Add gcc-4.2.0 (EXPERIMENTAL) and some patches vampirised from buildroot (302 rediffed against 4.2.0). 16 years ago
Yann E. MORIN" f384c530ad Fix adding versions for the core C compiler. 16 years ago
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.
16 years ago
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.
16 years ago
Yann E. MORIN" 266d2ec7e5 Remove an incorrect path from uClibc-0.9.29: we _do_ need a xgcc to buld this header! 16 years ago
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).
16 years ago
Yann E. MORIN" db2d59f091 Little fix up in a message during the dmalloc build. 16 years ago
Yann E. MORIN" 5e43e3ea86 Add dmalloc debug library facility.
Add patches for dmalloc.
Ignore the generated config/debug.in
16 years ago
Yann E. MORIN" a5a431f851 Really use local copy first in case it does not have the same extension as the downloadable tarball. 16 years ago
Yann E. MORIN" 4f4aa3cfb5 Remove even more documentation. 16 years ago
Yann E. MORIN" 63a75e1743 Reverting to uClibc-0.9.28.3, as 0.9.29 spawns incorrect bits/sysnum.h (needs a xgcc first!). 16 years ago
Yann E. MORIN" 5f73b5a1e6 Bah, forgot to ci CREDITS... 16 years ago
Yann E. MORIN" c505dd569f Patches for glibc-2.5, courtesy of "Robert P. J. Day" <rpjday@mindspring.com> 16 years ago
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.
16 years ago
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.
16 years ago
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.
16 years ago
Yann E. MORIN" ae66018803 Quiet some messages from the configurators. We don't need them. 16 years ago
Yann E. MORIN" 9ce8af9fa5 Oupsss... Didn't save scripts/crosstool.sh prior to comiting. :-( 16 years ago
Yann E. MORIN" 9d8cb8679b update the documentation somewhat. Still not complete, though... :-( 16 years ago
Yann E. MORIN" 4ef6286f11 Remove dead entries for components not yet integrated: cygwin kernel, tcc...
Some fixups in config entries, to avoid warnings when parsed by the kconfig parser.
16 years ago
Yann E. MORIN" a47bd2d00e Update version to -svn. 16 years ago
Yann E. MORIN" 1f2afa54fb Mark version 0.0.2. 16 years ago
Yann E. MORIN" 7ed70a0028 Correctly handle the version string, defined in a single place now.
Fix and update README.
16 years ago
Yann E. MORIN" ffabd44084 New make target to save the configured nad built!) toolchain. 16 years ago
Yann E. MORIN" 31cde52144 Like tweak to the armeb-xscale-linux-uclibc sample to not renice the build. 16 years ago
Yann E. MORIN" a845d72881 Update the way we handle directories supplied by the user:
- the tarball directory is considered as a local copy, and tarballs are copied to a working area,
 - the sources and build directories (CT_SRC_DIR and CT_BUILD_DIR) are now computed, and no longer an option,
 - the build dir has been renamed from 'build' to 'targets'.
That should ease preparing a tarball of the resulting target.
16 years ago
Yann E. MORIN" c828dadf4b Clean the sample saving script. 16 years ago
Yann E. MORIN" d4bbd9ff11 libfloat is a component by itself, not a sup-part of the C library. 16 years ago
Yann E. MORIN" 56b73046a4 Again, some progress bar optimisation. 16 years ago
Yann E. MORIN" 823a283d19 Hop, a somewhat more efficient progress bar, less CPU consuming, if that was a problem :-)
(a litlle recreation while toochains are building...)
16 years ago
Yann E. MORIN" 9bed636293 Beautify the progress bar. 16 years ago
Yann E. MORIN" 5b29e80130 Fix handling of downloader output: they are now correctly logged using the internal log facility. 16 years ago
Yann E. MORIN" 8a2b17ab5e Huge fixes to glibc build, so that we can build at least (and at last):
- use ports addon even when installing headers,
 - use optimisation (-O) when installing headers, to avoid unnecessary warnings (thanks Robert P. J. DAY for pointing this out!),
 - lowest kernel version to use is only X.Y.Z, not X.Y.Z.T,
 - a bit of preparations for NPTL (RSN I hope),
 - fix fixing the linker scripts (changing the backup file is kind of useless and stupid);

Shut uClibc finish step: there really is nothing to do;

Add a patch for glibc-2.3.6 weak aliases handling on some archs (ARM and ALPHA at least);

Did not catch the make errors: fixed the pattern matching in scripts/functions;

Introduce a new log level, ALL:
 - send components' build messages there,
 - DEBUG log level is destined only for crosstool-NG debug messages,
 - migrate sub-actions to use appropriate log levels;

Update the armeb-unknown-linux-gnu sample:
 - it builds!
 - uses gcc-4.0.4 and glibc-2.3.6,
 - updated to latest config options set.
16 years ago
Yann E. MORIN" 5856bb8c5e Inform that a component is already extracted. 16 years ago
Yann E. MORIN" b332ed5ab6 Print the elapsed time alongside with the progress bar, such as below:
[02:27] \
16 years ago
Yann E. MORIN" ea1ed9627e Cosmetics: newline at end of file, ports are now a separate option. 16 years ago
Yann E. MORIN" 1bfad917b6 Print the major components and their version when calling "make help". 16 years ago
Yann E. MORIN" 095dfdceab Bah. Be silent when there is nothing to do: glibc has no config (file) to check. 16 years ago
Yann E. MORIN" e292584a4d Remove the incomplete i686-unknown-linux-uclibc sample. 16 years ago