Yann E. MORIN"
8a6d956634
Offer an option to build a static cross-gdb.
...
/trunk/scripts/build/debug/gdb.sh | 9 9 0 0 +++++++++
/trunk/config/debug/gdb.in | 9 9 0 0 +++++++++
2 files changed, 18 insertions(+)
2008-04-27 10:25:02 +00:00
Yann E. MORIN"
301d9c8d57
Commit a long-standing eye-dcandy change in a log, that got lost in a vi crash...
...
scripts/build/tools/sstrip.sh | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2008-04-17 19:16:17 +00:00
Yann E. MORIN"
d257047760
Move improperly installed gcc libraries to the sysroot.
...
Remove a huge comment that itself says it should have been deleted ages ago.
2008-01-16 22:15:16 +00:00
Yann E. MORIN"
4850e20c26
Fix from Marco Fonseca <mfonseca@fortresstech.com> to use the newly-built, bootstrap cross-compiler when installing glibc headers.
2007-11-02 18:55:55 +00:00
Yann E. MORIN"
dd9e2b9602
ARM EABI is now working for little endian ARM targets.
...
Big endian is still missing, though...
2007-09-16 17:59:18 +00:00
Yann E. MORIN"
398b1b8e69
When sstrip is already downloaded, link instead of copying (as for all other
...
components).
A little eye-candy fix.
2007-09-16 08:27:37 +00:00
Yann E. MORIN"
0b39dc5751
Revert multilib handling. Even if we don't do multilib, we need to at least
...
say we don't, and not let gcc choose on its own (which it does wrong).
2007-09-16 08:24:55 +00:00
Yann E. MORIN"
3f09a4d4c6
Further improve the architecture-specific framework.
...
Apply this framework into building of glibc and gcc.
(Whoo! 500th commit! Yeah!)
2007-09-15 21:44:18 +00:00
Yann E. MORIN"
60b0bb1bab
Migrate all supported architectures to use the architecture-specific framework.
2007-09-14 21:17:59 +00:00
Yann E. MORIN"
25fb1678c0
Fix setting floating point in uClibc (thanks to Szilveszter Ordog <ordog@mail.thot-soft.com>)
2007-09-14 16:02:45 +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"
ec13f54483
In some cases, dmalloc fails to build when building in parallel. Do not use -j# for dmalloc.
2007-09-06 08:57:45 +00:00
Yann E. MORIN"
9f3340951a
Bah, a really small cosmetic fix...
2007-09-02 16:01:30 +00:00
Yann E. MORIN"
c64da6b7d4
Print a log message when entering/leaving the two core compiler passes.
2007-09-02 09:26:57 +00:00
Yann E. MORIN"
46e19208cd
Warn when using -pipe with glibc>=2.6.
2007-08-15 14:35:11 +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"
ecd5005989
Don't use -pipe when building glibc>=2.6: ./configure chokes on it.
...
(This is because "gcc -pipe --help" doesn't print what it should print).
2007-08-12 15:19:45 +00:00
Yann E. MORIN"
1dc89fa058
A little cleanup in the glibc's pthread headers install.
2007-08-03 20:27:15 +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"
96ef489cb4
Tidy up a bit the uClibc config munging.
2007-07-28 11:59:37 +00:00
Yann E. MORIN"
752c190425
Fix installing a glibc header for those archs that are in ports.
2007-07-22 13:27:04 +00:00
Yann E. MORIN"
fc70acd6e7
Update the download messages for sstrip.c to the same mesages used in scripts/functions.
2007-07-17 21:55:15 +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"
d393b01cb1
Redirect the strace build messages to the logger!
2007-07-14 16:41:03 +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"
b405d20839
Use "$CT_CC}" instead of "gcc" when calling target compilers.
2007-07-12 13:22:26 +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"
429be50c73
Fix linking target-cc to target-gcc.
2007-07-12 08:46:50 +00:00
Yann E. MORIN"
a140410cfa
Fix a type in the debug and tools templates.
2007-07-11 21:01:37 +00:00
Yann E. MORIN"
c818d161bf
Change the target-cc link from soft to hard. This way, there's no soft link in this directory.
2007-07-11 14:51:38 +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"
8b99fa0955
More uClibc parrallel compilation cleanup.
2007-07-07 16:12:38 +00:00
Yann E. MORIN"
f6e904567f
Parrallel compilation is broken for uClibc (I don't know if any of my patches is doing it, or if mainline is already broken).
2007-07-07 16:11:17 +00:00
Yann E. MORIN"
674ee531e6
Silence "which" being verbose in some distros. (eg. Mandriva's which spawns "foobar was not found in /bin:/usr/bin:...." directly on stderr)
2007-07-07 09:58:14 +00:00
Yann E. MORIN"
1319b8882a
Before trying to download sstrip (from buildroot), try a local copy first.
2007-07-04 21:56: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"
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"
d8bc11b165
Fix printing components' file names.
2007-06-16 21:44:45 +00:00
Yann E. MORIN"
37cce18efa
Add a function to print each component's filename: this eases building the tarball of the generated toolchain.
...
Hard-link the libfloat tarball instead of soft-link: this also eases building the afore-mentioned tarball.
2007-06-16 18:08:14 +00:00
Yann E. MORIN"
c9c11c9768
Add two te;plates on how to add a new tool/debug facility.
2007-06-16 17:41:01 +00:00
Yann E. MORIN"
04882814af
Small eye-candy fix.
2007-06-04 17:35:14 +00:00
Yann E. MORIN"
53a759c552
scripts/build/libc_glibc.sh:
...
- clean up addons list creation,
- make NPTL work again with this.
2007-06-02 07:56:45 +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"
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"
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"
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"
fee99394cd
Fix warning about setting --host and not --build.
2007-05-22 20:36:05 +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"
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"
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"
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"
d4bbd9ff11
libfloat is a component by itself, not a sup-part of the C library.
2007-05-09 18:55: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"
095dfdceab
Bah. Be silent when there is nothing to do: glibc has no config (file) to check.
2007-05-08 10:52:39 +00:00
Yann E. MORIN"
8df61a2186
Don't make checking the kernel config file a step by itself. Only make it a step if we need a not-provided kernel config file.
2007-05-07 22:09:36 +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"
64d804c4f6
Fix glibc and uClibc downloading and extracting.
...
Although we no longer need the kernel config file, we now need to specify the kernel source directory when installing headers.
Re-order components downloading to match build order.
Fix the saveSample.sh script in case the referenced files are the same as the destination files.
2007-05-07 15:57:02 +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"
45e6df196b
Linux kernel headers install does not need the kernel to be configured. Dropping this unneccessary step.
2007-05-06 21:47:29 +00:00
Yann E. MORIN"
3aa41a1751
Some little cosmetics in final compiler.
2007-05-01 09:03:40 +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"
dfe9efd35f
Fixed a non-fatal bug in a sed expression.
...
Some cosmetics as well.
2007-04-23 21:03:49 +00:00
Yann E. MORIN"
c1efc08c09
Merge first shot from the MIPS branch.
2007-04-21 17:31:51 +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"
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"
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