Commit Graph

1359 Commits

Author SHA1 Message Date
Yann E. MORIN"
0b89b1a938 Allow using an HTTP proxy to tunnel FTP and HTTP requests.
scripts/crosstool.sh |   14    14     0     0 +++++++++++++
 config/global.in     |   54    54     0     0 +++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 68 insertions(+)
2008-04-13 22:46:02 +00:00
Yann E. MORIN"
7b962f013b Robert P. J. DAY says:
Add support for duma-2.5.12.
2008-02-15 22:22:31 +00:00
Yann E. MORIN"
eb0ad87b2a Robert P. J. DAY says:
Add support for the selection of strace-4.5.16, including an updated
set of patches from strace-4.5.15.
2008-02-15 21:18:10 +00:00
Yann E. MORIN"
94b68d94dc Add EXPERIMENTAL binutils 2.18.50.x.y versions. 2008-02-15 21:07:30 +00:00
Yann E. MORIN"
0d4e7717b1 Update the list of kernel versions. 2008-02-15 21:05:49 +00:00
Yann E. MORIN"
07fa611771 Robet P. J. DAY: typoes. 2008-02-14 22:44:34 +00:00
Yann E. MORIN"
f363a4c3d5 Add latest gcc-4.2.3 as EXPERIMENTAL (no build attempted at all).
Thanks Robert P. J. DAY for reminding me to tag old versions as being OBSOLETE! ;-)
2008-02-14 22:43:49 +00:00
Yann E. MORIN"
27a35f6d84 Add latest kernel versions (Robert P. J. DAY). 2008-02-14 22:42:37 +00:00
Yann E. MORIN"
7a5dafbdc8 Merge the preliminary Super-H support from /branches/Super-H. 2008-01-16 22:06:15 +00:00
Yann E. MORIN"
33f66b807d Add EXPERIMENTAL glibc-2.7. 2007-10-30 19:18:45 +00:00
Yann E. MORIN"
66fc264900 Add EXPERIMENTAL gcc-4.2.2. 2007-10-30 19:18:11 +00:00
Yann E. MORIN"
e86ddb6bbc Add linux 2.6.22.10, 2.6.23 and 2.6.23.1. 2007-10-30 19:17:06 +00:00
Yann E. MORIN"
ff9c9cf141 Add linux-2.6.22.{8,9}. 2007-09-29 16:43:13 +00:00
Yann E. MORIN"
b1e693e402 Renamed all patches file names so that locales are now irrelevant to sort the files.
Removed the locale check as it is now irrelevant.
Removed the experimental binutils 2.17.50.0.xx: 2.18 is here now.
2007-09-23 17:08:09 +00:00
Yann E. MORIN"
3ad6464ffe Add linux-2.6.22.7 for kernel headers. 2007-09-22 17:25:42 +00:00
Yann E. MORIN"
af2e42b572 Fix using --local. 2007-09-16 17:57:21 +00:00
Yann E. MORIN"
f4bfb6a0ae Small eye-candy fix. 2007-09-14 21:30:22 +00:00
Yann E. MORIN"
7b70a704e0 Add the framework to have architecture-specific configuration and functions.
API is not yet defined.
2007-09-14 17:43:16 +00:00
Yann E. MORIN"
d409c9fd1a Merge from branches/ia64@476 : add ia64 preliminary support. 2007-09-11 17:24:09 +00:00
Yann E. MORIN"
011e23d094 Add D.U.M.A. 2_5_8 and associated patches.
Fix a patch for D.U.M.A 2_5_1.
Add libelf 0.8.10, still does not build... :-(
2007-09-07 21:31:01 +00:00
Yann E. MORIN"
c77336fb3d ARM defaults to LE, MIPS to BE. Reflect this in the target configuration options. 2007-09-06 14:00:28 +00:00
Yann E. MORIN"
2863a69944 Add linux-2.6.22.6 for the kernel headers. 2007-09-02 09:24:15 +00:00
Yann E. MORIN"
55aceff1be Unmark glibc-2.6{,.1} as being EXPERIMENTAL: they are no longer considered as such. 2007-09-02 09:23:55 +00:00
Yann E. MORIN"
49c5a210bf For those architectures that support both endianness, some default to big endian, others default to little endian.
Make this possible in the target selection menu.
2007-08-30 19:49:21 +00:00
Yann E. MORIN"
271190fa1e Apply some scosmetic changes, courtesy Al Stone <ahs3@ahs3.net>. 2007-08-30 19:22:15 +00:00
Yann E. MORIN"
9abfe13620 Add linux-2.6.22.{4,5} 2007-08-29 16:46:23 +00:00
Yann E. MORIN"
d0148e3ca2 Add binutils-2.18. 2007-08-29 16:44:40 +00:00
Yann E. MORIN"
e364b7acd6 Add linux-2.6.22.3 for kernel headers isntall. 2007-08-15 20:57:19 +00:00
Yann E. MORIN"
09f0dcc66f Change "triplet" (target triplet) to "tuple". That sounds better!
Document overriding the number of // jobs.
Some small documentation fixes.
2007-08-15 16:18:35 +00:00
Yann E. MORIN"
e58af8f79e Get rid of the core cc selection. It is now the same as the final compiler. 2007-08-15 10:14:43 +00:00
Yann E. MORIN"
6c368af5b4 Do a clean-up pass on the OBSOLETE features (versions):
- remove legions of those,
 - remove associated patches no longer needed,
 - mark then as (OBSOLETE) in the prompt;
2007-08-14 20:11:44 +00:00
Yann E. MORIN"
ab0fc7eab4 Totally comment-out the multilib option: it's not implemented, and not really implementable with the current crosstool-NG scheme. 2007-08-14 19:32:22 +00:00
Yann E. MORIN"
0a0d8d6ba8 Add experimental binutils-2.17.50.0.18, along with patches from previous snapshot. 2007-08-12 08:05:57 +00:00
Yann E. MORIN"
ce48ea4aef Add linux-2.6.22.2 for headers. 2007-08-11 14:59:36 +00:00
Yann E. MORIN"
06153223e2 Add glibc: 2.5.1 - 2.6 - 2.6.1.
Apply the same patches as glibc 2.5: they apply without any problem (except for ridiculously small offsets).
2007-08-11 10:57:18 +00:00
Yann E. MORIN"
ab8763bedd Introduce new config option: CT_TARGET_ALIAS_SED_EXPR
This option is used as a sed expression to pass onto CT_TARGET to create an alias.
2007-08-07 19:40:38 +00:00
Yann E. MORIN"
7131764f9c Remove any reference to libfloat. That has gone once and for all.
Rationale:
Most of the time, soft-float problems are caused by this sucker of gcc:
it has support for soft float for all of the targets I've tried so far,
but does not activate this code until you dwelve into half a dozen of
files to make it accept to build and link the support code...

So, yes: gcc has soft-float support. And again, yes: gcc is a sucker.
2007-07-30 20:02:13 +00:00
Yann E. MORIN"
af1ecbd4f3 Add gcc-4.2.1. 2007-07-29 19:15:27 +00:00
Yann E. MORIN"
9ecf1b7cd8 Mark D.U.M.A 2_5_2 and 2_5_3 as being broken: they don't even build on any of my sample toolchain... :-( 2007-07-24 21:45:46 +00:00
Yann E. MORIN"
b984db5ffc Clean the help entry for CT_ARCH_CPU. 2007-07-22 16:32:24 +00:00
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
Yann E. MORIN"
3da40a23b7 Add linux 2.6.21 and 2.6.21.1 for headers_install. 2007-05-01 09:09:30 +00:00
Yann E. MORIN"
4902ad7b07 The linux kernel config file is now optional. If none is given, a default one is created using the default target for the given architecture. 2007-04-23 21:06:09 +00:00
Yann E. MORIN"
7779137ba8 Second shot at merging from the MIPS branch:
- log level boost for warnings and errors
- option re-ordering
- help updating
2007-04-23 20:30:34 +00:00
Yann E. MORIN"
c1efc08c09 Merge first shot from the MIPS branch. 2007-04-21 17:31:51 +00:00
Yann E. MORIN"
5b96251953 Add the EXPERIMENTAL option to show options marked as such.
Add the four types of toolchains ct-ng is able to build as EXPERIMENTAL, except for CROSS which *is* functional.
Reorder menus accordingly.
2007-04-17 22:24:42 +00:00
Yann E. MORIN"
5fbbd29ee6 Add headers_install for 2.6.20.7. 2007-04-15 16:35:14 +00:00
Yann E. MORIN"
f1143ea8e9 Add an option for those having the kernel headers pre-installed from a customised local tree.
In that case, neither download, nor extract, nor patch.
2007-04-11 21:26:03 +00:00
Yann E. MORIN"
391eb7976d Don't prompt for endianness not suppoted by selected architecture.
Change suggested by Robert P. J. DAY <rpjday@mindspring.com>.
2007-04-11 17:51:31 +00:00
Yann E. MORIN"
5f1a6f35e0 Change suggested by Robert P. J. DAY <rpjday@mindspring.com> to rename the "Kernel to use" prompt with "Target OS". 2007-04-11 17:43:38 +00:00
Yann E. MORIN"
67e0229331 Use ${CT_TOP_DIR}/build as a base for build directories (used in default values for paths).
Remove this directory on distclean (hard-coded).
Mark the version to be 0.0.1-svn (no release yet).
2007-04-10 16:17:39 +00:00
Yann E. MORIN"
b426a71b53 Add 2.6.20.5 and 2.6.20.6 linux kernel versions. 2007-04-10 15:04:33 +00:00
Yann E. MORIN"
a57d858149 Add new kernel versions (2.6.20.{2,3,4}) and binutils versions (2.17.50.0.1{1,2,3,4}).
Fix typo in comment: qbove -> above.
2007-03-31 19:45:25 +00:00
Yann E. MORIN"
aaea34768c Patch from Enrico WEIGELT <weigelt@metux.de> to disable __cxa_atexit for those C libraries with no support (old uClibc). 2007-03-21 21:03:22 +00:00
Yann E. MORIN"
a4a2447346 Fix C library addons/locales downloading.
Prepare for using the ports addon easily.
2007-03-10 14:46:35 +00:00
Yann E. MORIN"
dcdd2844e4 Add an option to remove the generated documentation.
(After an idea from Enrico Weigelt <weigelt@metux.de>).
2007-03-07 19:00:10 +00:00
Yann E. MORIN"
1772045f66 Add gcc-4.1.2 and update associated patches. 2007-03-04 22:56:04 +00:00
Yann E. MORIN"
8045d5becf Add linux-2.6.20.1. as a choice for linux kernel headers. 2007-03-04 19:07:46 +00:00
Yann E. MORIN"
b0ef040473 Argh! again. I also forgot to commit the config file enabling uClibc-0.9.28.3... :-( 2007-03-04 12:35:04 +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