Commit Graph

49 Commits

Author SHA1 Message Date
Yann E. MORIN"
72be420406 Fix extracting the configuration from a build log.
/trunk/tools/extract-config.sh |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-08-25 21:41:52 +00:00
Yann E. MORIN"
ab682b5e47 Simplify populate: no need to be too smart.
If someone is playing us tricks, let him/her be beaten back.
Chances are he/she knows what happens when he/she finds out it does not work any more!

 /trunk/tools/populate.in |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-08-07 22:34:32 +00:00
Yann E. MORIN"
87f4c2c63b Add a new tool to renumber a patch directory.
Eases maintenance when old patches are removed, or new patches added.

 /trunk/tools/patch-renumber.sh |   32    32     0     0 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
2008-08-04 12:09:54 +00:00
Yann E. MORIN"
379ea09dba Michael ABBOTT reported that populate is not relocatable.
Fix this by determining both the cross-readelf and the sys-root at runtime, not at build time.

 /trunk/configure            |    1     1     0     0 +
 /trunk/scripts/crosstool.sh |   14     6     8     0 ++++++--------
 /trunk/tools/populate.in    |    6     4     2     0 ++++--
 3 files changed, 11 insertions(+), 10 deletions(-)
2008-08-04 08:44:54 +00:00
Yann E. MORIN"
159635c7d6 It's been a long time that the gcc libraries are all installed in the sys-root.
Thus populate does not need to look above to find the libraries.

 /trunk/tools/populate.in |    9     3     6     0 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)
2008-07-19 12:25:46 +00:00
Yann E. MORIN"
cec69cf1c1 Update config.sub.
/trunk/tools/config.sub |    8     6     2     0 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
2008-06-20 12:02:25 +00:00
Yann E. MORIN"
699b5723cc addToolVersion.sh: remove debug code.
/trunk/tools/addToolVersion.sh |    2     0     2     0 --
 1 file changed, 2 deletions(-)
2008-06-09 16:36:40 +00:00
Yann E. MORIN"
eab041d31a Fix addToolVersion.sh after breakage with support for gcc-4.3 (stupid anyway...).
/trunk/tools/addToolVersion.sh |   18    10     8     0 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)
2008-06-09 16:35:21 +00:00
Yann E. MORIN"
929c368541 Add support for the up-coming gcc-4.3.
Two new config options: pkgversion and bugurl.

 /trunk/scripts/build/cc_gcc.sh |    4     3     1     0 +++-
 /trunk/tools/addToolVersion.sh |   20    16     4     0 ++++++++++++++++----
 /trunk/config/cc/gcc.in        |   24    24     0     0 ++++++++++++++++++++++++
 3 files changed, 43 insertions(+), 5 deletions(-)
2008-06-09 16:14:23 +00:00
Yann E. MORIN"
0c4633c37f Get rid of all command (which is a bashism), and replace them with $(command), which is POSIX.
Get rid of all remaining \"text\" in log messages and replace them with 'text'.
Optimise the progress bar, should go un-noticed at log level DEBUG and below.

 /trunk/scripts/build/tools/200-sstrip.sh  |   16     8     8     0 ++--
 /trunk/scripts/build/libc_glibc.sh        |   50    25    25     0 +++++++-------
 /trunk/scripts/build/libc_uClibc.sh       |    4     2     2     0
 /trunk/scripts/build/debug/100-dmalloc.sh |    2     1     1     0
 /trunk/scripts/build/debug/400-ltrace.sh  |    2     1     1     0
 /trunk/scripts/build/debug/300-gdb.sh     |    8     4     4     0 +-
 /trunk/scripts/build/debug/200-duma.sh    |    6     3     3     0 +-
 /trunk/scripts/build/kernel_linux.sh      |   30    15    15     0 ++++----
 /trunk/scripts/build/cc_gcc.sh            |   14     7     7     0 ++--
 /trunk/scripts/crosstool.sh               |   54    27    27     0 ++++++++--------
 /trunk/scripts/functions                  |  128    64    64     0 ++++++++++++++++++------------------
 /trunk/scripts/saveSample.sh              |    4     2     2     0
 /trunk/scripts/tarball.sh.broken          |   20    10    10     0 +++---
 /trunk/tools/addToolVersion.sh            |    8     4     4     0 +-
 /trunk/tools/populate.in                  |   18     9     9     0 ++--
 15 files changed, 182 insertions(+), 182 deletions(-)
2008-05-20 21:32:39 +00:00
Yann E. MORIN"
f89415dd83 Update tools/config.{guess,sub}.
/trunk/tools/config.guess |   38    24    14     0 ++++++++++++++++++++-----------
 /trunk/tools/config.sub   |   65    54    11     0 ++++++++++++++++++++++++++++++++++++++++++++---------
 2 files changed, 78 insertions(+), 25 deletions(-)
2008-05-08 15:37:21 +00:00
Yann E. MORIN"
15e06b96ef Update the URLs where to retrieve config.guess and config.sub from.
/trunk/tools/tools.mk |    4     2     2     0 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2008-05-08 15:36:51 +00:00
Yann E. MORIN"
bf3d5df0ff Eye-candy in the addToolVersion.sh script.
/trunk/tools/addToolVersion.sh |    2     1     1     0 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
2008-05-02 17:49:29 +00:00
Yann E. MORIN"
86c54d8079 Merge the fortran stuff to trunk now it works!
Fortran is not supported for all targets, though. ARM at least does not work.

 /trunk/scripts/build/binutils.sh |    8     8     0     0 ++++++++
 /trunk/scripts/build/cc_gcc.sh   |   11     6     5     0 ++++++-----
 /trunk/scripts/crosstool.sh      |   10     9     1     0 +++++++++-
 /trunk/tools/addToolVersion.sh   |    3     3     0     0 +++
 /trunk/steps.mk                  |    2     2     0     0 ++
 /trunk/config/cc/gcc.in          |   16    16     0     0 ++++++++++++++++
 6 files changed, 44 insertions(+), 6 deletions(-)
2008-04-30 10:43:41 +00:00
Yann E. MORIN"
2237fab536 Moving around the files in config/ broke the tools/addToolVersion.sh script.
Fix that.

 /trunk/tools/addToolVersion.sh |   26    13    13     0 +++++++++++++-------------
 /trunk/config/kernel/linux.in  |    6     3     3     0 +++---
 /trunk/config/kernel.in        |    2     1     1     0 +-
 /trunk/config/cc.in            |    2     1     1     0 +-
 /trunk/config/libc.in          |    4     2     2     0 ++--
 5 files changed, 20 insertions(+), 20 deletions(-)
2008-04-17 21:04:23 +00:00
Yann E. MORIN"
8796440ca6 Argh! Kill latest (hopefuly) remnants of core/final gcc versions. 2008-02-14 22:34:19 +00:00
Yann E. MORIN"
2fe3a9dbbb Don't use /bin/sh for crosstool-NG build scripts, we want /bin/bash!
Don't hardcode ncurses include and link flags.
2007-09-12 17:35:07 +00:00
Yann E. MORIN"
54cca9f2ba Add the possibility to force the number of // jobs without reconfiguring. 2007-08-15 14:59:37 +00:00
Yann E. MORIN"
25f164c32f When adding a new experimental/obsolete version, mark it as so in the prompt. 2007-08-11 10:55:38 +00:00
Yann E. MORIN"
feb0328d7a Make use of setsid to spawn removal processes: we don't want the rm's to stop if the main script fails and ends before all directories were removed. 2007-08-07 18:05:41 +00:00
Yann E. MORIN"
72caaf7717 Revert previous spurious commit. 2007-08-07 17:08:13 +00:00
Yann E. MORIN"
f1741dc507 Fix the Makefile.in to correctly remove generated documentation. 2007-08-07 17:07:39 +00:00
Yann E. MORIN"
4d90f28bf9 Update tools/config.guess. 2007-07-27 11:45:13 +00:00
Yann E. MORIN"
d5db172ef4 Revisit the extract-config way of working: ct-ng is the sole entry point to crosstool-NG, and ct-ng.extrac-config no longer exists. You now have to call "ct-ng extractconfig </path/to/your/build.log" instead. 2007-07-17 21:44:33 +00:00
Yann E. MORIN"
e9916d58e9 Rename all Makefiles used by ct-ng into (something).mk, to avoid confusion. 2007-07-15 09:09:04 +00:00
Yann E. MORIN"
9311633718 Sanitise populate a little bit. 2007-07-14 21:21:55 +00:00
Yann E. MORIN"
17a0a9be24 Re-order help entries in populate. 2007-07-14 20:43:51 +00:00
Yann E. MORIN"
12b3a44a1c Upgrade populate.in:
- systematically make paths absolute,
 - somewhat beautify the help ;essage,
 - explain why ../ is to be seatrched for.
2007-07-14 13:09:17 +00:00
Yann E. MORIN"
4fb49d3215 Update config.sub. 2007-07-14 10:25:16 +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"
28f92e8b09 Add strace debugging aid. 2007-07-12 13:34:56 +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"
ede3c76fc2 Fix the install procedure:
- remove useless script tools/addToolVersion.sh: it is not needed when running crosstool-NG, only for developpers,
 - create a symlink to the configuration extract script, so that it is in the PATH if ct-ng is.
2007-07-08 22:28:47 +00:00
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"
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"
253edb125b Rework the help system. For now, this is mostly a no-op (it only re-organise the help entries), but later, that may come in handy when we want ct-ng to be installable). 2007-06-17 16:24:23 +00:00
Yann E. MORIN"
2e4a36d95c Update tools/config.guess. 2007-05-27 21:15:46 +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"
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"
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"
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"
115d2cbd07 Update tools/config.sub to latest from gnu.org 2007-05-01 16:15:32 +00:00
Yann E. MORIN"
c1efc08c09 Merge first shot from the MIPS branch. 2007-04-21 17:31:51 +00:00
Yann E. MORIN"
ab7e22eb20 When adding a new tool version, allow it to be EXPERIMENTAL. 2007-04-18 17:32:55 +00:00
Yann E. MORIN"
0e479dbc93 Update config.guess.
Minor comment fix.
2007-04-10 14:55:15 +00:00
Yann E. MORIN"
19e8f6a15a Auto-detect Darwin (MacOS-X) and disable libintl for during build for this platform.
A bit of help tweaking.
2007-03-12 18:59:31 +00:00
Yann E. MORIN"
8456b5fdb9 Add sanity checks. 2007-03-04 20:12:18 +00:00
Yann E. MORIN"
1906cf93f8 Add the full crosstool-NG sources to the new repository of its own.
You might just say: 'Yeah! crosstool-NG's got its own repo!".
Unfortunately, that's because the previous repo got damaged beyond repair and I had no backup.
That means I'm putting backups in place in the afternoon.
That also means we've lost history... :-(
2007-02-24 11:00:05 +00:00