Commit Graph

69 Commits

Author SHA1 Message Date
Yann E. MORIN"
143e1b0e98 Add D.U.M.A. 2.5.2 and 2.5.3. 2007-07-21 10:15:13 +00:00
Yann E. MORIN"
d995e22025 Add an option to save downloaded tarballs to local tarballs directory.
Sanitise CT_GetFile.
Change some messages (Copying -> Retrieving).
2007-07-15 17:00:30 +00:00
Yann E. MORIN"
51212ec0eb Really unmark gcc-4.2.0 as being EXPERIMENTAL. 2007-07-15 16:32:14 +00:00
Yann E. MORIN"
1a300453d6 Unmark gcc-4.2.0 as being EXPERIMENTAL. 2007-07-15 09:43:36 +00:00
Yann E. MORIN"
f5a4f2ca64 DEfault log level to CT_LOG_DEBUG if CT_DEBUG_CT is set, and to CT_LOG_INFO if not. 2007-07-14 13:06:56 +00:00
Yann E. MORIN"
239c3d41ff Mark some linux versions as obsolete.
Add missing dot relewases.
2007-07-13 14:45:48 +00:00
Yann E. MORIN"
1b324cc69e Mark binutils-2.6.17.* as being EXPERIMENTAL versions. 2007-07-13 14:26:45 +00:00
Yann E. MORIN"
e4a493abc9 Add ltrace (and libelf) utilities.
Marked as BROKEN for others to debug that if they need it.
2007-07-13 12:22:34 +00:00
Yann E. MORIN"
c6025fb66a Introduce a BROKEN option (depends on EXPERIMENTAL) to hide/see broken stuff for debugging sessions!
Re-order: OBSOLETE goes before EXPERIMENTAL.
2007-07-13 12:15:53 +00:00
Yann E. MORIN"
28f92e8b09 Add strace debugging aid. 2007-07-12 13:34:56 +00:00
Yann E. MORIN"
9e90a9a9e2 Unmark D.U.M.A. as being EXPERIMENTAL. 2007-07-12 13:23:21 +00:00
Yann E. MORIN"
21842b5910 Add D.U.M.A., the Electric Fence successor. 2007-07-12 08:47:15 +00:00
Yann E. MORIN"
cf186a25e4 Add linux-2.6.22. 2007-07-09 16:34:44 +00:00
Yann E. MORIN"
7e40126cb9 Add (EXPERIMENTAL) in prompts of those options that depend on EXPERIMENTAL. 2007-07-08 22:22:18 +00:00
Yann E. MORIN"
e4491e87ad Add linux-2.6.21.6 kernel. 2007-07-08 11:02:38 +00:00
Yann E. MORIN"
96456d1abb Add binutils-2.17.50.0.17. 2007-07-03 22:28: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"
e1e7d871b2 Default the progress bar to 'Y'. 2007-06-17 13:02:21 +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"
b9c70956c3 dd the two latest versions of the linux kernel. 2007-06-16 17:56:17 +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"
abe0c8ba39 Threading model does not belong to the target sub-menu, but to the toolchain sub-menu. 2007-05-29 19:30:38 +00:00
Yann E. MORIN"
cd28386d9c Fix comment about glibc's extra addons config option. 2007-05-28 21:32:43 +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"
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"
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"
a7ccd113ff Only prompt for libfloat for those target that support it. 2007-05-22 20:36:44 +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"
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"
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"
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"
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"
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"
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.
2007-05-13 21:11:27 +00:00
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.
2007-05-10 21:33:35 +00:00
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.
2007-05-08 17:48:32 +00:00
Yann E. MORIN"
ea1ed9627e Cosmetics: newline at end of file, ports are now a separate option. 2007-05-08 12:12:40 +00:00
Yann E. MORIN"
13e8e5c773 Simplify kernel config file need.
Don't build a default config file when not needed.
2007-05-07 21:45:31 +00:00
Yann E. MORIN"
58b4c6d0a4 Merge the save-sample branch to trunk:
- reorder most of the environment setup,
 - geting, extracting and patching are now components' sub-actions,
 - save the current config as a sample to be used as a pre-configured target.
2007-05-07 09:04:02 +00:00
Yann E. MORIN"
96d28dc7d3 Introduce an OBSOLETE config option, to mask-out legacy stuff. 2007-05-06 13:42:10 +00:00
Yann E. MORIN"
0325315ce7 Add uClibc-0.9.29 now it's out, and remove the 0.9.29-rc1. 2007-05-06 11:55:09 +00:00
Yann E. MORIN"
fced8e4583 Add uClibc-0.9.29_rc1. 2007-05-01 09:10:31 +00:00