Yann E. MORIN"
6f5d910d1f
libc/uClibc: use the MIPS ABI selection
...
Use the MIPS ABI selection to properly munge the uClibc config file.
This has the side effect to force the ISA:
- n32 ABI -> MIPS-III ISA
- n64 ABI -> MIPS64 ISA
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-09-12 22:15:12 +02:00
Yann E. MORIN"
b92668a211
arch/mips: add option for MIPS ABIs
...
This adds selection for one of the o32, n32 and n64 ABIs.
Later, we can easily use those boolean options, rather than
relying on a user-supplied string option.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-09-12 22:14:04 +02:00
Yann E. MORIN"
dae205737f
scripts/internal: cleanup build symlinks
...
The symlinks are needed only during the build process.
The final gcc will still search those dirs, but will also search
the standard lib/ dirs, so we can get rid of the symlinks.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-09-11 17:55:54 +02:00
Yann E. MORIN"
ab9b5d109e
scripts: hack-in lib32->lib symlinks
...
Some archs (eg. ppc64 with n32 ABI) will install their
variants in lib32/ instead of lib/, so do for lib32 as
we do for lib64->lib symlinks.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-09-10 12:14:24 +02:00
Yann E. MORIN"
3fcdd28e04
libc/uClibc: change munging code based on target arch
...
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-09-10 13:23:58 +02:00
Yann E. MORIN"
0622671d26
debug/gdb: use libexpat
...
gdb can use libexpat to parse target memory descriptions,
among other things. See:
http://sourceware.org/ml/crossgcc/2010-08/msg00168.html
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-08-23 10:47:00 +02:00
Yann E. MORIN"
7a70e935c6
debug/gdb: install dependable libs in a generic target static libs dir
...
For now, ncurses is the only dependable target library built for gdb.
But expat is coming, and there's no reason to install each library in
its own place.
So, install ncurses in a generic directory, where other dependable
libraries can be installed as well.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-08-23 14:32:16 +02:00
Yann E. MORIN"
1504a1ef10
complibs: noone is using companion libs on the target; nuke them
...
As there's no longer any user of the companion libraries on the
target, nuke the build for the target.
Well, at least, there's libelf that's still needed by ltrace, so
we keep it.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-08-23 23:18:49 +02:00
Yann E. MORIN"
e81fe2c778
debug/gdb: companion libs are not used
...
Although the gdb ./configure advertises for GMP and MPFR, those libraries
are not used by gdb (the ./configure is used across different packages,
hence the check for GMP/MPFR). See:
http://sourceware.org/ml/crossgcc/2010-08/msg00168.html
The same applies to MPC.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-08-23 10:38:15 +02:00
Yann E. MORIN"
9736a99ee9
binutils/binutils: companion libraries are not used
...
GNU binutils does not use the companion libraries, although
./configure advertises switches for them. This is because the
configure file is shared between different packages, and is
a bit 'lax' about what it checks. See:
http://sourceware.org/ml/crossgcc/2010-08/msg00160.html
http://sourceware.org/ml/crossgcc/2010-08/msg00161.html
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-08-23 20:21:43 +02:00
Yann E. MORIN"
ae715a0a3c
scripts/log: do not interpret log string as printf format
...
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-08-26 23:36:54 +02:00
Titus von Boxberg
f6634c28cc
internals: call strip in a portable way
...
strip on CT_HOST darwin does not want --strip-all or -v
2010-08-21 16:45:50 +02:00
Yann E. MORIN"
d53f1d71f6
libc/mingw: fix space-damage
...
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-08-17 23:50:03 +02:00
Esben Haabendal
150789c22b
mingw32: enable sysrooted toolchains
...
When targeting mingw32, gcc expects to find its include files
in "mingw/include" instead of the traditional "usr/include".
[Yann E. MORIN: split the original patch]
2010-08-15 00:00:51 +02:00
Esben Haabendal
386b4fed76
libc/mingw: use pre-set headers dir
...
There is a variable that contains the headers directory,
so there's no need to re-compute it again.
[Yann E. MORIN: split the original patch]
2010-08-14 23:21:06 +02:00
Esben Haabendal
1c81b216c8
kernel/mingw32: use pre-set headers dir
...
There is a variable that contains the headers directory,
so there's no need to re-compute it again.
[Yann E. MORIN: split the original patch]
2010-08-14 23:14:27 +02:00
Yann E. MORIN"
2e7698ed02
libc/uClibc: fix downloading pregen locales
...
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-08-11 20:05:05 +02:00
Yann E. MORIN"
e8f9aeade3
scripts: in case of failed download, remove partial files
...
It happens from time to time that the server mis-behaves, and breaks the
connection right in the middle of nowhere, for no good reason, leaving us
with a partial file, on which the extract pass would choke.
Remove partial downloads, to fail early.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-08-11 20:07:18 +02:00
Yann E. MORIN"
63235bd89c
scripts: when downloading, use aria2 only when //
...
Even when // downloads are not enabled, aria2 can
fail on some servers (eg. uclibc.org).
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-08-11 19:13:10 +02:00
Yann E. MORIN"
ebaebdacf4
scripts: better sanitise the patch names
...
When generating the fixes-patches, better sanitise the generated
file names, as it seems to raise a few issues for some people.
2010-08-10 13:25:52 +02:00
Yann E. MORIN"
46d72f5450
complibs/cloog: with static ppl, correctly link with libm
...
On some Fedora boxen (at least FC13), it is also required
to link with libm when static ppl is used.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-08-06 00:00:26 +02:00
Darcy Watkins
f30a7df9c9
cc/gcc: with static ppl, correctly link with libm
...
On some Fedora boxen (at least FC13), it is also required
to link with libm when static ppl is used.
2010-08-05 18:19:07 +02:00
Remy Bohmer
b1ac0964f4
scripts: add option to strip all toolchain executables
...
To reduce filesizes of the toolchain and even improve build times
of projects to be build with this toolchain it is usefull to strip
the delivered toolchain executables. Since it is not likely that we
will debug the toolchain executables itself we do not need the
debug information inside the executables itself.
Signed-off-by: Remy Bohmer <linux@bohmer.net>
2010-05-27 23:18:19 +02:00
Johannes Stezenbach
6d084fb565
Fix CT_SanitizePath
...
Replace the over-engineered and buggy test in CT_SanitizePath
with a straight forward string pattern match, and also
handle empty PATH elements which are qeuivalent to ".".
Thanks-To: Arnaud Lacombe <lacombar@gmail.com>
Signed-off-by: Johannes Stezenbach <js@sig21.net>
2010-07-30 17:50:34 +02:00
Johannes Stezenbach
143f02e0ce
cc/gcc: add option to compile against static libstdc++, for gcc-4.4 and newer
...
Idea and know-how taken from CodeSourcery build script.
Normal build:
$ ldd arm-unknown-linux-uclibcgnueabi-gcc
linux-gate.so.1 => (0xb77f3000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb76e8000)
libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb75a1000)
libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb757a000)
/lib/ld-linux.so.2 (0xb77f4000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb755c000)
CC_STATIC_LIBSTDCXX=y:
$ ldd arm-unknown-linux-uclibcgnueabi-gcc
linux-gate.so.1 => (0xb7843000)
libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb76e6000)
/lib/ld-linux.so.2 (0xb7844000)
I made CC_STATIC_LIBSTDCXX default=y since I think
it is always desirable.
Signed-off-by: Johannes Stezenbach <js@sig21.net>
2010-07-29 19:47:16 +02:00
Yann E. MORIN"
8bd0034057
scripts: remove . from $PATH
...
Add CT_SanitizePath function which removes entries referring to ., /tmp
and non-existing directories from $PATH, and call it early in the
build script.
If . is in PATH, gcc-4.4.4 build breaks:
[ALL ] checking what assembler to use...
/tmp/build/targets/arm-unknown-linux-uclibcgnueabi/build/gcc-core-static/arm-unknown-linux-uclibcgnueabi/bin/as
...
[ALL ] config.status: creating as
i.e. "as" is supposed to be the arm-unknown-linux-uclibcgnueabi cross assembler,
but config.status creates a local "as" script which is calling the
host assembler.
Signed-off-by: Johannes Stezenbach <js@sig21.net>
[Yann E. MORIN: style fixes + explanations]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-07-29 19:30:37 +02:00
Yann E. MORIN"
8bb436dad1
cc/gcc: add option to enable/disable libmudflap
...
For some scenarii, libmudflap is not very usefull
or can break the build. Make in an optioon that
defaults to 'N' to be on the safe side.
For the core gcc-s, there is absolutely no need
to build libmidflap.
Idea from: Bernhard Pfund <bernhard@chapter7.ch>
2010-07-28 23:55:10 +02:00
Yann E. MORIN"
61ebaa97ca
cc/gcc: make sjlj config option a tristate
...
A tristate fits better here than a choice.
2010-07-28 23:53:09 +02:00
Yann E. MORIN"
b2d9366b56
libc/uClibc: fix space damage
2010-07-28 01:39:52 +02:00
Yann E. MORIN"
bb6a9e3e64
libc/uClibc: fix using pre-generated locale data
...
Some time, someone updated the locale Makefile to use
newer pre-generated locales data, but did not upload
those.
So we just force using the existing, ageing archive,
dating back 20030818. Sigh...
2010-07-28 01:38:15 +02:00
Yann E. MORIN"
d0ed3f0fe0
libc/uClibc: do not systematically use pre-generated locale data
...
It seems that using pre-generated locale data can be more problematic
than usefull in some circumstances.
Offer a config knob to enable/disable use of the pregen locale data.
Also, do not extract pregen locales data ourselves, it's broken.
2010-07-28 01:03:07 +02:00
Yann E. MORIN"
c03ac58aca
scripts: add a cross-ldd-like
...
Add a cross-ldd that mimicks a native ldd.
2010-07-22 23:26:08 +02:00
Yann E. MORIN"
d7287c9b5f
libc/uClibc: do not install cross-ldd
...
I was unable to make the cross-ldd from uClibc to work, and
it is not possible to build it on non-POSIX system.
Besides, we have a generic script that is in the starting-blocks
to replace it, that will work for any C library, and also will
work on non-POSIX systems. Bonus!
2010-07-22 20:06:27 +02:00
Bart vdr. Meulen
25bb99693a
complibs: fix using static companion libraries
...
When building a cross-compiler for a target which uses a file extension for
binaries the symbolic link to cc is not created correctly because the lookup
of the gcc binary is done in a incorrect path
Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com>
2010-07-19 23:16:02 +02:00
Yann E. MORIN"
2ad6d48f78
scripts/functions: recognise Cygwin build hosts
2010-07-18 00:34:38 +02:00
Yann E. MORIN"
f469d8a5e1
scripts: use 'hg archive' to create release tarballs
2010-07-17 11:31:57 +02:00
Yann E. MORIN"
6426b0ca5d
scripts: update config.{guess,sub}
2010-07-15 10:18:40 +02:00
Yann E. MORIN"
8258ad7bcf
debug/gdb: properly remove build tic
...
tic is isntalled in buildtools, not in the toolchain's bin dir.
Plus, it may have an extension...
2010-07-11 22:26:29 +02:00
Yann E. MORIN"
eec696451e
debug/gdb: Fix compilation for Mingw hosts
...
GDB requires PDcurses instead of ncurses while running on Windows.
So, do not always compile ncurses in case GDB needs to build.
PDcurses is provided by an earlier build step and is not described in
this file.
Signed-off-by: Remy Bohmer <linux@bohmer.net>
[yann.morin.1998@anciense.nib.fr: we already have a way to detect ncurses usage]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-07-11 22:23:34 +02:00
Yann E. MORIN"
d54963f0e3
kernel/mingw: add target libraries
...
Add several development libraries to the build of the mingw cross-compiler
to be used on target
Libraries:
PDCurses (port of the ncurses library)
GnuRX (the regex library)
DirectX
OpenGL
Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com>
[yann.morin.1998@anciens.enib.fr: don't show DX and RX versions if disabled]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-07-11 21:36:55 +02:00
Yann E. MORIN"
b81d232a9b
kernel: add mingw
...
Add the option to build a cross-compiler for kernel type 'mingw'.
The resulting cross-compiler can be used to build applications on a Linux host
that can be run on a Windows target.
Compiler is build using the mingwrt and w32-api packages aviable from the
MinGW project (http://sourceforge.net/projects/mingw ).
The windows headers (w32-api package) are extracting with the kernel_headers
step The libraries and other headers from both packages are build and
installed in the various steps of libc
Signed-off-by: Bart vdr Meulen <bartvdrmeulen@gmail.com>
[yann.morin.1998@anciens.enib.fr: fix kernel headers comment, don't "return 0"]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-07-11 21:36:20 +02:00
Yann E. MORIN"
4144845579
cc/gcc: gcc-4.4 does not use MPC
...
As reported by Johannes Stezenbach, see thread at:
http://sourceware.org/ml/crossgcc/2010-07/msg00017.html
2010-07-10 15:25:10 +02:00
Yann E. MORIN"
42a7dc1946
libc/uClibc: enable NPTL for snapshots
...
Recently, NPTL has matured a lot in uClibc, and more and more
people are interested to at least give it a try. So enable it.
2010-07-03 01:15:28 +02:00
Yann E. MORIN"
974f60e98a
libc/uClibc: fix snapshots
...
Snapshots are in a subdir named uClibc, not uClibc-snapshot
(or uClibc-YYYYMMDD either).
2010-07-03 00:17:54 +02:00
Yann E. MORIN"
3fafacd093
libc/uClibc: fix munging .config for LT old/new
2010-07-02 22:11:45 +02:00
Yann E. MORIN"
58ade1d7aa
scripts/finish: do not try to symlink if sed expr is a no-op
...
If the sed expression does not transform the
tuple, do not try to create the symlink.
2010-07-07 22:33:49 +02:00
Yann E. MORIN"
e8a36ea13c
debug/gdb: fix incorrect path
...
Fix discrepancy between the directory we create,
and the directory into which we install tic.
2010-07-01 01:17:01 +02:00
Yann E. MORIN"
82766493f5
libc/glibc: fix installed scripts
...
glibc installs some bash-scripts, but uses the path to the buildtool
bash as interpreter (on the shebang line). This is only a symlink to
the real bash, and thus is not available at runtime.
Fix that by assuming that bash on the target *will* be /bin/bash.
2010-07-01 00:24:04 +02:00
Yann E. MORIN"
4ea01561e4
scripts/wrapper: fix wrong test when checking access to the reall tool
...
In C, the proper syntax for a bit-wise OR is a single '|', not two.
It worked so far because all was well:
- X_OK == 1
- R_OK||X_OK == 1
- the file we searched for had the x-bit set
-> access( file, R_OK||X_OK ) worked
- inicidentally, the file we searched for also had the r-bit set,
but we were not testing that in fact.
2010-06-22 23:49:23 +02:00
Yann E. MORIN"
8b8f2c17ba
cc/gcc: add option do disable PCH
...
In some cases, using Pre-Compiled Headers breaks the build.
Ass an option to disable building the PCH, as suggested by:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40974
2010-06-17 21:26:23 +02:00
Yann E. MORIN"
c4933a400c
kernel/linux: allow headers from full custom source tree
...
Accept a local tarball name as the source of the Linux kernel headers,
rather than forcing the user to use either an upstream tarball, or a
local pre-installed headers tree.
2010-06-17 18:30:09 +02:00
Yann E. MORIN"
f99f3208af
kernel/linux: reorder upstream/custom-tree handling
2010-06-15 20:04:01 +02:00
Yann E. MORIN"
656dae57eb
cc/gcc: baremetal requires a two-pass process
...
Here, we implement a highly ugly hack. I'm not proud of that one...
To build the libstdc++ library, the compiler requires the C library. In
case we build for non-baremetal, this is normally handled by the final
step, later.
But in the case of bare-metal, we never go through the final step (because
it does not work, and it seems complex enough to make it work), so the
baremetal compilers are issued out of the core step.
2010-06-13 23:38:37 +02:00
Yann E. MORIN"
b00d3ef516
libc/newlib: build in the 'start files' pass
...
A few facts:
- building the C library requires a proper core compiler
- core compiler is issued from one of the core passes
- the C library is required to build libstdc++
- newlib is only built for baremetal
- in bare metal, the final compiler is issued from one of the core passes
So we need to build the C library between core pass 1 and core pass 2.
The only place is eithe libc_headers() or libc_start_files(). The most
pertinent seems to be libc_start_files().
So we build newlib from libc_start_files(), and leave libc() empty.
2010-06-13 23:45:29 +02:00
Yann E. MORIN"
399e7f8f8a
cc/gcc: store core build rules in an array
...
Using an array makes it easier to add new rules.
Besides, it is easy to expand from build rules to install rules
2010-06-13 20:43:02 +02:00
Yann E. MORIN"
3983fe1184
cc/gcc: implement default for core options
2010-06-13 20:31:42 +02:00
Yann E. MORIN"
7b3c12d9a3
cc/gcc: fix headers copy for core static
2010-06-13 20:25:00 +02:00
Yann E. MORIN"
13b5487575
libc/uClibc: apply the threading model to the configuration
...
The threading model shall be be set in the .config file.
Also, offer the choice between 'old/stable' and 'new' linuxthreads.
2010-06-09 00:41:25 +02:00
Titus von Boxberg
d2d3c15c14
cc/gcc: Make usage of --enable-target-optspace configurable
...
Optionally configure to compile gcc-internal libs with -Os.
yann.morin.1998@anciens.enib.fr:
Rename the config options, it is in the GCC /namespace/.
2010-05-24 16:34:55 +02:00
Titus von Boxberg
b0c3365d15
scripts/build/internals.sh: compile wrapper with portable options.
...
static linking is not possible on MacOS, and unnessecary on other systems.
The old optimization and warning flags crash the gcc on MacOS
and (imho) are a bit overdone for this software.
2010-05-22 22:01:18 +02:00
Yann E. MORIN"
dbd5e50583
test-suite: apply cleanup pass
...
Remove all non-modifiable items (target tuple, gcc version, toolchain path...)
Makefile syntax ( use $(...) instead of ${...} )
Update doc
Space-damage cleanups
2010-05-22 22:04:31 +02:00
Martin Lund
1779c82ad2
test-suite: Added new test suite feature (experimental)
...
This patch adds support for installing the gcc test suite. A helper
Makefile is provided for building and running the gcc tests.
The default configuration runs all gcc tests and requires automatic
ssh/scp login access to a networked target board. See README for
more details.
Note: Current feature is tested with the powerpc-unknown-linux-gnu
sample but it should work with others as well.
Signed-off-by: Martin Lund <mgl@doredevelopment.dk>
2010-05-19 17:53:04 +02:00
Titus von Boxberg
0a63e8222c
scripts/wrapper.c: Under MacOS set DYLD_LIBRARY_PATH
...
Depending on (predefined) macro __APPLE__, use DYLD_LIBRARY_PATH
instead of LD_LIBRARY_PATH.
2010-05-22 12:37:02 +02:00
Titus von Boxberg
afa2b0aa0d
scripts/build/internals.sh: Always use binary wrapper under BSD/MacOS
...
The shell wrapper script uses a nonportable call to readlink.
Thus, always use the binary wrapper under BSD/MacOS.
yann.morin.1998@anciens.enib.fr:
Use 'case' instead of 'if'.
2010-05-22 17:30:44 +02:00
Titus von Boxberg
98e7576024
scripts/wrapper.in: Add a comment about readlink not being portable.
...
Documented that the call to readlink will not work on BSD systems.
2010-05-17 12:27:32 +02:00
Titus von Boxberg
16ef145f50
scripts/crosstool-NG.sh.in: On MacOS/BSD use the output of CT_DoConfigGuess for CT_BUILD.
...
On 64bit MacOS `gcc -dumpmachine` gives i686 for the host machine.
This conflicts with the expectations of some following configure scripts
that a 64bit x86 is given as x86_64; i686 is understood as a 32 bit machine.
config.guess sets the host machine in CT_BUILD correctly.
yann.morin.1998@anciens.enib.fr:
As suggested by Khem RAJ on the ML, always use config.guess.
2010-05-19 18:13:00 +02:00
Titus von Boxberg
47af4ebf45
scripts/functions: Use stat correctly on non-GNU (BSD/Darwin) systems.
...
Call to get the directory mode depending on $CT_SYS_OS
yann.morin.1998@anciens.enib.fr:
CT_SYS_OS has changed on Linuxsystem, it only gets the kernel name "Linux",
and not the system name, 'GNU/'.
2010-05-19 18:22:32 +02:00
Titus von Boxberg
91381251a0
build/internals.sh: Replace nonportable call to stat
...
The call to stat to find out if a file is a symlink works only on GNU systems,
and the replacing portable call to readlink is also shorter and more concise code.
yann.morin.1998@anciens.enib.fr:
Apply simpler test, after discussion with author and Arnaud LACOMBE on the ML.
2010-05-19 18:08:23 +02:00
Titus von Boxberg
a85fc6dcb7
crosstool-NG.sh: suppress failure message from uname -o
...
On non-GNU systems (BSD/MacOS) there is no uname -o.
Suppress the failure message on these systems in the
call to set CT_SYS_OS (uname -s actually sets this variable).
yann.morin.1998@anciens.enib.fr: remove 'uname -o' altogether.
2010-05-19 18:17:39 +02:00
Yann E. MORIN"
9c83970d8b
scripts/mk-release: pretty-up the per-author stats
...
Reverse sort first by number of changesets, then sort alphabetically
on the author's names.
2010-04-30 22:25:45 +02:00
Yann E. MORIN"
c4e987288e
debug/gdb: install tic in the buildtools directory
...
'tic' is a build tool, its place is in the buildtools
directory, not in the toolchain's bin directory.
2010-04-29 22:14:31 +02:00
Yann E. MORIN"
3fda8a4876
debug/gdb: be less verbose during the ncurses build
2010-04-29 22:12:27 +02:00
Yann E. MORIN"
9997da0725
scripts: don't set LD_PRELOAD with static companion libraries
...
When cpmpanion libraries are built statically, it is useless to set
LD_PRELOAD. Worse, it might break the build in some corner cases.
2010-04-29 00:25:17 +02:00
Yann E. MORIN"
572a4e4bd7
arch/sh: fix type in variant handling
2010-04-25 18:27:23 +02:00
Yann E. MORIN"
f1235bf562
scripts/savesample: be silent when checking for .config file
2010-04-22 19:21:03 +02:00
Yann E. MORIN"
8743f16f65
libc/newlib: don't do // downloads
...
The newlib FTP site does not like // downloads, and quickly
blocks the IP from the downloader.
Override the number of chunks when downloading newlib.
2010-04-21 19:06:29 +02:00
Yann E. MORIN"
49f0895649
libc/glibc: fix kernel version check
...
Since we log the test strings, it is no longer possible to call
the CT_Test* functions from sub-functions that print results to
their stdout.
2010-04-21 18:54:58 +02:00
Yann E. MORIN"
5c6ccff589
scripts: also prepare include symlink to sysroot/include
2010-04-20 09:58:41 +02:00
Yann E. MORIN"
9815852ae0
scripts: check g++ only for host
...
g++ is only needed when building additonal libs on the HOST,
so check wheter g++ is available for the HOST compiler only
Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com>
[Yann E. MORIN: fix space damage]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-04-19 23:42:31 +02:00
Remy Bohmer
9c6c090d7b
cc/gcc: use proper host compiler for canadian bare-metal
...
While compiling a canadian toolchain for host=mingw32, build=linux,
target=m68k-elf the build fails because in this step of the gcc build
the Host compiler is used in this stage with the build-flags for the
build system. This results in an error where the header <sys/wait.h>
cannot be found.
This problem happens at least in the GCC-4.3.x and GCC-4.4.x range.
This is solved by passing the proper compilers on the Make cmd-line
Signed-off-by: Remy Bohmer <linux@bohmer.net>
2010-04-09 21:04:37 +02:00
Bart vdr. Meulen
76ae48462a
cc/gcc: allow building a canadian bare-metal compiler
...
Previous addition of the canadian cross compiler did not allow
to build a baremetal only variant, no reason why this is not
allowed
Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com>
2010-04-20 10:06:04 +02:00
Yann E. MORIN"
a6da1aa63a
cc/gcc: fix cc symlink when executables have an extension
...
When building a cross-compiler for a host which depends
on file extensions the symlink for cc was not installed correctly
Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com>
[Yann E. MORIN: style fixes, enhancements, code prettying]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-04-20 11:39:13 +02:00
Yann E. MORIN"
3c160b2205
cc/gcc: add support for 4.5.0 or later versions
...
starting with 4.5.0, gcc requires libelf.
2010-04-15 22:35:18 +02:00
Yann E. MORIN"
eed8d50d02
complibs/libelf: enable the host build
...
Host libelf is required by gcc-4.5.0
2010-04-15 22:42:06 +02:00
Yann E. MORIN"
9962be4d9c
complibs/libelf: build target libelf in its own directory
2010-04-15 22:35:04 +02:00
Yann E. MORIN"
3ad58b9c50
debug/gdb: remove insight
...
Insight seems to be very slow to follow up on mainstreram gdb.
Latest snapshots are more than 6 months old.
Moreover, I don't have time to maintain insight support in crosstool-NG;
and, because I don't use it, I am unable to find any breakage.
2010-04-15 20:00:23 +02:00
Yann E. MORIN"
1f87ae813c
scripts: don't print the build system guess warning
2010-04-15 22:34:11 +02:00
Thomas Petazzoni
24e4d092a5
Add basic support for the Blackfin architecture
...
For uClibc, the name of the Blackfin architecture is 'bfin'. Actually,
the naming of the architecture is quite messy: for toolchain tuples
and uClibc, it's bfin, but for the kernel, it's blackfin. We've
arbitraly choosen to name it "blackfin" in Crosstool-NG.
Add Blackfin-related uClibc patch to fix a build failure related to
fork() being used in unistd/daemon.c.
Yann E. MORIN:
Apply the patch to the kernel/linux build script to use 'linux'
in the noMMU tuples. See:
http://sourceware.org/ml/crossgcc/2010-04/msg00010.html
2010-04-07 09:18:20 +02:00
Yann E. MORIN"
55ba3f6378
scripts/functions: log the test strings
2010-04-13 22:54:57 +02:00
Yann E. MORIN"
e87fb32624
scripts/functions: compress with gzip level 3, as stated in the documentation
...
Thanks to Bruno Tarquini <btarquini@gmail.com> for the report.
2010-04-13 21:47:34 +02:00
Yann E. MORIN"
2d54ce4a2c
scripts/functions: add a save/restore handler
...
Saving and restoring the steps requires saving/restoring multiple
directories. Depending on the configuration, some may not exist.
Add a wrapper that checks before creating/extracting the tarballs.
2010-04-13 20:52:38 +02:00
Yann E. MORIN"
09154a7162
scripts/functions: fix CT_Patch again
2010-04-13 20:05:47 +02:00
Yann E. MORIN"
80e7118b1f
Merge.
2010-04-13 00:43:22 +02:00
Yann E. MORIN"
2d446d21bc
Revert 3ea4e6f7b85f: Force autoreconf for mpfr
...
It breaks on my machine. Revert until we find the exact cause leading to
the initial patch, and we come up with a patch that properly fixes it.
2010-04-13 00:43:09 +02:00
Yann E. MORIN"
0f52a4c2de
scripts/functions: fix CT_Patch
2010-04-13 00:07:00 +02:00
Yann E. MORIN"
bf86627982
scripts/functions: make CT_Patch dumber
...
It is the responsibility of the caller to split the package name from
its version. It already knows that.
2010-04-11 23:18:10 +02:00
Yann E. MORIN"
d2ea451ee1
libc/newlib: only compute version string, not full filename
2010-04-11 23:17:25 +02:00
Yann E. MORIN"
2a6e9ce59a
debug/gdb: remove snapshot version
2010-04-11 23:05:48 +02:00
Remy Bohmer
9ccad74f02
cc/gcc: add bugurl and compiler version to core gcc compiler
...
When building for bare-metal the core-gcc compiler is delivered
as final compiler, so the version info and bugurl is useful
in the core compiler as well.
Signed-off-by: Remy Bohmer <linux@bohmer.net>
2010-04-09 21:04:33 +02:00
Bart vdr Meulen
d068fcb19c
scripts: prevent trailing - in CT_TARGET
...
Not all target tuples consist of an VENDOR, KERNEL and SYSTEM part, build up the
tuple in such a way to no extra or trailing dashes are added to CT_TARGET
Signed-off-by: Bart vdr Meulen <bartvdrmeulen@gmail.com>
2010-04-09 21:04:27 +02:00
Bart vdr. Meulen
1ef028c7e6
[CT-NG:patch 05/19] Force autoreconf for mpfr
...
In some exotic case the autoreconf step of mpfr is not executed (correctly)
leaving an incorrect version number for libtool in the configure script.
After extracting the sources files, force autoreconf to be executed.
Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com>
2010-04-09 21:04:24 +02:00
Yann E. MORIN"
58de741ecf
complibs: save directory with static complibs for stop/restart
2010-04-11 15:37:53 +02:00
Yann E. MORIN"
a01284b0e2
complibs: don't install in toolchain dir when built as static
2010-04-11 11:10:06 +02:00
Yann E. MORIN"
5b27e8de52
complibs: allow either static or shared build
2010-04-11 00:47:23 +02:00
Yann E. MORIN"
5b663e2aae
complibs: build static libraries
2010-04-10 23:43:08 +02:00
Yann E. MORIN"
31fa64bc60
config: replace COMP_LIBS with COMPLIBS
2010-04-10 23:42:28 +02:00
Yann E. MORIN"
538d596113
complibs/mpfr: fix extract
...
With MPFR 2.4.2, autoreconf needs to be run as well.
2010-04-10 22:45:36 +02:00
Yann E. MORIN"
0d8e0f0e8b
scripts: add script to publish patches
...
This script creates the patches for an existing version.
2010-04-10 12:34:07 +02:00
Arnaud Lacombe
93042972a8
cc/gcc: fix thread-less final gcc build
...
If threads are disabled in libc, we don't want to enable them in the
final compiler. Doing so pass the configure stage, but fails latter on
a missing <pthread.h>.
Moreover, we don't want to build libgomp if threads are disabled; its
configure script would fails anyway.
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
2010-04-07 18:35:22 +02:00
Arnaud Lacombe
2059d43d86
cc/gcc: fix recent gcc build
...
This fix missed conversion of CT_GCC_USE_* to CT_CC_GCC_USE_*.
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
2010-04-07 18:35:21 +02:00
Yann E. MORIN"
e5a007415a
scripts: misc help and auto-complete fixes
...
- don't list samples in the main help screen
- improve the samples listing in list-samples
- don't document the 'config' action, it's long dead
- document the 'V' environment variable
- improve on START, STOP and PREFIX environment variables
- add PREFIX and V to autocomplete
- advertise auto-complete at install time
2010-04-02 00:18:26 +02:00
Yann E. MORIN"
75646b1ea4
scripts/addToolsVersion: fix handling libelf
...
libelf has moved to the companion libraries section,
and is no longer in the tools section.
2010-03-29 23:37:29 +02:00
Yann E. MORIN"
d8d2459ca4
scripts/populate: optimise search loop
...
Curently, populate will iterate over all ELF (shared objects|executables)
to look for missing NEEDED DSOs, adding to the list at every iterations
of the search loop.
Instead of looking again at previously handled ELF files, recursively
resolve every ELf files.
Also, in case there are a whole lot of files (more than the shell can
accept as arguments list, or creating a command line longer than the
shell can cope with), use a temporary file with the list of files
to search for missing dependencies.
2010-03-29 00:15:32 +02:00
Yann E. MORIN"
ec4181e4d2
scripts/populate: cleanups and misc fixes
...
- it's a POSIX compliant shell script: drop bash, use /bin/sh
- fix help text
- use an absolute path for sysroot
- replace "echo" with "printf"
- replace "stat -c '%i'" with "ls -1id"
- replace "pushd / popd" with "cd / cd -"
- remove superfluous break
- bail out if required lib not found, except if forced
2010-03-28 23:01:19 +02:00
Yann E. MORIN"
1913d355b3
scripts/populate: fix handling the forced libraries list-file
...
If a list-file is used, then each library in the file will be handled
twice (not a real issue, as the second iteration will find the library
already present, just avoid doing the job twice).
2010-03-26 23:17:23 +01:00
Yann E. MORIN"
f36ceb7f54
scripts/populate: properly locate the sysroot and required tools
...
This fixes two problems:
- the sysroot might be in a sub-directory (think SYSROOT_DIR_PREFIX)
- it is not needed to have the target tuple to properly detect the sysroot
and the required tools
As a side effect, this script is now no longer dependent on the target
tuple, and in the future, we might be able to share it across many
toolchains (when/if we can install all of them in the same place).
2010-03-25 22:42:00 +01:00
Yann E. MORIN"
a67a23877f
scripts/populate: add -m option, to merge source and dest
...
Merge the source rootfs into the (pre-existing) destination rootfs,
and populate the result accordingly.
2010-03-24 22:36:51 +01:00
Nate Case
ceca768ee6
scripts/populate: add option to use an alternate sysroot
...
Add a new command line option, "-r", which allows the user to specify
an alternate sysroot location to copy libraries from. This is useful
when using the toolchain in combination with a separate root filesystem,
or when working with multiple different root filesystems.
Signed-off-by: Nate Case <ncase@xes-inc.com>
2010-03-23 19:27:41 +01:00
Yann E. MORIN"
a8979d911f
binutils/sstrip: fix when sstrip is disabled
2010-03-24 22:21:52 +01:00
Yann E. MORIN"
5b8dcf755b
binutils/sstrip: get rid of ELFkickers
...
ELFkickers are looong dead and unmaintained, and the sstrip
from buildroot is working fine *and* is maintained.
2010-03-17 00:28:14 +01:00
Yann E. MORIN"
b0fece4689
tools: move sstrip to the binary utilities menu
...
sstrip is now alone in its 'tools' menu, and we will probably never gain
any other 'tool'. Besides, sstrip is just strip, but a little bit more
agressive, so it deserves going to the 'binary utilities' menu.
2010-03-17 00:21:57 +01:00
Yann E. MORIN"
2244007325
debug/gdb: gdb>=7.0 can use MPC, enable for cross-gdb
2010-03-15 22:02:02 +01:00
Yann E. MORIN"
76f3741a0f
debug/gdb: add handling of 7_0_or_later
...
We'll need to differentiate gdb 7.0 or later, from gdb prior to 7.0
2010-03-20 18:49:15 +01:00
Yann E. MORIN"
2583337c7c
debug/gdb: add option to use GMP and MPFR
...
GMP and MPFR are optional for gdb, so offer a config option.
2010-03-15 21:51:20 +01:00
Yann E. MORIN"
8e47201cf2
cc/gcc: fix use of companion libraries
2010-03-05 18:55:25 +01:00
Yann E. MORIN"
e743ae7d79
scripts: fix dumping the config for companion libraries for target
...
Companion libraries can be disable for the host, but still used for
the target (eg. binutils or gdb). Dump the version also in this case.
2010-03-19 18:46:57 +01:00
Yann E. MORIN"
7372fa2b76
scripts: fix dumping config
...
libelf has been moved to being a companion library, now.
2010-03-17 23:59:17 +01:00
Yann E. MORIN"
b2c9b2d48f
debug/gdb: fix building the native tic
...
The native 'tic' will _always_ be run on the build
machine, so no need to handle canadian/native/...
Reported by: Trevor Woerner
http://sourceware.org/ml/crossgcc/2010-03/msg00055.html
(transplanted from 26e89d367ea11660fd3a0bf0bcad8763e4fa21cf)
2010-03-16 23:10:46 +01:00
Yann E. MORIN"
8878058528
scripts: fix the release script to use the C locale
...
Force use of the C locale to ensure messages are recognised by the script.
2010-03-14 16:39:11 +01:00
Yann E. MORIN"
627e269efd
scripts: enhance and fix the release script
2010-03-14 12:12:10 +01:00
Yann E. MORIN"
cbc8a65237
scripts: add script to make a release
2010-03-07 13:17:27 +01:00
Yann E. MORIN"
8bc58e651d
debug/ltrace: properly fix building for powerpc
...
ltrace uses ppc, whereas crosstool-NG use powerpc.
Fix that by passing the correct value to HOST when calling configure.
2010-03-07 12:30:01 +01:00
Yann E. MORIN"
ecfc6d2e2d
debug/ltrace: fix building on x86
...
ltrace uses i386 and x86_64, whereas crosstool-NG use x86 for both cases.
Fix that by detecting what bitness we're building for, and pass appropriate
i386 or x86_64 to ltrace's configure.
2010-03-06 16:05:20 +01:00
Yann E. MORIN"
d380a84b52
complibs: remove headers after build
...
After the toolchain is built, we do no longer need the headers.
Reported-by: Enrico Weigelt <weigelt@metux.de>
2010-02-28 10:19:13 +01:00
Zhuang Yuyao
f8ba6cb7e6
arch: add mips64
...
This adds initial mips64 config option and build script.
2010-02-20 07:35:02 +01:00
Titus von Boxberg"
00ac124509
scripts: use more portable sed options
...
No need for extended regular expressions here.
2010-02-03 00:24:24 +01:00
Yann E. MORIN"
991b90f242
comp-libs: make libelf a companion library
...
When gcc-4.5 is out, it will require libelf. So better make it a
companion library now rather than postponing the ineluctable.
2010-02-17 23:41:17 +01:00
Yann E. MORIN"
2949150cbe
complibs: hide companion libraries for target entry
...
The companion libraries on the target are required only for internal use by
binutils and gdb. The user should not have to know about this, so hide the
option.
2010-02-17 23:50:49 +01:00
Yann E. MORIN"
77a605d48e
complibs: simplify config file
...
Although currently the wrapper is directly dependent on
companion libraries, let's still decorelate those two.
2010-02-18 20:43:31 +01:00
Yann E. MORIN"
3eaa187de5
complibs: split-up selection for individual libs
2010-02-17 23:47:47 +01:00
Yann E. MORIN"
c6689215d1
binutils/binutils: fix using GMP and MPFR
2010-02-09 22:50:53 +01:00
Yann E. MORIN"
26e5cb4021
scripts: fix dumping 'other environment'
...
Do not sort the environment, it cripples the output.
2010-02-18 00:04:48 +01:00
Yann E. MORIN"
933404b449
cc/gcc: simplify the _or_later stuff
2010-02-04 15:18:46 +01:00
Yann E. MORIN"
c971f6ee33
scripts/showsamples: fix non-POSIX construct
2010-02-07 17:17:52 +01:00
Titus von Boxberg
bc5c6b3178
scripts: also dump the rest of the environment
2010-02-03 00:24:24 +01:00
Titus von Boxberg
cb62adf58f
scripts: use kernel name (uname -s) when system name (uname -o) is not availabe
...
'uname -o' is a GNU extension.
2010-02-03 00:24:24 +01:00
Titus von Boxberg
f65b10457b
scripts/functions: fix date munging when ns are not available
...
On some systems (eg. *BSD and Darwin), date does not support nanoseconds
(%N) precision. Instead of printing '%N' in this case, it just prints 'N'.
Fix the sed expression to handle this case.
2010-02-03 00:24:24 +01:00
Titus von Boxberg
e6f4c47c21
comp-libs/mpfr: fix build on Darwin
2010-02-03 00:24:24 +01:00
Richard Strand
22fca0106e
libc/eglibc: Add option to optimize for size
...
Add an option to eglibc to optimize for size using -Os.
Signed-off-by: Richard Strand <richard.strand@icomera.com>
2010-02-01 12:56:28 +00:00
Yann E. MORIN"
964d20b1c7
scripts: dump the current tuple with show-config
2010-01-31 20:10:14 +01:00
Yann E. MORIN"
3fb0463536
scripts: add action to dump current configuration in humane-readable form
2010-01-31 15:57:22 +01:00
Yann E. MORIN"
b44a9d9e34
scripts: Do not create backup files when patching
...
Some patches may apply with offset and/or fuzz, and would leave .orig files.
2010-01-31 12:07:44 +01:00
Yann E. MORIN"
e46e74546d
libc/glibc: fix retrieving version string
2010-01-30 16:19:50 +01:00
Yann E. MORIN"
58a53e7bf6
scripts/functions: add git wrapper
...
Add a git wrapper to retrieve components from their git tree.
Add a git wrapper to create a working copy (in our tarballs dir).
Recognise git trees when searching for local copies.
2010-01-14 20:54:47 +01:00
Yann E. MORIN"
958138fff1
libc/glibc: get the version string from version.h
...
We can not rely on the user-provided version string (be it via the
choice, or manually entered), so fallback to reading version.h,
which is both reliable and always present.
2010-01-12 19:37:18 +01:00
Yann E. MORIN"
e3a4063ac6
scripts/functions: change handling of nochdir
...
- 'nochdir' must be the first option
- have systematic pushd/popd, even if nochdir
2010-01-12 19:24:03 +01:00
Yann E. MORIN"
c5462c814f
libc/glibc: get rid of the now obsolete CVS stuff
...
It's now been a while that glibc switched to git from cvs.
Get rid of cvs to download glibc; this will make for a good
cleanup before we add git support! :-)
2010-01-11 22:47:58 +01:00
Yann E. MORIN"
8920a94354
Merge.
2010-01-29 23:46:43 +01:00
Yann E. MORIN"
88d3a95eca
global: do not offer the renice option, let's the user handle that
...
It's broken anyway. Eg.:
- user is already niced at 10
- user configures to renice at 5
- breaks because user is not allowed to 'boost' his/her nice value
Bette let the user handle the renice with:
nice -XX ct-ng 'action'
2010-01-29 23:14:53 +01:00
Yann E. MORIN"
8577bc52c1
kernel/linux: remove legacy check
...
Now, we only support building with Linux >=2.6.27.
Get rid of the code that depended on <2.6.18.
2010-01-29 22:55:35 +01:00
Yann E. MORIN"
9e595444f4
binutils/elf2flt: activate elf2flt build
...
The code has been lying around inactivated for some time.
Let's enable it at last, and see if any one needs it.
2010-01-29 22:43:28 +01:00
Yann E. MORIN
6d70a576da
arch: add basic m68k support
...
Signed-off-by: Remy Bohmer <linux@bohmer.net>
[yann.morin.1998@anciens.enib.fr: use defaults for CT_TARGET_ARCH]
Signed-off-by: "Yann E. MORIN <yann.morin.1998@anciens.enib.fr>
2010-01-29 23:23:59 +01:00
Yann E. MORIN"
3a71b208b3
Merge.
2010-01-23 22:15:17 +01:00
Yann E. MORIN"
542419d6a0
libc/uClibc: fix the breakage for x86 and Super-H, after the 32/64 merge
2010-01-23 22:06:11 +01:00
Yann E. MORIN"
994427dbbe
scripts/functions: do not compute CT_KERNEL_ARCH, it's obsolete
...
Since we merged the 32/64-bit archs, and we explicitly used
the Linux kernel arch name, we can get rid of CT_KERNEL_ARCH.
2010-01-23 19:02:46 +01:00
Yann E. MORIN"
849713aa43
libc/uclibc: use CT_ARCH, in place of CT_KERNEL_ARCH
...
Since we merged the 32/64-bit archs, and we explicitly used
the Linux kernel arch name, we can get rid of CT_KERNEL_ARCH.
2010-01-23 18:41:59 +01:00
Yann E. MORIN"
ac46ac3dd5
libc/glibc: use CT_ARCH, in place of CT_KERNEL_ARCH
...
Since we merged the 32/64-bit archs, and we explicitly used
the Linux kernel arch name, we can get rid of CT_KERNEL_ARCH.
2010-01-23 18:40:38 +01:00
Yann E. MORIN"
6b73ea68c5
kernel/linux: use CT_ARCH, in place of CT_KERNEL_ARCH
...
Since we merged the 32/64-bit archs, and we explicitly used
the Linux kernel arch name, we can get rid of CT_KERNEL_ARCH.
2010-01-23 18:39:28 +01:00
Yann E. MORIN"
ed71d902c9
debug/gdb: fix the space-damage
2010-01-21 22:45:09 +01:00
Yann E. MORIN"
64aae637f8
debug/gdb: do not expose the ncurses version in the menuconfig
2010-01-21 22:33:54 +01:00
Yann E. MORIN"
9bfea69431
scripts/functions: inverse log level ALL and DEBUG
2010-01-16 17:52:44 +01:00
Yann E. MORIN"
0e9551967c
scripts/addToolVersion: add uClibc hooks
2010-01-14 18:44:13 +01:00
Yann E. MORIN"
8f41039a3c
debug/gdb: install ncurses in a temporary place
...
We only build the static ncurses, to be used to build the native gdb,
and it needs not be available for anyone but us. So install it into
a temporary place, and get rid of it once gdb is built.
2010-01-13 22:30:10 +01:00
Yann E. MORIN"
ad943c1a37
debug/gdb: staticaly link to ncurses for the native gdb
...
Staticaly link the native gdb (the one that runs on the target,
not the cross one that runs on the host) to ncurses.
2010-01-13 20:46:01 +01:00
Richard Strand
b6cf64a802
companion_tools/libtool: Add libtool tool
...
Add version 2.2.6b of libtool as a companion tool
Signed-off-by: Richard Strand <richard.strand@icomera.com>
2010-01-12 21:47:57 +00:00
Richard Strand
c782756cd3
companion_tools/automake: Add automake tool
...
Add version 1.11.1 of automake as a companion tool
Signed-off-by: Richard Strand <richard.strand@icomera.com>
2010-01-12 21:47:36 +00:00
Richard Strand
e3a8a01025
companion_tools/m4: Add m4 tool
...
Add version 1.4.13 of m4 as a companion tool
Signed-off-by: Richard Strand <richard.strand@icomera.com>
2010-01-12 21:47:14 +00:00
Yann E. MORIN"
df2e088c8f
companion_tools/autoconf: add autoconf tool
...
Initial version of adding autoconf as a companion tool.
Signed-off-by: Richard Strand <richard.strand@icomera.com>
[yann.morin.1998@anciens.enib.fr: use generic overide tools dir]
[yann.morin.1998@anciens.enib.fr: update menu entries]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-01-12 21:09:30 +01:00
Yann E. MORIN"
72e623bbc7
scripts/crosstool-ng: Change overide bin dir
...
Change the overide bin dir so it can be used by companion tools
Signed-off-by: Richard Strand <richard.strand@icomera.com>
[yann.morin.1998@anciens.enib.fr: more generic overide tools dir]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2010-01-12 21:21:39 +01:00
Yann E. MORIN"
a2164e86c5
Merge.
2010-01-10 17:43:23 +01:00
Yann E. MORIN"
eace0275b9
scripts/addToolsVersion: add support for newlib
2010-01-10 17:24:29 +01:00
Yann E. MORIN"
59470f80fb
scripts/addToolVersion: cleanups
2010-01-10 17:22:47 +01:00
Yann E. MORIN"
a715a4b28d
scripts/addToolVersion: correctly handle the libc categories
2010-01-10 16:50:52 +01:00
Richard Strand
185ea5a640
scrips/functions: fix downloads using curl
...
By default curl doesn't folow redirects. This breaks sourceforge downloads.
Add the -L option to curl to fix this.
Curl also downloads the html as a file even when it gets a 404. This breaks
http downloads when using the failback system. Add the -f option to curl to fix
this.
Signed-off-by: Richard Strand <richard.strand@icomera.com>
2010-01-10 15:19:25 +00:00
Yann E. MORIN"
261709c8d4
libc/glibc: correctly handle dual-bitness archs
...
If the selected ARCH is dual-bitness (eg. supports 32- and 64-bit),
then we need to know the correct place where to fetch some headers.
Currently, this applies only to x86 variants: i386 and x86_64.
2010-01-09 16:05:01 +01:00
Yann E. MORIN"
28d1a52859
scripts/functions: fix extraction
2010-01-09 17:31:25 +01:00
Yann E. MORIN"
fbd2a88e6e
arch/alpha: cleanup Alpha code
2010-01-09 15:57:07 +01:00
Yann E. MORIN"
a272b32bba
config: don't force the vendor part in the tuple
...
Note however that some configurations (eg. arm-elf) will still
have the vendor part 'unknown' forced in (by config.sub).
2010-01-07 23:05:30 +01:00
Yann E. MORIN"
90a54f50be
scripts/addToolsVersion: add support for MPC
2010-01-06 18:30:51 +01:00
Yann E. MORIN"
f0b5c37abf
scripts/addtoolversion: prepare for hooks for tools others than gcc
...
The upcoming git support will require hooks for glibc as well.
2010-01-02 00:15:19 +01:00
Yann E. MORIN"
009eb2a247
scripts: protect against partially extracted source
...
In case of failure (eg. user hitting Ctrl-C), avoid extracting over
partially extracted source. Will help once we have git available.
2009-11-30 21:34:50 +01:00
Yann E. MORIN"
01a58679df
scripts: handle custom or empty extension when extracting
2009-11-30 00:05:45 +01:00
Yann E. MORIN"
135ea6486f
scripts/functions: do not double check if downloads are allowed
...
Only call the *_get functions if downloads are allowed, so there
is no need to check it again in the retrieval wrappers.
2009-11-25 20:36:04 +01:00
Yann E. MORIN"
27199362d5
debug/ltrace: fix for a latent bug
2010-01-05 23:27:19 +01:00
Yann E. MORIN"
e950bbfeb2
debug/ltrace: chop long lines
2010-01-05 18:56:44 +01:00
Joachim Nilsson
ac08d4a45e
debug/ltrace: set the ltrace extension to .tar.gz
...
Trying to download every extension in turn does not work.
The Debian server returns a friendly 404-page that is
saved as the orig.tar.bz2 file. Help the helper by giving
it the extension to retrieve.
2010-01-05 11:43:31 +01:00
Joachim Nilsson
c704137fd6
debug/ltrace: Add support for ltrace-0.5.3
...
From this version of ltrace the maintainer has removed support for
GNU Autotools, so the patch sets needed to be reworked.
Included is the latest Debian patch, by the Debian ltrace maintainer
Juan Cespedes <cespedes@debian.org>, the OpenEmbedded patches for cross
compiling, by Khem Raj <raj.khem@gmail.com> and a further set of patches
by Joachim Nilsson <jocke@vmlinux.org> for crosstool-NG.
2010-01-03 16:46:58 +01:00
Yann E. MORIN"
75cb688486
samples: fix displaying samples
2010-01-03 18:33:23 +01:00
Yann E. MORIN"
9b5d316acc
scripts/functions: make aria2 less verbose when downloading
2010-01-03 16:30:35 +01:00
Yann E. MORIN"
8908eb3037
misc: do not use "tar cf - |tar xf -"
...
Using this: tar cf - -C "/some/place" |tar xf - -C "/some/other/place"
to copy a directory to another place does not properly fail (when it does).
Using this instead: cp -av "/some/place" "/some/other/place"
makes it easy to see why and how it failed.
Impacted:
libc/uClibc
debug/ltrace
tools/sstrip
scripts/populate
2010-01-02 18:00:54 +01:00
Yann E. MORIN"
5ae9b7faf9
libc/uClibc: do not mangle ARM {E,O}ABI when ARCH != ARM
2010-01-01 16:52:55 +01:00
Yann E. MORIN"
d744220447
libc/uClibc: beautify the munge function
2010-01-01 18:47:20 +01:00
Yann E. MORIN"
c20e01d094
scripts/functions: fix downloading with aria2
...
In case the remote file does not exist (and probably for some
other reasons as well), aria2 nonetheless creates an empty file
(or not empty for some other reasons).
The solution is to delete the file whenever aria2 fails.
2010-01-01 17:09:52 +01:00
Yann E. MORIN"
b9eba0996a
scripts/functions: fix using Aria2
...
Latest aria2 no longer recognise the --retry-wait option.
2010-01-01 12:27:06 +01:00
Yann E. MORIN"
da84e43df4
debug/tools: set the ncurses extension to .tar.gz
...
TRying to download every extension in turn takes ages, so
help the helper by telling what extension to retrieve.
2009-12-30 15:38:03 +01:00
Yann E. MORIN"
04c68600ea
scripts/functions: add aria2, a powerfull downloader
...
aria2 is a powerfull downloader that is capable of chunking and
parallel retrieval.
Due to li;itations in crosstool-NG retrieval facilities, it's not possible
to take fully advantage of aria2. It might happen that, in the future,
those limitations get lifted away, so we can take use features such as
parallel downloading from more than one server at the same time. For now,
it should still speed up downloads thanks to parallel downloading of chunks.
2009-12-30 15:36:22 +01:00
Yann E. MORIN"
2c077d6fac
scripts/functions: simplify wget vs. curl check
2009-12-29 22:11:09 +01:00
Yann E. MORIN"
5347a90a4f
scripts: check for, and warn about an unset CT_PREFIX_DIR
...
The user shall provide a directory to install the toolchain into.
If he/she does not, this is an error, and shall be detected properly,
rather than relying on failure down the road.
Thanks to "Pedro I. Sanchez" <psanchez@colcan.ca> for pointing out
the issue:
http://sourceware.org/ml/crossgcc/2009-12/msg00011.html
2009-12-19 12:44:21 +01:00
Yann E. MORIN"
75f0ec107c
scripts: correctly warn when the local tarballs directory does not exist
...
Warn about a missing local tarball directory, only if it was configured.
Avoid the spurious message:
Directory '${CT_LOCAL_TARBALLS_DIR}' does not exist.
Will not save downloaded tarballs to local storage.
Thanks to "Pedro I. Sanchez" <psanchez@colcan.ca> for pointing out the
issue:
http://sourceware.org/ml/crossgcc/2009-12/msg00011.html
2009-12-14 19:17:37 +01:00
Yann E. MORIN"
eb2a7ba9b0
scripts: directly spit-out the date in the WiKi table, misc eye-candy
...
No need to go through a post-processing just for displaying the date...
2009-11-26 00:22:17 +01:00
Yann E. MORIN"
7ddb6648e0
scripts: fix Host/Target colums in WiKi table
...
Generate a better-looking WiKi table by re-arranging
the host and target columns.
2009-11-25 23:56:59 +01:00
Yann E. MORIN"
acba361851
scripts: fix WiKi table generation
...
The number of column in the top-most header was not updated to reflect the
fact that a new column was added to show the host (for canadian crosses).
2009-11-25 23:40:25 +01:00
Yann E. MORIN"
0a7fb290da
scripts: update config.{sub,guess}
2009-11-22 11:36:41 +01:00
Yann E. MORIN"
15627cbf8c
libc/glibc: configure libc headers with support for 128-bit long double
...
At the headers install pass, there's no compiler to test for the size
of long double. Help it: we know that the compiler does support 128-bit
long double, in the IBM extended precision.
Kindly pointed out, and explained, by Mike FRYSINGER:
http://sourceware.org/ml/crossgcc/2009-11/msg00040.html
http://sourceware.org/ml/crossgcc/2009-11/msg00057.html
2009-11-17 23:41:49 +01:00
Simon Pasch
a4980248f3
libc/uClibc: add wchar support
2009-11-06 20:17:30 +01:00
Yann E. MORIN"
cb52ec6051
arch/s390: commonalise the 32- and 64-bit s390 arch
2009-11-17 11:54:44 +01:00
Yann E. MORIN"
7ea82181db
arch/x86: commonalise the 32- and 64-bit x86 arch
2009-11-17 11:51:57 +01:00
Yann E. MORIN"
28b38f9222
arch/ppc: commonalise the 32- and 64-bit PowerPC arch
2009-11-17 11:33:59 +01:00
Yann E. MORIN"
07dfc06659
Merge.
2009-11-16 22:37:39 +01:00
Yann E. MORIN"
2df1637271
Merge.
2009-11-16 20:25:42 +01:00
Yann E. MORIN"
bd8e670d5e
libc/glibc: allow more than one line in configparms
2009-11-16 20:24:03 +01:00
Yann E. MORIN"
385a616b10
arch/s390: cleanups
...
Don't select unneeded config knobs. Don't select non-existing config knobs.
Use the "no patch" config knob, instead of pointing to an non-exiting local
patch dir. Simplify the tuple-related scripts. Update the samples.
2009-11-16 20:18:09 +01:00
Yann E. MORIN"
2b212bccad
config/global: enable not using patches at all
...
It can be needed to build a toolchain with no patch at all.
2009-11-16 20:15:45 +01:00
harold
2cde67ddc4
arch: add s390 and s390x architectures and samples
2009-11-14 15:03:01 -06:00
Yann E. MORIN"
590ca63f0d
scripts: add a new helper script to easily rediff a patchset
2009-11-13 19:34:18 +01:00
Yann E. MORIN"
c863d223fa
scripts: be POSIXly correct in helper scripts
...
Fix helper scripts to be POSIXly correct: don't expect '.' (the dot
builtin) to search CWD if it is not in $PATH.
2009-11-12 18:42:13 +01:00
Yann E. MORIN"
33374cac39
scripts: output renumbered patches in a new directory
...
When renumbering patches, the original patches get removed and replaced
with the new ones. This can be annoying to loose the original patches.
Fix this by putting the new patchs in a directory of their own.
2009-11-10 19:32:11 +01:00
Yann E. MORIN"
6af0ca4153
scripts: some eye-candy
2009-10-30 20:08:44 +01:00
Yann E. MORIN"
85da99fb23
scripts: update config.{sub,guess}
2009-10-30 19:52:06 +01:00
Yann E. MORIN"
01240b9fbf
scripts: fix updating config.{sub,guess}
2009-10-30 19:49:51 +01:00
Yann E. MORIN"
de8f2cea32
Merge.
2009-10-29 00:10:06 +01:00
Yann E. MORIN"
c916a69abf
arch/arm: add THUMB interworking support
...
Add config option to build wtarget code with THUMB interworking.
This is used to build the C library as well as all other code
that runs on the target.
2009-10-26 23:11:10 +01:00
Yann E. MORIN"
d2324af8c7
arch/arm: add THUMB mode config option
2009-10-26 09:10:38 +01:00
Yann E. MORIN"
da0ff22e6c
arch/arm: no need to check for the ABI option
...
The ABI option can not be set if EABI was selected,
so no need to check for it.
2009-10-21 23:20:30 +02:00
Yann E. MORIN"
49e5b08739
libc/newlib: allow using CVS snapshots
...
The newlib "team" rolls new releases about once a year (december).
This is quite a long time between releases, in case code was fixed.
So, allow user to use a CVS snapshot to benefit early from fixes
and enhancements to newlib.
2009-10-26 22:00:30 +01:00
Yann E. MORIN"
e73418236d
functions: allow using sub-dir of a module
...
Some projects' module (eg. newlib) are checked-out into a sudirectory
rather than into their own directory. Handle this case in the CT_GetCVS
function.
2009-10-26 19:49:50 +01:00
Yann E. MORIN"
68b9b30f6b
libc/newlib: allow using newlib with archs other than avr32
2009-10-21 22:51:39 +02:00
Yann E. MORIN"
e8bd152863
libc/newlib: cleanup the build and finish steps
...
build step:
- ./configure
- remove glibc-specific options
- pass the target CFLAGS in the correct variable
- make:
- build in //
finish step:
- print proper message in finish step
2009-10-26 23:20:33 +01:00
Yann E. MORIN"
88c997020f
libc/newlib: fix host/target confusion
...
newlib handles the build/host/target a bit differently as one would expect:
build : not used
host : the nachine that builds newlib
target : the machine on which newlib will run
2009-10-25 23:35:55 +01:00
Yann E. MORIN"
c2d4265646
debug/dmalloc: fix handling of threading model
2009-10-21 18:47:16 +02:00
Frederic Roussel
1215142d57
scripts/functions: Fix a variable name.
...
Signed-off-by: Frederic Roussel <fr.frasc@gmail.com>
2009-10-23 09:48:22 -07:00
Yann E. MORIN"
d28227a914
scripts: add sed expression to apply when renumbering patches
...
Some patchsets have superfluous members in their names (eg. the ones coming
from Gentoo), so it can come in handy to pass a sed RE to strip them out of
the final patch name.
Also add a 'fake' mode, where the command will only be printed and not
executed, so we can check beforehand if the rename will be OK.
2009-10-27 19:34:13 +01:00
Yann E. MORIN"
039ee6c125
scripts: fis addToolVersion wrt binutils
...
binutils' config file has moved; update the addToolVerion script accordingly.
2009-10-27 18:54:29 +01:00
Yann E. MORIN"
5bbc211198
scripts: replace calls to svn with calls to hg in script to renumber patches
2009-10-10 17:19:51 +02:00
Arnaud Vrac
e11863d167
eglibc: add support for user provided option groups
...
Signed-off-by: Arnaud Vrac <avrac@freebox.fr>
2009-10-09 16:22:09 +02:00
Yann E. MORIN"
89351cb898
Merge.
2009-10-03 18:21:41 +02:00
Yann E. MORIN"
d0c5d174bf
libc/glibc: don't use legacy snapshots
...
glibc snapshots have not been updated for about the
past 5 months. Consider them to be deprecated, now.
2009-10-03 18:19:39 +02:00
Yann E. MORIN"
c3b2d932d8
debug/gdb: cleanup (remove) the static ncurses build
...
ncurses is built solely for the sake of building a native gdb.
The user should not rely on this library to build his/her userland,
but should rather build his/her own. So we remove it from the
sysroot after we successfully build the native gdb.
2009-10-03 17:09:18 +02:00
Yann E. MORIN"
399a88364f
libc/eglibc: fix building for seemingly native toolchains
...
Build eglibc with -O2 as a fix/workaround to building
seemingly-native toolchains (see docs/overview.txt).
See:
- docs/overview.txt
- docs/known-issues.txt
- http://sourceware.org/ml/crossgcc/2009-10/msg00001.html
2009-10-02 22:10:17 +02:00
Yann E. MORIN"
443f51a2dc
libc/glibc: fix building for seemingly native toolchains
...
Build glibc with -O2 as a fix/workaround to building
seemingly-native toolchains.
See:
- docs/overview.txt
- docs/known-issues.txt
- http://sourceware.org/ml/crossgcc/2009-09/msg00055.html
2009-10-02 22:10:38 +02:00
Yann E. MORIN"
b586e9ce72
libc/glibc: remove dead code
...
The option to retrieve snapshots is already handled by
the generic 'specific date' and 'use latest' entries.
No need for a special case, as there's no code for it.
2009-10-02 00:04:24 +02:00
Yann E. MORIN"
0d9345d1da
Merge.
2009-10-01 22:12:18 +02:00
Yann E. MORIN"
9d743adb55
scripts: update config.guess and config.sub
2009-09-27 12:12:21 +02:00
Yann E. MORIN"
5fea8b3826
Insert an empty line bwetween added new versions.
2009-09-26 12:45:07 +02:00
Yann E. MORIN"
192d66e563
Merge.
2009-09-13 18:59:36 +02:00
Yann E. MORIN"
b6568d675b
config: fix indentation for options marked EXPERIMENTAL or OBSOLETE
...
Change the 2-space separation into a 1-space separation, for the sake
of homogeneity.
2009-09-13 18:44:17 +02:00
Yann E. MORIN"
0c63755957
scripts: add new version at top of choice
...
Add new versions at the top of the choice menu, not at the bottom.
2009-09-13 18:38:06 +02:00
Yann E. MORIN"
2d6a221bab
samples: correclty fix saving samples with a C library config file
2009-09-13 17:14:28 +02:00
Yann E. MORIN"
028b9d1c98
comp-libs/cloog: fix building
...
For CLooG/PPL 0.15.3, the directory name was simply cloog-ppl.
For any later versions, the driectory name does have the version, such as
cloog-ppl-0.15.4.
2009-09-13 12:25:33 +02:00
Yann E. MORIN"
414f639105
comp-libs/cloog: new versions have the version number in the dir name
...
For CLooG/PPL 0.15.3, the directory name was simply cloog-ppl.
For any later versions, the driectory name does have the version, such as
cloog-ppl-0.15.4.
2009-09-12 10:16:28 +02:00
Yann E. MORIN"
6b37673b64
samples: fix saving samples
...
Use a correct sed pattern when setting CT_PREFIX_DIR
2009-09-12 00:10:38 +02:00
Yann E. MORIN"
26b3a17f58
libc/eglibc: fix download
...
Fix the test to check if download is forced.
2009-09-12 00:11:12 +02:00
Yann E. MORIN"
ea352a96a3
samples: show the PPL, GLoog/ppl and MPC versions
...
When displaying a sample, do show the PPL, CLoog/ppl and MPC versions
2009-09-07 19:03:09 +02:00
Yann E. MORIN"
565378d2b9
samples: fix displaying selected tools
...
Do display selected tools / debug facilities when displaying a sample.
2009-09-07 18:55:11 +02:00
Yann E. MORIN"
0d434aabb6
samples: replace usage of echo with printf
...
Using printf instead of echo allows easier and better formatting.
2009-09-07 18:40:30 +02:00
Yann E. MORIN"
3136ecb066
tools wrapper: fix building
...
Remove the build tools only after the wrapper is built.
Use the corect C compiler to build the tools wrapper.
Use the correct log level.
2009-09-06 17:58:05 +02:00
Yann E. MORIN"
4a1d73f209
crosstool.sh.in: better mesage when creating script-overrides
2009-09-06 16:49:54 +02:00
Yann E. MORIN"
9ce2053352
log functions: fix CT_DoLog and CT_DoExecLog
...
$@ and $* are different when in double quotes; use $* to print the message.
2009-09-06 16:49:20 +02:00
Yann E. MORIN"
a6a0bf70ed
config.{gues,sub}: update
2009-09-01 10:41:44 +02:00
Yann E. MORIN"
2efc2b2319
config: add fallback to patch order
...
Add the possibility to fallback to either bundled or local patches
if local or bundled are missing.
2009-08-31 12:47:58 +02:00
Yann E. MORIN"
b09e70bda5
config: add the local,bundled patch order
...
This ordering first applies the local patches, then the bundeld ones.
2009-08-31 12:51:53 +02:00
Yann E. MORIN"
dc836b5e4d
config: make selecting the patch origin a choice rather than a bool
2009-08-31 12:05:52 +02:00
Yann E. MORIN"
c992de9eb5
functions: do not over-detect error when patching
2009-08-31 11:57:13 +02:00
Yann E. MORIN"
af08c2b96c
tools wrapper: fix error due to unused argument
...
In the C wrapper, the argc argument is not used, causing an error
(as we treat warnings as errors). Use a dummy allocation to get
rid of the warning.
2009-08-30 19:58:41 +02:00
Yann E. MORIN"
4bb7da8056
tools wrapper: correctly install the C wrapper
...
When building the C wrapper, specify the source file to be compiled.
2009-08-30 19:54:51 +02:00
Yann E. MORIN"
4ae5ff5fd8
tools wrapper: introduce the silent WRAPPER_NEEDED config option
...
Add the WRAPPER_NEEDED silent config option, that can be selected by
components that require it (companion libs so far).
Rely on this config option when deciding to install the wrapper,
instead of checking GMP/MPFR or PPL/CLoog/MPC.
2009-08-30 00:57:40 +02:00
Yann E. MORIN"
b7b6314a81
Merge the C wrapper.
2009-08-30 00:35:58 +02:00
Yann E. MORIN"
d811941c9a
config: choose whether to use the shell or the C wrapper
...
Offer a config choice on whether to isntall the script wrapper, or
the compiled C wrapper. Update docs/overview.txt accordingly.
2009-08-30 00:27:12 +02:00
Yann E. MORIN"
8f051d8ef6
tool wrapper: add initial wrapper coded in C
...
Add an initial wrapper:
- find the realpath of the tool being called
- add the '.' in front of the tool name
- add the '/lib' dir to the base dir of the tool
- set and export LD_LIBRARY_PATH
- execve the real tool
2009-08-29 18:27:47 +02:00
Yann E. MORIN"
922486d2b1
duma: fix downloading by forcing extension to .tar.gz
...
Downoading a non-existing file from sourceforge gives you a "200 OK"
and an index.html. As we try to retrieve a .tar.bz2 first, and duma
is bundled in a .tar.gz, we won't get appropriate content, so
just force the extension to avoid the problem.
Thanks to Ingmar Schraub <is@eseco.de> for pointing out the issue.
2009-08-28 11:57:29 +02:00
Jim F
015719a12a
glibc: fix build error caused by incorrect variable assignment
...
During the conversion to using bash arrays, the glibc build script
was improperly converted, and contains an incorrect variable
assignment to the config_options array.
2009-08-24 19:20:57 +02:00
Yann E. MORIN"
4de6139e7e
Merge the bash_array branch.
...
For every components where it makes sense, use bash arrays (instead
of a string with space-separated values) to store the options pased
to ./configure.
2009-08-19 19:52:04 +02:00
Yann E. MORIN"
83a48e12f0
Allow setting --enable-cxx-flags on gcc ./configure
...
Some setups require one to pass extra CXX flags at the time of ./configure.
Make it easy.
2009-08-19 19:44:45 +02:00
Yann E. MORIN"
8dd4a2de00
Use bash arrays to store binutils config options
2009-08-19 19:44:44 +02:00
Yann E. MORIN"
a72cc670b8
Make glibc's extra_config an array containing ./configure options
...
Change extra_config from a string to a array of options.
2009-08-19 19:44:43 +02:00
Yann E. MORIN"
59a37160af
Make gdb's extra_config an array containing ./configure options
...
Change extra_config from a string to a array of options.
2009-08-19 19:44:43 +02:00
Yann E. MORIN"
25303fc30a
Make dmalloc's extra_config an array containing ./configure options
...
Change extra_config from a string to a array of options.
2009-08-19 19:44:42 +02:00
Yann E. MORIN"
f255716872
Make gcc's extra_config an array containing ./configure options
...
Change extra_config from a string to a array of options.
2009-08-19 19:44:42 +02:00
Yann E. MORIN"
3af5465103
Make eglibc's extra_config an array containing ./configure options
...
Change extra_config from a string to a array of options.
2009-08-19 19:44:30 +02:00
Yann E. MORIN"
e4855367b4
[libc-eglibc] Rewrite part of the code
...
Rewrite part of the code to better match the rest.
Most notably, rewrite handling of:
if [ ... ] && [ ... ]
to:
if [ ... -a ... ]
This has the positive side effect of calling "[" only once, although
"[" is probably a shell built-in.
2009-07-27 22:16:07 +02:00
Yann E. MORIN"
795d135b7f
[libc-eglibc] Fix testing for existing files
...
To test for existing files, use "[ -f blabla ]", not "[ -a blabla ]"
Checking for a file exsitence with "-a" is a bashism.
Althoug we _are_ using bash, it's disturbing as it can be misread as
the 'and' operator. Fix by using "-f".
2009-07-27 22:14:08 +02:00
Yann E. MORIN"
424f64c487
Merge the AVR32 support branch to the default branch.
2009-08-08 22:15:25 +02:00
Oron Peled
b0f5a18c32
[complib:mpfr] Fix building MPFR in some weird cases
...
The tmul test uses a compiled-in input file in $(srcdir).
The problem is that the Makefile passes it unquoted. The C code
tries to stringify it using clever macros, which may *usually* work.
In my case the source directory was named:
.../toolchain-powerpc-e500v2-linux-gnuspe-1.0-2.fc10/.../tests
And guess what? During testing I found out the program fails because
it tries to open:
.../toolchain-powerpc-e500v2-1-gnuspe-1.0-2.fc10/.../tests
Yes, CPP tokenized the macro before stringifying it and not surprisingly
the 'linux' part was converted to 1.
[on Fedora-10: cpp (GCC) 4.3.2 20081105 (Red Hat 4.3.2-7)]
So the attached patch simplify the macros and pass the path as string
from the Makefile.
2009-08-03 00:49:25 +02:00
Yann E. MORIN"
946a86fb67
[config] Merge CONFIG_SHELL selection.
2009-08-03 08:50:56 +02:00
Yann E. MORIN"
33ed1557b6
Merge the queue with all new component versions.
2009-08-02 23:38:37 +02:00
Yann E. MORIN"
961bf299cd
[scripts-add-version] Handle gcc 4.4+
...
Handle gcc-4.4+ when adding a new gcc version.
2009-08-02 23:33:38 +02:00
Yann E. MORIN"
27cdd4367c
[config] Allow user to specify custom CONFIG_SHELL
...
In case the shell the user wants to use as CONFIG_SHELL is located in a
weird place (eg. /opt/bash/bin/bash), or is weirdly named (eg. bash-4),
let the user enter the patch to the shell.
2009-08-02 20:06:44 +02:00
Yann E. MORIN"
d6195c6483
[config] Add bash as a possible CONFIG_SHELL
...
On some systems and/or for some components, it may be necessary to
explicitly use bash as the shell used by ./configure and Makefiles.
2009-08-02 20:06:06 +02:00
Yann E. MORIN"
a08142a02a
[config] Change the way to select the CONFIG_SHELL
...
Transform the single boolean option to a 'choice' selection
with two options: "sh" and "ash".
This is needed to later add "bash" as override.
2009-08-02 23:43:15 +02:00
Bart vdr. Meulen
7c3dcb42dc
fix wrapper script for symlinks
...
The wrapper script placed around the target binaries when
using the companion libraries does not work for symbolic links
The wrapper scripts needs to follow the links before calling the
actual binary
Signed-off-by: Bart vdr. Meulen <bartvdrmeulen@gmail.com>
---
2009-08-02 16:45:43 +02:00
Bart vdr. Meulen
a183b3f8bc
Add g++ to required tools
...
Because gmp is now always build with --enable-cxx,
g++ has become a required tool
Signed-off-by: Bart vdr Meulen <bartvdrmeulen@gmail.com>
---
2009-08-02 16:45:33 +02:00
Yann E. MORIN"
5a4ac4ed36
[samples] Don't mix canadian samples with non-canadian ones.
...
- save the canadian smples in their own way, so as not to
mix non-canadian samples with canadian ones
- list canadian samples with the host information
2009-06-26 19:09:22 +02:00
Yann E. MORIN"
f65cb24909
Cleanup the handling of canadian settings
...
Bring handling the 'canadian' settings as par with the existing
'cross' settings.
2009-06-26 19:09:22 +02:00
Bart van der Meulen
1a84e201d0
Add support code for the canadian-cross case.
...
Add implementation for a candadian build option already
present in crosstool in order to build a cross-compiler
where build != host != target
Signed-off-by: Bart van der Meulen <bartvdrmeulen@gmail.com>
2009-06-26 19:09:22 +02:00
Yann E. MORIN"
38916b8bfb
[samples] Make saveSample.sh a little bit more generic
...
Prepare saving canadian samples by making the saveSample.sh script
a little bit more generic, using conditional code-paths (even if
there's currently a single code-path).
2009-06-26 19:09:22 +02:00
Bart van der Meulen
c8c70933f0
Don't use prefix/bin to install the buildtools.
...
Collect the build tools in a seperate folder in order to prevent accidental
calling our newly build tools.
Signed-off-by: Bart van der Meulen <bartvdrmeulen@gmail.com>
2009-06-26 19:09:22 +02:00
Bart van der Meulen
936286668b
Fix MPFR build to recognise the Mingw32 case.
...
Once we have canadian in place, Mingw32 can be a legitimate host,
so we have to recognise that along with Cygwin.
Also fix recognising Cygwin hosts.
Signed-off-by: Bart van der Meulen <bartvdrmeulen@gmail.com>
2009-06-23 22:57:12 +02:00
Yann E. MORIN"
ecb02cb9dc
Use configured shell in all build-tools wrappers
...
Abide by the user's wish to use dash as shell in
build-tools wrappers, instead of plain /bin/sh.
2009-06-23 22:56:39 +02:00
Bart van der Meulen
f9d93f2b91
Fix creating the .../lib/ directory structure in the non-sysroot case
...
The symbol link that is created in the sysroot directory only needs
to be made when the cross compiler is build with the sysroot option
Signed-off-by: Bart van der Meulen <bartvdrmeulen@gmail.com>
2009-06-23 22:52:14 +02:00
Yann E. MORIN"
b816a5e6c9
Also set CT_DEBUGROOT_DIR for non sysroot-ed toolchains.
...
In the non-sysroot-ed case, the debuf-root directory would not be set;
debug tools would have been installed God-only-knows-where...
Spotted by Bart van der Meulen <bartvdrmeulen@gmail.com>.
2009-06-23 22:52:13 +02:00
Yann E. MORIN"
abfd68cbc3
[tools] Update config.guess and config.sub
...
Update from upstream.
2009-06-23 22:52:13 +02:00
Yann E. MORIN"
4f48f57e86
Remove left-over debug lines.
...
Remove two lines of code that were commented out and are definitely not used.
2009-06-23 22:49:50 +02:00
Yann E. MORIN"
56a26d84e1
Check paths sanity before they get used.
...
Don't use the PATHs before they get checked for sanity.
2009-06-22 21:53:09 +02:00
Yann E. MORIN"
f8828f22c3
Better check for spaces in paths
...
Spaces are evil in paths. Print the path that contains a sapce.
Don't print computed paths, as they'rebased on provided paths,
and don't get space added into them.
2009-06-22 21:51:14 +02:00
Yann E. MORIN"
4cd607512b
[functions] Allow newlines (\n) in log messages
...
Allow caller to log messages with embedded newlines when calling
CT_DoLog and other logging functions (eg. CT_Abort...).
2009-06-22 21:51:13 +02:00
Martin Lund
bfe21badf8
Removed debug line
2009-06-20 19:42:00 +02:00
Martin Lund
b4467e6617
Fix libc config
2009-06-20 18:54:56 +02:00
Martin Lund
8fb846f5b5
Misc AVR32 cleanups.
2009-06-20 17:16:54 +02:00
Yann E. MORIN"
3ffe23e274
[finish-step] Fix the tools wrappers
...
Use the correct variable when iterating upon the tools
name to correctly link the tools to the wrapper.
2009-06-18 18:55:07 +02:00
Yann E. MORIN
302dd084c2
[gcc] Merge the gcc-4.4 suport to the default branch, from 1407:83083566fdd0
2009-06-17 11:38:04 +02:00
Yann E. MORIN
a7ff05b022
[finish-step] Use local variable in finish-step
...
When wrapping the tools, use a local variable when iterating.
2009-06-14 22:57:57 +02:00
Martin Lund
6b2b096869
Changed copyright
2009-06-14 22:43:33 +02:00
Yann E. MORIN"
c564be2675
populate: fix installing dynamic linker 'ld.so'
...
The dynamic linker, ld.so, needs the execute bit to be set.
Detect tht the library being installed is in fact ld.so and
install it with 0755 instead of 0644.
Fix detecting src == dst.
Use a simpler command to copy src -> dst.
Also change echo to printf, get rid of 'echo -n', which is
highly non-portable.
-------- diffstat follows --------
/trunk/scripts/populate.in | 76 43 33 0 +++++++++++++++++++++++++++++-----------------------
1 file changed, 43 insertions(+), 33 deletions(-)
2009-06-11 21:47:19 +00:00
Yann E. MORIN"
a07693b13c
/devel/gcc-4.4:
...
- ./configure: check for 'stat', needing to install the tools wrapper
- wrapper: make it a POSIX-compliant script, restore relocatability
- don't install the wrapper for symlinks
-------- diffstat follows --------
/devel/gcc-4.4/configure | 1 1 0 0 +
/devel/gcc-4.4/scripts/build/internals.sh | 22 16 6 0 ++++++++++++++++------
/devel/gcc-4.4/scripts/wrapper.in | 5 2 3 0 ++---
3 files changed, 19 insertions(+), 9 deletions(-)
2009-06-02 21:01:19 +00:00
Yann E. MORIN"
d9e898bdbc
/devel/gcc-4.4:
...
- add a wrapper to correctly set LD_LIBRARY_PATH to find our companion libraries.
-------- diffstat follows --------
/devel/gcc-4.4/scripts/build/internals.sh | 19 19 0 0 +++++++++++++++++++
/devel/gcc-4.4/scripts/wrapper.in | 15 15 0 0 +++++++++++++++
2 files changed, 34 insertions(+)
2009-06-02 17:33:04 +00:00
Yann E. MORIN"
d9ba421c78
/devel/gcc-4.4:
...
- populate.in: typo
-------- diffstat follows --------
/devel/gcc-4.4/scripts/populate.in | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2009-06-02 06:34:11 +00:00
Yann E. MORIN"
1505eb7621
/devel/gcc-4.4:
...
- build shared CLooG/ppl and MPC libraries, don't build static ones.
-------- diffstat follows --------
/devel/gcc-4.4/scripts/build/companion_libs/mpc.sh | 4 2 2 0 ++--
/devel/gcc-4.4/scripts/build/companion_libs/cloog.sh | 4 2 2 0 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
2009-06-01 18:03:23 +00:00
Yann E. MORIN"
f05ecb8360
/devel/gcc-4.4:
...
- PPL, CLooG/PPL: remove uselessly installed files.
-------- diffstat follows --------
/devel/gcc-4.4/scripts/build/companion_libs/ppl.sh | 3 3 0 0 +++
/devel/gcc-4.4/scripts/build/companion_libs/cloog.sh | 3 3 0 0 +++
2 files changed, 6 insertions(+)
2009-06-01 15:53:42 +00:00
Yann E. MORIN"
5b6ee5d9a7
/devel/gcc-4.4:
...
- fix buildging glibc in //
-------- diffstat follows --------
/devel/gcc-4.4/scripts/build/libc/glibc.sh | 25 17 8 0 +++++++++++++++++--------
1 file changed, 17 insertions(+), 8 deletions(-)
2009-06-01 11:34:57 +00:00
Yann E. MORIN"
637b137512
/devel/gcc-4.4:
...
- add gcc-4.4.0 patches, vampirised from the Gentoo patchset
- gcc-4.4.0 auto-selects and uses appropriate companion linraries
-------- diffstat follows --------
/devel/gcc-4.4/scripts/build/cc/gcc.sh | 20 18 2 0 +
/devel/gcc-4.4/patches/gcc/4.4.0/280-freebsd.patch | 188 188 0 0 ++++++++++
/devel/gcc-4.4/patches/gcc/4.4.0/140-default-format-security.patch | 98 98 0 0 +++++
/devel/gcc-4.4/patches/gcc/4.4.0/290-freebsd.patch | 128 128 0 0 +++++++
/devel/gcc-4.4/patches/gcc/4.4.0/310-uclibc-conf.patch | 70 70 0 0 ++++
/devel/gcc-4.4/patches/gcc/4.4.0/240-libstdc++-pic.patch | 106 106 0 0 ++++++
/devel/gcc-4.4/patches/gcc/4.4.0/260-sh-libgcc-stacks.patch | 50 50 0 0 +++
/devel/gcc-4.4/patches/gcc/4.4.0/100-alpha-mieee-default.patch | 48 48 0 0 +++
/devel/gcc-4.4/patches/gcc/4.4.0/180-libgomp-no-werror.patch | 24 24 0 0 +
/devel/gcc-4.4/patches/gcc/4.4.0/170-sparc64-bsd.patch | 58 58 0 0 +++
/devel/gcc-4.4/patches/gcc/4.4.0/200-libiberty.h-asprintf.patch | 30 30 0 0 ++
/devel/gcc-4.4/patches/gcc/4.4.0/220-libiberty-pic.patch | 22 22 0 0 +
/devel/gcc-4.4/patches/gcc/4.4.0/110-trampolinewarn.patch | 54 54 0 0 +++
/devel/gcc-4.4/patches/gcc/4.4.0/160-netbsd-symbolic.patch | 22 22 0 0 +
/devel/gcc-4.4/patches/gcc/4.4.0/190-flatten-switch-stmt-00.patch | 48 48 0 0 +++
/devel/gcc-4.4/patches/gcc/4.4.0/150-default-fortify-source.patch | 52 52 0 0 +++
/devel/gcc-4.4/patches/gcc/4.4.0/340-libmudflap-susv3-legacy.patch | 96 96 0 0 +++++
/devel/gcc-4.4/patches/gcc/4.4.0/120-java-nomulti.patch | 92 92 0 0 +++++
/devel/gcc-4.4/patches/gcc/4.4.0/270-sh-pr24836.patch | 48 48 0 0 +++
/devel/gcc-4.4/patches/gcc/4.4.0/330-c99-snprintf.patch | 24 24 0 0 +
/devel/gcc-4.4/patches/gcc/4.4.0/230-superh-default-multilib.patch | 24 24 0 0 +
/devel/gcc-4.4/patches/gcc/4.4.0/250-ia64-noteGNUstack.patch | 158 158 0 0 +++++++++
/devel/gcc-4.4/patches/gcc/4.4.0/300-pr40105.patch | 360 360 0 0 ++++++++++++++++++++
/devel/gcc-4.4/patches/gcc/4.4.0/210-arm-unbreak-armv4t.patch | 24 24 0 0 +
/devel/gcc-4.4/patches/gcc/4.4.0/130-cross-compile.patch | 78 78 0 0 ++++
/devel/gcc-4.4/patches/gcc/4.4.0/320-missing-execinfo_h.patch | 24 24 0 0 +
/devel/gcc-4.4/config/cc/gcc.in | 1 1 0 0 +
27 files changed, 1945 insertions(+), 2 deletions(-)
2009-05-27 21:16:01 +00:00
Yann E. MORIN"
5801d8c588
/devel/gcc-4.4:
...
- crosstool-NG.sh.in: include prefix/lib in LD_LIBRARY_PATH
-------- diffstat follows --------
/devel/gcc-4.4/scripts/crosstool-NG.sh.in | 4 4 0 0 ++++
1 file changed, 4 insertions(+)
2009-05-27 21:08:17 +00:00
Yann E. MORIN"
9a954cd1a2
/devel/gcc-4.4:
...
- functions: add a utility function that sets and exports LD_LIBRARY_PATH
-------- diffstat follows --------
/devel/gcc-4.4/scripts/functions | 30 30 0 0 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
2009-05-27 21:07:37 +00:00
Yann E. MORIN"
f149116490
/devel/gcc-4.4:
...
- gcc build script: no longer use the gcc-4.4 snapshot version
-------- diffstat follows --------
/devel/gcc-4.4/scripts/build/cc/gcc.sh | 33 13 20 0 +++++++++++++--------------------
1 file changed, 13 insertions(+), 20 deletions(-)
2009-05-25 20:09:17 +00:00
Yann E. MORIN"
21649be476
/devel/gcc-4.4:
...
- commonalise the config-knobs that:
- enable checking the newly built companion libraries
- enable building the companion libraries for the target
-------- diffstat follows --------
/devel/gcc-4.4/scripts/build/companion_libs/ppl.sh | 2 1 1 0
/devel/gcc-4.4/scripts/build/companion_libs/mpc.sh | 2 1 1 0
/devel/gcc-4.4/scripts/build/companion_libs/gmp.sh | 4 2 2 0 +-
/devel/gcc-4.4/scripts/build/companion_libs/cloog.sh | 2 1 1 0
/devel/gcc-4.4/scripts/build/companion_libs/mpfr.sh | 4 2 2 0 +-
/devel/gcc-4.4/config/companion_libs/ppl.in | 14 0 14 0 ----------
/devel/gcc-4.4/config/companion_libs/mpc.in | 13 0 13 0 ----------
/devel/gcc-4.4/config/companion_libs/gmp.in | 13 0 13 0 ----------
/devel/gcc-4.4/config/companion_libs/cloog.in | 13 0 13 0 ----------
/devel/gcc-4.4/config/companion_libs/mpfr.in | 14 0 14 0 ----------
/devel/gcc-4.4/config/companion_libs.in | 46 35 11 0 ++++++++++++++++++++++++++--------
11 files changed, 42 insertions(+), 85 deletions(-)
2009-05-25 19:46:58 +00:00
Yann E. MORIN"
52e72144d7
/devel/gcc-4.4:
...
- add support for building the MPC library.
-------- diffstat follows --------
/devel/gcc-4.4/scripts/build/companion_libs/ppl.sh | 4 2 2 0 +-
/devel/gcc-4.4/scripts/build/companion_libs/mpc.sh | 57 57 0 0 ++++++++++++++++++++++++++++++++++
/devel/gcc-4.4/scripts/build/companion_libs/cloog.sh | 4 2 2 0 +-
/devel/gcc-4.4/scripts/crosstool-NG.sh.in | 3 3 0 0 ++
/devel/gcc-4.4/steps.mk | 1 1 0 0 +
/devel/gcc-4.4/config/companion_libs/mpc.in | 32 32 0 0 +++++++++++++++++++
/devel/gcc-4.4/config/companion_libs.in | 15 10 5 0 ++++++---
7 files changed, 107 insertions(+), 9 deletions(-)
2009-05-25 18:22:26 +00:00
Yann E. MORIN"
843a16f70c
/devel/gcc-4.4:
...
- GMP: unconditionnaly build the C++ wrappers and use exceptions
-------- diffstat follows --------
/devel/gcc-4.4/scripts/build/companion_libs/gmp.sh | 11 2 9 0 ++---------
1 file changed, 2 insertions(+), 9 deletions(-)
2009-05-25 17:26:21 +00:00
Yann E. MORIN"
822fb9415e
/devel/gcc-4.4:
...
- add support for building CLooG
-------- diffstat follows --------
/devel/gcc-4.4/scripts/build/companion_libs/cloog.sh | 60 60 0 0 ++++++++++++++++++++++++++++++++++
/devel/gcc-4.4/scripts/addToolVersion.sh | 3 2 1 0 +-
/devel/gcc-4.4/scripts/crosstool-NG.sh.in | 3 3 0 0 ++
/devel/gcc-4.4/steps.mk | 1 1 0 0 +
/devel/gcc-4.4/config/companion_libs/cloog.in | 32 32 0 0 ++++++++++++++++++
/devel/gcc-4.4/config/companion_libs.in | 1 1 0 0 +
6 files changed, 99 insertions(+), 1 deletion(-)
2009-05-24 22:04:14 +00:00
Yann E. MORIN"
6c5993d038
/devel/gcc-4.4:
...
- cleanup the PPL build
-------- diffstat follows --------
/devel/gcc-4.4/scripts/build/companion_libs/ppl.sh | 4 2 2 0 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
2009-05-24 22:02:30 +00:00
Yann E. MORIN"
e03219c3d6
/devel/gcc-4.4:
...
- cleanup GMP build
-------- diffstat follows --------
/devel/gcc-4.4/scripts/build/companion_libs/gmp.sh | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2009-05-24 21:59:08 +00:00
Yann E. MORIN"
6f04a46339
/devel/gcc-4.4:
...
- build a shared ppl, don't build a static ppl
-------- diffstat follows --------
/devel/gcc-4.4/scripts/build/companion_libs/ppl.sh | 7 4 3 0 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
2009-05-24 21:49:30 +00:00
Yann E. MORIN"
3b72d01b52
/devel/gcc-4.4:
...
- build a shared mpfr, don't build a static mpfr
-------- diffstat follows --------
/devel/gcc-4.4/scripts/build/companion_libs/mpfr.sh | 4 2 2 0 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
2009-05-24 21:48:41 +00:00
Yann E. MORIN"
2614b1eb7b
/devel/gcc-4.4:
...
- build a shared gmp, don't build a static gmp
-------- diffstat follows --------
/devel/gcc-4.4/scripts/build/companion_libs/gmp.sh | 6 3 3 0 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
2009-05-24 21:46:30 +00:00
Martin Lund"
07a71d8c42
Added support for Atmel AVR32 headers
2009-05-23 18:46:42 +00:00
Martin Lund"
72aea3b682
Temp fix for newlib configure. Updated avr32 crosstool.config.
2009-05-22 20:44:01 +00:00
Martin Lund"
a94b870756
Added initial AVR32 support (bare-metal,newlib)
2009-05-22 14:46:18 +00:00
Yann E. MORIN"
3a85d55aa8
/devel/gcc-4.4:
...
- add PPL download mirror at the gcc ftp site.
-------- diffstat follows --------
/devel/gcc-4.4/scripts/build/companion_libs/ppl.sh | 3 2 1 0 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
2009-05-21 19:07:16 +00:00
Yann E. MORIN"
45747a6453
Merge the uClinux/noMMU stuff back to /trunk:
...
- merge Linux and uClinux back to a single kernel
- add ARCH_USE_MMU and acquainted config options that
architectures can auto-select
- make binutils and elf2flt two "Binary utilities" that
go in a single common sub-{menu,directory} structure
-------- diffstat follows --------
/trunk/scripts/build/kernel/uclinux.sh | 2 0 2 0 -
/trunk/scripts/build/kernel/linux.sh | 206 204 2 0 +++++++++++++++++++++++++++++
/trunk/scripts/build/kernel/linux-common.sh | 198 0 198 0 ----------------------------
/trunk/scripts/build/binutils.sh | 232 0 232 0 --------------------------------
/trunk/scripts/build/elf2flt.sh | 150 0 150 0 ---------------------
/trunk/scripts/crosstool-NG.sh.in | 6 4 2 0 +
/trunk/config/kernel/linux.in | 249 249 0 0 +++++++++++++++++++++++++++++++++++
/trunk/config/kernel/linux.in-common | 252 0 252 0 -----------------------------------
/trunk/config/kernel/uclinux.in | 21 0 21 0 ---
/trunk/config/target.in | 23 22 1 0 +++
/trunk/config/elf2flt.in | 49 0 49 0 -------
/trunk/config/libc/glibc.in | 2 1 1 0
/trunk/config/libc/eglibc.in | 2 1 1 0
/trunk/config/config.in | 1 0 1 0 -
/trunk/config/arch/sh.in | 1 1 0 0 +
/trunk/config/arch/arm.in | 2 1 1 0
/trunk/config/arch/powerpc.in | 1 1 0 0 +
/trunk/config/arch/ia64.in | 1 1 0 0 +
/trunk/config/arch/alpha.in | 1 1 0 0 +
/trunk/config/arch/x86.in | 1 1 0 0 +
/trunk/config/arch/mips.in | 1 1 0 0 +
/trunk/config/arch/powerpc64.in | 1 1 0 0 +
22 files changed, 489 insertions(+), 913 deletions(-)
2009-05-20 20:13:13 +00:00
Yann E. MORIN"
f759f2676f
elf2flt:
...
- fix white-space damage
-------- diffstat follows --------
/trunk/scripts/build/elf2flt.sh | 6 3 3 0 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
2009-05-13 21:00:50 +00:00
Yann E. MORIN"
df07dda46d
Merge the /deve/uclinux branch back to /trunk:
...
- add support for uClinux, the MMU-less ports of Linux.
-------- diffstat follows --------
/trunk/scripts/build/kernel/linux.sh | 100 1 99 0 ---------------
/trunk/steps.mk | 1 1 0 0 +
/trunk/config/kernel/linux.in | 247 0 247 0 -------------------------------------
/trunk/config/kernel.in | 2 1 1 0
/trunk/config/libc/glibc.in | 2 1 1 0
/trunk/config/libc/eglibc.in | 2 1 1 0
/trunk/config/libc/glibc-eglibc.in-common | 5 5 0 0 +
/trunk/config/config.in | 1 1 0 0 +
8 files changed, 11 insertions(+), 349 deletions(-)
2009-05-13 20:55:15 +00:00
Yann E. MORIN"
e89072b5a5
Add a new action: show-tuple
...
- in a directory containing a crosstool-NG configuration,
prints the tuple of the configured target to stdout.
-------- diffstat follows --------
/trunk/Makefile.in | 4 3 1 0 +++-
/trunk/scripts/showTuple.sh.in | 30 30 0 0 ++++++++++++++++++++++++++++++
/trunk/ct-ng.comp | 2 1 1 0 +-
/trunk/ct-ng.in | 10 9 1 0 +++++++++-
4 files changed, 43 insertions(+), 3 deletions(-)
2009-05-13 18:10:47 +00:00
Yann E. MORIN"
f24796f24a
sstrip:
...
- update the upstream URL, now buildroot has migrated to using git
instead of svn.
-------- diffstat follows --------
/trunk/scripts/build/tools/200-sstrip.sh | 11 8 3 0 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
2009-05-11 20:45:42 +00:00
Yann E. MORIN"
45ccabcbfb
Fix building uClibc:
...
- fix headers installation
-------- diffstat follows --------
/trunk/scripts/build/libc/uClibc.sh | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2009-05-11 20:19:50 +00:00
Yann E. MORIN"
656d56551e
Workaround for "PowerPC-8xx CPU15 errata" (whatever that might be).
...
Patch by Nye LIU: http://sourceware.org/ml/crossgcc/2009-05/msg00014.html
-------- diffstat follows --------
/trunk/patches/eglibc/2_9/100-powerpc-8xx-CPU15-errata.patch | 49 49 0 0 ++++++++++++++++++
/trunk/scripts/build/libc/eglibc.sh | 10 9 1 0 +++-
2 files changed, 58 insertions(+), 1 deletion(-)
2009-05-07 19:30:32 +00:00
Yann E. MORIN"
7032dea8ba
Fix installing uClibc headers for versions prior to 0.9.30.
...
Fix a comment about installing uClibc.
Automatically enable // build for uClibc versions that can be built in //.
-------- diffstat follows --------
/trunk/scripts/build/libc/uClibc.sh | 32 23 9 0 +++++++++++++++++++++++---------
/trunk/config/libc/uClibc.in | 12 7 5 0 +++++++-----
2 files changed, 30 insertions(+), 14 deletions(-)
2009-05-07 18:56:31 +00:00
Yann E. MORIN"
a0cf91e83b
Add support for building PPL:
...
- PPL will be needed to correctly build gcc-4.4+ for the
GRAPHITE loop optimisation
-------- diffstat follows --------
/trunk/scripts/build/companion_libs/ppl.sh | 66 66 0 0 ++++++++++++++++++++++++++++++++++++
/trunk/scripts/build/companion_libs/gmp.sh | 24 19 5 0 ++++++++++---
/trunk/scripts/addToolVersion.sh | 3 2 1 0 +-
/trunk/scripts/crosstool-NG.sh.in | 3 3 0 0 ++
/trunk/steps.mk | 1 1 0 0 +
/trunk/config/companion_libs/ppl.in | 33 33 0 0 ++++++++++++++++++
/trunk/config/companion_libs.in | 22 19 3 0 ++++++++++--
7 files changed, 143 insertions(+), 9 deletions(-)
2009-05-05 22:04:20 +00:00
Yann E. MORIN"
38c549d748
Prepare for gcc-4.4:
...
- add 'companion_libs/' to hold all libraries needed to build gcc-4.3+ and gcc-4.4+
- move GMP & MPFR to 'companion_libs/'
-------- diffstat follows --------
/trunk/scripts/build/gmp.sh | 85 0 85 0 ----------------------------
/trunk/scripts/build/mpfr.sh | 139 0 139 0 ---------------------------------------------
/trunk/scripts/addToolVersion.sh | 4 2 2 0
/trunk/scripts/crosstool-NG.sh.in | 4 2 2 0
/trunk/config/companion_libs.in | 17 10 7 0 +++---
/trunk/config/gmp_mpfr/gmp.in | 32 0 32 0 ----------
/trunk/config/gmp_mpfr/mpfr.in | 42 0 42 0 --------------
/trunk/config/config.in | 2 1 1 0
/trunk/config/gmp_mpfr.in | 35 0 35 0 -----------
9 files changed, 15 insertions(+), 345 deletions(-)
2009-05-03 21:10:15 +00:00
Yann E. MORIN"
ba23a380ce
Update the config.{guess,sub} scripts.
...
-------- diffstat follows --------
/trunk/scripts/config.guess | 7 5 2 0 +++++--
/trunk/scripts/config.sub | 3 2 1 0 ++-
2 files changed, 7 insertions(+), 3 deletions(-)
2009-04-27 17:05:49 +00:00
Yann E. MORIN"
1805f4e62d
There's no longer any reason to require GNU awk:
...
- the only part that required it (socks proxy settings) is gone,
- all remaining awk scripts are POSIXly correct (or should be).
-------- diffstat follows --------
/trunk/configure | 5 2 3 0 ++---
/trunk/Makefile.in | 2 0 2 0 --
/trunk/scripts/build/kernel/linux.sh | 2 1 1 0 +-
/trunk/scripts/build/internals.sh | 1 0 1 0 -
/trunk/scripts/build/mpfr.sh | 2 1 1 0 +-
/trunk/scripts/functions | 4 2 2 0 ++--
/trunk/scripts/saveSample.sh.in | 4 2 2 0 ++--
7 files changed, 8 insertions(+), 12 deletions(-)
2009-04-20 21:10:03 +00:00
Yann E. MORIN"
06b48c1518
Set the execute bit on generated script at build time, not install time.
...
Do not advertise "make install" when ./configure-d with "--local".
-------- diffstat follows --------
/trunk/configure | 8 5 3 0 +++++---
/trunk/Makefile.in | 10 3 7 0 +++-------
2 files changed, 8 insertions(+), 10 deletions(-)
2009-04-20 19:57:16 +00:00
Yann E. MORIN"
9643bcbb55
Simplify the mirror settings.
...
-------- diffstat follows --------
/trunk/scripts/functions | 7 3 4 0 ++---
/trunk/config/global/download.in | 60 14 46 0 +++++++++++-----------------------------------
2 files changed, 17 insertions(+), 50 deletions(-)
2009-04-19 16:58:21 +00:00
Yann E. MORIN"
15e04fe2de
Get rid of the proxy settings, once and for all.
...
They have nothing to do in here, just let the user
configure his/her system appropriately.
-------- diffstat follows --------
/trunk/scripts/build/libc/eglibc.sh | 1 0 1 0 -
/trunk/scripts/functions | 100 0 100 0 -----------------------------
/trunk/config/global/download.in | 148 0 148 0 -------------------------------------------
3 files changed, 249 deletions(-)
2009-04-19 16:34:59 +00:00
Yann E. MORIN"
9be02f047e
Use "${awk}", not gawk.
...
/trunk/scripts/build/kernel/linux.sh | 2 1 1 0 +-
/trunk/scripts/build/mpfr.sh | 2 1 1 0 +-
/trunk/scripts/functions | 4 2 2 0 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
2009-04-06 20:27:17 +00:00
Yann E. MORIN"
529d2f6cbe
Cleanup the tic build used for native ncurses build, itself needed for native gdb build.
...
/trunk/scripts/build/debug/300-gdb.sh | 24 12 12 0 ++++++++++++------------
/trunk/scripts/build/internals.sh | 1 0 1 0 -
2 files changed, 12 insertions(+), 13 deletions(-)
2009-03-30 21:17:21 +00:00
Yann E. MORIN"
edf2be89a1
Remove test files.
...
/trunk/scripts/crosstool-NG.sh.in | 6 4 2 0 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
2009-03-29 21:05:13 +00:00
Yann E. MORIN"
91a189c7ba
Only create the state dir if asked for a restartable build:
...
- introduce the config dir, where components can store their config files
- move the munged uClibc config file to the config dir
- now, the state dir really is an indication that a build can be restarted
Thanks to Groleo Marius <groleo@gmail.com> for spotting the inconsistency
of the state dir usage, and suggesting this change.
/trunk/scripts/build/libc/uClibc.sh | 6 3 3 0 +++---
/trunk/scripts/crosstool-NG.sh.in | 9 7 2 0 +++++++--
/trunk/scripts/functions | 15 12 3 0 ++++++++++++---
3 files changed, 22 insertions(+), 8 deletions(-)
2009-03-27 23:40:07 +00:00
Yann E. MORIN"
3a181fe514
Detect and abort on partially patched component.
...
/trunk/scripts/functions | 18 15 3 0 +++++++++++++++---
1 file changed, 15 insertions(+), 3 deletions(-)
2009-03-27 21:30:47 +00:00
Yann E. MORIN"
b79ffe16c6
Refuse to build/install on file systems that are *not* case-sensitive.
...
/trunk/scripts/crosstool-NG.sh.in | 9 9 0 0 +++++++++
1 file changed, 9 insertions(+)
2009-03-27 18:53:54 +00:00
Yann E. MORIN"
6501c29fd1
Merge r1432:1437 from /branches/newlib into /trunk :
...
- under bare-metal, the user is responsible for providing a gdbserver stub (r1433)
- install a CT_TARGET-cc -> CT_TARGET-gcc symlink for the core gcc (r1434)
- allow broader dependency in generated config files (r1435, r1436)
- prepare C library menuconfig for using a C library under bare-metal (r1437)
/trunk/scripts/build/cc/gcc.sh | 4 4 0 0 ++++
/trunk/config/debug/gdb.in | 5 5 0 0 +++++
/trunk/config/libc/glibc.in | 1 1 0 0 +
/trunk/config/libc/uClibc.in | 1 1 0 0 +
/trunk/config/libc/eglibc.in | 2 1 1 0 +-
/trunk/config/config.mk | 20 8 12 0 ++++++++------------
/trunk/config/arch/sh.in | 2 1 1 0 +-
/trunk/config/arch/ia64.in | 2 1 1 0 +-
/trunk/config/arch/powerpc64.in | 2 1 1 0 +-
/trunk/config/libc.in | 4 0 4 0 ----
10 files changed, 23 insertions(+), 20 deletions(-)
2009-03-26 18:58:13 +00:00
Yann E. MORIN"
355586027b
Add support for building toolchains with gcc-4.4 snapshots.
...
Initial patch by Dmitry PLOTNIKOV: http://sourceware.org/ml/crossgcc/2009-03/msg00053.html
It [the toolchain] uses current ct-ng (nightly snapshot 20090324, latest
release 1.3.2 work also), glibc 2.9 (from CVS), binutils 2.19 and latest
snapshot of GCC 4.4.0 (as of March 20, 2009).
We have successfully built linux kernel 2.6.29 and a lot of other stuff
with this toolchain.
Here's the patch that adds GCC 4.4.0 to the ct-ng menu and enables it to
download a 4.4.0 snapshot from ftp.
Patch was adpated by me, mostly to better fit the configuration layout.
/trunk/scripts/build/cc/gcc.sh | 34 22 12 0 ++++++++++++++++++++++------------
/trunk/config/cc/gcc.in | 35 30 5 0 ++++++++++++++++++++++++++++++-----
2 files changed, 52 insertions(+), 17 deletions(-)
2009-03-26 18:47:34 +00:00
Yann E. MORIN"
6c060f2375
Finally make ncurses-5.7 corctly build:
...
- find the executables extension (needed under some OS, like Winblows)
- build tic in //
- simplify the make and install command lines
/trunk/scripts/build/debug/300-gdb.sh | 10 7 3 0 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
2009-03-24 17:39:45 +00:00
Yann E. MORIN"
0e4c0c8815
Log the save/restore messages at a level that is always visible.
...
/trunk/scripts/functions | 7 5 2 0 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
2009-03-24 17:37:52 +00:00
Yann E. MORIN"
37d19f8954
Final touch to the ncurses build step:
...
- use build tools to build tic, instead of native ones.
/trunk/scripts/build/debug/300-gdb.sh | 9 6 3 0 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
2009-03-23 23:35:36 +00:00
Yann E. MORIN"
893f21944c
xlcwu <xlcwu.taiwan@gmail.com> wrote:
...
Seems ncurses 5.7 need build host stage for tic step; if use host tic
(ubuntu) the build process hang in the below step.
So I guess need to build ncurses host stage to build new tic
and provided a patch to that efect.
And in fact, we do need "tic" to run on the _build_ system to properly
generate the terminfo database.
Note: this is fully functional, but still requires a litle bit of
tweaking so that ${CT_BUILD}-gcc gets used instead of plain gcc.
But that's a minor problem for now...
/trunk/scripts/build/debug/300-gdb.sh | 35 33 2 0 +++++++++++++++++++++++++++++++++--
/trunk/scripts/build/internals.sh | 1 1 0 0 +
2 files changed, 34 insertions(+), 2 deletions(-)
2009-03-23 23:05:08 +00:00
Yann E. MORIN"
9d6fe97aae
Update the config.{guess,sub} files.
...
/trunk/scripts/config.guess | 21 16 5 0 ++++++++++++++++-----
/trunk/scripts/config.sub | 10 8 2 0 ++++++++--
2 files changed, 24 insertions(+), 7 deletions(-)
2009-03-15 20:52:50 +00:00
Yann E. MORIN"
509b3e52e9
Sanitise using glibc cvs exports:
...
- recently, tarballs for glibc 2.8 and 2.9 have appeared on the GNU ftp site
- always use a dot in version strings (eg. 2.9, not 2_9)
/trunk/scripts/build/libc/glibc.sh | 135 76 59 0 +++++++++++++++++++++++++-------------------
/trunk/config/libc/glibc.in | 71 45 26 0 +++++++++++++++--------
2 files changed, 121 insertions(+), 85 deletions(-)
2009-03-15 20:50:40 +00:00
Yann E. MORIN"
24003e416f
Do not copy ecj.jar when it's not required.
...
/trunk/scripts/build/cc/gcc.sh | 4 3 1 0 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
2009-03-15 20:08:06 +00:00
Yann E. MORIN"
6d392339c6
When patching, always assume the package has been previously extraacted (don't check).
...
"chmod u+w" the full src tree: because of nochdir and cvs snapshots, we can't reliably know were we are...
/trunk/scripts/functions | 11 3 8 0 +++--------
1 file changed, 3 insertions(+), 8 deletions(-)
2009-03-15 20:06:40 +00:00
Yann E. MORIN"
36871474d3
Correctly use CT_DoExecLog with wget and curl.
...
/trunk/scripts/functions | 16 8 8 0 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
2009-03-13 10:34:53 +00:00
Yann E. MORIN"
9bd1c96d1f
Fix building MPFR >= 2.4.0.
...
/trunk/scripts/build/mpfr.sh | 51 29 22 0 ++++++++++++++++++++++++++++----------------------
1 file changed, 29 insertions(+), 22 deletions(-)
2009-03-08 22:13:27 +00:00
Yann E. MORIN"
e1063055a2
Use "grep -E" instead of the deprecated "egrep".
...
/trunk/scripts/build/debug/200-duma.sh | 2 1 1 0 +-
/trunk/scripts/build/libc/uClibc.sh | 2 1 1 0 +-
/trunk/scripts/crosstool-NG.sh.in | 4 2 2 0 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
2009-03-08 17:09:39 +00:00
Yann E. MORIN"
8d993f036a
Use the common functions (CT_GetSVN, CT_Extract and CT_Patch) to retrieve,
...
extract and patch sstrip from buildroot.
/trunk/scripts/build/tools/200-sstrip.sh | 16 3 13 0 +++-------------
1 file changed, 3 insertions(+), 13 deletions(-)
2009-03-08 11:15:58 +00:00
Yann E. MORIN"
8e49c29255
Add CT_GetSVN to commonalise retrieval from SVN (ala CT_GetCVS).
...
/trunk/scripts/functions | 34 33 1 0 +++++++++++++++++++++++++++++++++-
1 file changed, 33 insertions(+), 1 deletion(-)
2009-03-08 11:14:54 +00:00
Yann E. MORIN"
a0c6dea176
Fix extracting/patching DUMA:
...
- DUMA uses an underscore between the name and version, not a dash.
/trunk/scripts/build/debug/200-duma.sh | 1 1 0 0 +
1 file changed, 1 insertion(+)
2009-03-06 13:27:40 +00:00
Yann E. MORIN"
5f5cf95dd0
Re-instate the glibc/eglibc config option LIBC_GLIBC_CONFIGPARMS for use by SuperH.
...
Set appropriate defaults depending on target.
/trunk/scripts/build/libc/glibc.sh | 14 7 7 0 +++++++-------
/trunk/config/libc/glibc-eglibc.in-common | 15 15 0 0 +++++++++++++++
2 files changed, 22 insertions(+), 7 deletions(-)
2009-03-05 17:50:42 +00:00
Yann E. MORIN"
fec3baeca6
Check that a pacakge was previously extracted prior to patching.
...
Fix a comment.
/trunk/scripts/functions | 8 5 3 0 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
2009-03-04 18:25:58 +00:00
Yann E. MORIN"
806a517cc2
Move do_finish from scripts/functions to its own file in scipts/build/internals.sh.
...
/trunk/scripts/build/internals.sh | 907 4 903 0 ---------------------------------------------
/trunk/scripts/addToolVersion.sh | 8 4 4 0
/trunk/scripts/crosstool-NG.sh.in | 1 1 0 0 +
/trunk/scripts/functions | 48 0 48 0 --
4 files changed, 9 insertions(+), 955 deletions(-)
2009-03-04 17:59:35 +00:00
Yann E. MORIN"
46d3ec734a
Warn the user when he/she tries to save a sample that uses local patches
...
and/or custom Linux kernel headers.
/trunk/scripts/saveSample.sh.in | 18 17 1 0 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
2009-03-03 21:53:50 +00:00
Yann E. MORIN"
b6b7925fcb
Rename the custom header option.
...
/trunk/scripts/build/kernel/linux.sh | 12 6 6 0 ++++++------
/trunk/config/kernel/linux.in | 4 2 2 0 ++--
2 files changed, 8 insertions(+), 8 deletions(-)
2009-03-03 20:29:35 +00:00
Yann E. MORIN"
ea604716d9
When using custom Linux kernel headers, allow using a tarball.
...
/trunk/scripts/build/kernel/linux.sh | 19 16 3 0 ++++++++++++++++---
/trunk/config/kernel/linux.in | 35 26 9 0 ++++++++++++++++++++++++++---------
2 files changed, 42 insertions(+), 12 deletions(-)
2009-03-03 18:43:38 +00:00
Yann E. MORIN"
6822fae02e
Allow user to add a directory component in the sys-root path.
...
Rename CT_DEBUG_INSTALL_DIR to CT_DEBUGROOT_DIR (to match CT_SYSROOT_DIR).
As a side effect, fix creating lib64->lib symlinks.
/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 | 6 3 3 0 +++---
/trunk/scripts/build/debug/500-strace.sh | 2 1 1 0 +-
/trunk/scripts/build/debug/200-duma.sh | 6 3 3 0 +++---
/trunk/scripts/crosstool-NG.sh.in | 16 7 9 0 +++++++---------
/trunk/scripts/functions | 2 1 1 0 +-
/trunk/config/toolchain.in | 17 17 0 0 +++++++++++++++++
8 files changed, 34 insertions(+), 19 deletions(-)
2009-03-03 17:41:59 +00:00
Yann E. MORIN"
fd268ea38b
Fix extracting tarballs.
...
/trunk/scripts/functions | 6 5 1 0 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
2009-02-19 07:38:32 +00:00
Yann E. MORIN"
f962e240a3
On some hosts (eg. Cygwin), it's not possible to build the uClibc hostutils. Offer an option to enable/disable the uClibc hostutils build.
...
/trunk/scripts/build/libc/uClibc.sh | 39 12 27 0 ++++++++++++---------------------------
/trunk/config/libc/uClibc.in | 10 10 0 0 ++++++++++
2 files changed, 22 insertions(+), 27 deletions(-)
2009-02-11 10:40:26 +00:00
Yann E. MORIN"
f621e51c3d
"chmod -R u+w" extracted tarballs, as some may have read-only files in them (ncurses-5.7 does).
...
/trunk/scripts/functions | 3 3 0 0 +++
1 file changed, 3 insertions(+)
2009-02-10 08:52:13 +00:00
Yann E. MORIN"
2177fb68ca
Put the uclibc munged config file in the "state" directory, so it survives a restart.
...
/trunk/scripts/build/libc/uClibc.sh | 8 4 4 0 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
2009-02-08 12:15:52 +00:00
Yann E. MORIN"
2e0b9c9e31
Make MPFR build under Cygwin.
...
/trunk/scripts/build/mpfr.sh | 24 20 4 0 ++++++++++++++++++++----
1 file changed, 20 insertions(+), 4 deletions(-)
2009-02-07 20:11:13 +00:00
Yann E. MORIN"
cb8cfd3d80
Don't add versions that already exist.
...
/trunk/scripts/addToolVersion.sh | 15 14 1 0 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
2009-02-02 21:56:30 +00:00
Yann E. MORIN"
7fc16eff80
Fix patch-renumber:
...
- look at the patch directory when using svnversion, not at current directory
- some code beautification.
/trunk/scripts/patch-renumber.sh | 9 7 2 0 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
2009-02-01 23:15:59 +00:00
Yann E. MORIN"
8eed91405e
Fix populate to correctly use tools discovered via ./configure.
...
/trunk/scripts/functions | 11 8 3 0 ++++++++---
/trunk/scripts/populate.in | 6 4 2 0 ++++--
2 files changed, 12 insertions(+), 5 deletions(-)
2009-02-01 22:41:16 +00:00
Yann E. MORIN"
692749b67e
Use tools discovered by ./configure in scripts/toolchain-config.in.
...
/trunk/scripts/crosstool-NG.sh.in | 1 1 0 0 +
/trunk/scripts/toolchain-config.in | 2 1 1 0 +-
2 files changed, 2 insertions(+), 1 deletion(-)
2009-02-01 18:51:19 +00:00
Yann E. MORIN"
d80eda68dd
Use tools discovered via ./configure in scripts/showSample.sh; make it a POSIX shell script.
...
/trunk/scripts/showSamples.sh | 10 7 3 0 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
2009-02-01 18:43:45 +00:00
Yann E. MORIN"
430ce931e1
Use tools discovered by ./configure in scripts/saveSample.sh
...
/trunk/Makefile.in | 7 6 1 0 ++++++-
/trunk/scripts/saveSample.sh.in | 23 13 10 0 +++++++++++++----------
2 files changed, 19 insertions(+), 11 deletions(-)
2009-02-01 17:11:46 +00:00
Yann E. MORIN"
3f4bf75a27
Fix removing directories.
...
/trunk/scripts/functions | 7 4 3 0 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
2009-02-01 17:04:00 +00:00
Yann E. MORIN"
94e376af77
Add support for powerpc64, along with an EXPERIMENTAL sample.
...
/trunk/scripts/build/arch/powerpc64.sh | 21 1 20 0 -
/trunk/scripts/build/arch/powerpc.sh | 21 1 20 0 -
/trunk/samples/powerpc64-unknown-linux-gnu/crosstool.config | 388 388 0 0 +++++++++++++++++++
/trunk/samples/powerpc64-unknown-linux-gnu/reported.by | 3 3 0 0 +
/trunk/config/arch/powerpc-powerpc64.in-common | 12 4 8 0 -
/trunk/config/arch/powerpc.in | 15 0 15 0 -
/trunk/config/arch/powerpc64.in | 19 3 16 0 -
7 files changed, 400 insertions(+), 79 deletions(-)
2009-01-31 17:39:35 +00:00
Yann E. MORIN"
04fa7e0569
Further handle the lib64 -> lib symlinks.
...
It at least helps powerpc64 to build, and should innocuous to other archs.
/trunk/scripts/crosstool-NG.sh.in | 8 6 2 0 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
2009-01-31 17:38:26 +00:00
Yann E. MORIN"
1a346ed273
Fix downloading with CT_GetFile when no mirror is set.
...
/trunk/scripts/functions | 8 5 3 0 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
2009-01-31 13:15:18 +00:00
Yann E. MORIN"
2aaa5b8b68
Update populate:
...
- use tools found by ./configure
- some POSIX and eye-candy cleanups
/trunk/scripts/functions | 7 4 3 0 +++--
/trunk/scripts/populate.in | 70 46 24 0 ++++++++++++++++++++++++++++++++++------------------
2 files changed, 50 insertions(+), 27 deletions(-)
2009-01-29 22:35:26 +00:00
Yann E. MORIN"
0cdb819a4e
If compiling the Java frontend, we'll require a native gcj, but only in this case.
...
/trunk/scripts/crosstool-NG.sh.in | 8 7 1 0 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
2009-01-29 22:09:55 +00:00
Yann E. MORIN"
c310dd7605
Use the path discovered by ./configure in scripts/patch-renumber.sh
...
It now requires that "./configure && make" be run beforehand.
/trunk/scripts/patch-renumber.sh | 6 5 1 0 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
2009-01-29 19:00:08 +00:00
Yann E. MORIN"
1b05494c83
Use the path discovered by ./configure in scripts/addToolVersion.sh
...
It now requires that "./configure && make" be run beforehand.
/trunk/scripts/addToolVersion.sh | 10 7 3 0 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
2009-01-29 18:53:32 +00:00
Yann E. MORIN"
fcd59328f4
Fix scripts/addToolVersion.sh:
...
- make it a PSOX shell script (hopefully)
- enhance the command line parsing
/trunk/scripts/addToolVersion.sh | 161 102 59 0 +++++++++++++++++++++++++++++-----------------
1 file changed, 102 insertions(+), 59 deletions(-)
2009-01-29 18:48:05 +00:00
Yann E. MORIN"
a2d32f2257
Add a missing line continuation '\' in the gcc retrieval function.
...
Spotted by Doug Reiland <dreiland@hotmail.com>.
/trunk/scripts/build/cc/gcc.sh | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2009-01-28 22:36:44 +00:00
Yann E. MORIN"
af244eaf45
The gcc team seems to no longer make releases available at the ftp.gnu.org site, but only on mirrors. Add such a mirror to the list of retrieval sites.
...
/trunk/scripts/build/cc/gcc.sh | 1 1 0 0 +
1 file changed, 1 insertion(+)
2009-01-27 21:36:18 +00:00
Yann E. MORIN"
6912bc6a2c
Finally used the discovered paths from ./configure in scripts/crosstool-NG.sh:
...
- fix Makefile to really, really not used built-in rules and variables
- have scripts/crosstool-NG.sh generated from scripts/crosstool-NG.sh.in
- create a bin-overide directory ( in ${CT_WORK_DIR}/bin ) that contains shell wrappers to the actual discovered tools
/trunk/scripts/crosstool-NG.sh.in | 27 23 4 0 +++++++++++++++++++++---
/trunk/Makefile.in | 50 48 2 0 +++++++++++++++++++++++++++++++++++++++++++--
2 files changed, 71 insertions(+), 6 deletions(-)
2009-01-26 22:43:08 +00:00
Yann E. MORIN"
1007fb528d
On 20090120.2203+0100, Andy Johnson <ajohnson@aecno.com> wrote:
...
The glibc.sh script doesn't handle the glibc versions with
an underscore very well (bash expected integer error). I
have attached a small patch for that. Instead of looking
for "not period" I changed the sense to look for numbers.
I initially tried to make it look for either a period or
an underscore, but that didn't work like I wanted (probably
because I did something wrong).
Original patch modified to be more robust.
/trunk/scripts/build/libc/glibc.sh | 8 4 4 0 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
2009-01-25 17:53:14 +00:00
Yann E. MORIN"
1115b43f86
On 20090115.0012+0100, "Andy Johnson" <ajohnson@aecno.com> wrote:
...
... I added a step after
"debug" called "finish", and moved the code in crosstool.sh
after the loop that processes the steps from crosstool.sh
into a do_finish function in functions. Thus, it is now
possible to restart after the "debug" step to re-do the
final few things (clean and compress).
/trunk/scripts/crosstool-NG.sh | 38 0 38 0 --------------------------------------
/trunk/scripts/functions | 42 42 0 0 ++++++++++++++++++++++++++++++++++++++++++
/trunk/steps.mk | 3 2 1 0 ++-
3 files changed, 44 insertions(+), 39 deletions(-)
2009-01-20 20:37:43 +00:00
Yann E. MORIN"
0fc2762de7
Forced-removing of a non-existing directory breaks the build.
...
Noticed by "Andy Johnson" <ajohnson@aecno.com>, who provided a patch that I adapted.
/trunk/scripts/functions | 13 10 3 0 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
2009-01-20 20:10:50 +00:00
Yann E. MORIN"
28176fe21e
Fix building ltrace on PowerPC.
...
On 20090115.0012+0100, "Andy Johnson" <ajohnson@aecno.com> wrote:
ltrace wouldn't build on PowerPC because in the
sysdeps/linux-gnu directory in the ltrace source tree
the powerpc directory is called ppc. I added some code
in 400-ltrace.sh to create a symlink for it so it will
build now.
Patch slightly modified by me before applying.
/trunk/scripts/build/debug/400-ltrace.sh | 5 5 0 0 +++++
1 file changed, 5 insertions(+)
2009-01-20 19:05:52 +00:00
Yann E. MORIN"
420f3fdd25
Rename scripts/crosstool.sh to scripts/crosstool-NG.sh.
...
After all, this is not crosstool, but really crosstool-NG!
/trunk/steps.mk | 2 1 1 0 +-
/trunk/ct-ng.in | 2 1 1 0 +-
2 files changed, 2 insertions(+), 2 deletions(-)
2009-01-18 17:45:10 +00:00
Yann E. MORIN"
83f0bec915
Fix removing existing directories by chmod'ing them to be user-writeable.
...
/trunk/scripts/crosstool.sh | 21 10 11 0 ++++++++++-----------
/trunk/scripts/functions | 7 7 0 0 +++++++
2 files changed, 17 insertions(+), 11 deletions(-)
2009-01-12 21:35:23 +00:00
Yann E. MORIN"
3ba25c5996
Fix initialising the workspace:
...
- don't remove directories in the background:
- it is highly dangerous
- it can lead to data loss in case of frequent stop/restart with a slow disk
- log actions with CT_DoExecLog as much as possible, instead of using |CT_DoLog
/trunk/scripts/crosstool.sh | 100 43 57 0 ++++++++++++++++++++++-----------------------------
1 file changed, 43 insertions(+), 57 deletions(-)
2009-01-12 18:57:45 +00:00
Yann E. MORIN"
4732188b21
Don't print anything about LAN mirror if it is not used.
...
Don't re-compute a variable that has already been computed.
/trunk/scripts/functions | 16 9 7 0 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
2009-01-12 18:54:34 +00:00
Yann E. MORIN"
3b804296f5
The uClibc site has been overhauled lately, so the URL to retrieve sstrip has changed.
...
Thanks to Thomas Monjalon <thomas@monjalon.net> and John Utz <john@utzweb.net> for spotting this.
/trunk/scripts/build/tools/200-sstrip.sh | 13 10 3 0 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
2009-01-11 18:05:25 +00:00
Yann E. MORIN"
f326356874
Add an option to forbid downloads.
...
Idea and code-base from Don Elwell <don@manifoldlabs.com>, adapted by me.
/trunk/scripts/functions | 6 6 0 0 ++++++
/trunk/config/global/download.in | 18 18 0 0 ++++++++++++++++++
2 files changed, 24 insertions(+)
2009-01-06 22:34:36 +00:00
Yann E. MORIN"
0cd8441a97
Add the Eclipse Java Compiler to be able to compile Java.
...
Andy JOHNSON wrote:
The Java compiler for GCC versions 4.3.0 and up requires the
Eclipse compiler "ecj1" to be built as well. I added "gcj" to
the list of utilities to make the initial link.
/trunk/scripts/build/cc/gcc.sh | 12 12 0 0 ++++++++++++
/trunk/scripts/crosstool.sh | 2 1 1 0 +-
/trunk/config/cc/gcc.in | 6 6 0 0 ++++++
3 files changed, 19 insertions(+), 1 deletion(-)
2009-01-06 22:10:17 +00:00
Yann E. MORIN"
8b18c7d30d
Message beautification when saving locally.
...
/trunk/scripts/functions | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2009-01-06 21:00:39 +00:00
Yann E. MORIN"
ebf01acb41
Split CT_ExtractAndPatch in two: CT_Extract and CT_Patch:
...
- it is unworkable to have CT_ExtactAndPAtch cope with all those silly glibc addons:
- they can have 'short' (as 'ports') or 'long' (as glibc-ports-2.7) names
- patches are against eithe the short or long name, but non-uniformly use one or the other
- it is the reposibility of the component (glibc in this case) to handle corner cases such as those
- update all components to use the new functions
/trunk/scripts/build/tools/000-template.sh | 3 2 1 0 +-
/trunk/scripts/build/tools/100-libelf.sh | 3 2 1 0 +-
/trunk/scripts/build/tools/200-sstrip.sh | 3 2 1 0 +-
/trunk/scripts/build/kernel/linux.sh | 3 2 1 0 +-
/trunk/scripts/build/binutils.sh | 3 2 1 0 +-
/trunk/scripts/build/cc/gcc.sh | 3 2 1 0 +-
/trunk/scripts/build/debug/000-template.sh | 3 2 1 0 +-
/trunk/scripts/build/debug/100-dmalloc.sh | 3 2 1 0 +-
/trunk/scripts/build/debug/400-ltrace.sh | 3 2 1 0 +-
/trunk/scripts/build/debug/300-gdb.sh | 9 6 3 0 +++--
/trunk/scripts/build/debug/500-strace.sh | 7 3 4 0 ++--
/trunk/scripts/build/debug/200-duma.sh | 19 8 11 0 ++++------
/trunk/scripts/build/libc/glibc.sh | 14 12 2 0 ++++++-
/trunk/scripts/build/libc/uClibc.sh | 13 9 4 0 +++++--
/trunk/scripts/build/libc/eglibc.sh | 14 12 2 0 ++++++-
/trunk/scripts/build/gmp.sh | 3 2 1 0 +-
/trunk/scripts/build/mpfr.sh | 3 2 1 0 +-
/trunk/scripts/functions | 68 36 32 0 +++++++++++++++++++-----------------
18 files changed, 108 insertions(+), 69 deletions(-)
2009-01-05 23:02:43 +00:00
Yann E. MORIN"
4bcd72fb16
Fix building DUMA:
...
- DUMA separates its name from its version with an underscore, not with a dash.
/trunk/scripts/build/debug/200-duma.sh | 3 2 1 0 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
2009-01-05 21:09:37 +00:00
Yann E. MORIN"
e3c489be38
Fix C library addons extraction:
...
- renaming the dircetory in CT_ExtratAndPatch is wrong:
- patches against the C library addons may be build against the short *or* long name... :-(
- symlink is more robust, even if less nice
- renaming the directory _after_ CT_ExtractAndPatch is too late:
- if patches are against the short name, and we renamed too the long name, patches don't apply
- so we'll never reach the point where we rename
/trunk/scripts/build/libc/glibc.sh | 1 0 1 0 -
/trunk/scripts/build/libc/eglibc.sh | 1 0 1 0 -
/trunk/scripts/functions | 2 1 1 0 +-
3 files changed, 1 insertion(+), 3 deletions(-)
2009-01-05 20:37:03 +00:00
Yann E. MORIN"
31cc00829e
Get rid of CT_LIBC_FILE, remove useless CT_MakeAbsolutePath.
...
CT_LIBC_FILE:
- that one was not easy, as it had sneaked into CT_ExtractAndPatch
- which in turn made CT_ExtractAndPatch have references to C library addons
- which in turn relieved the C library _extract functions from doing their own job
- which in turn imposed some nasty tricks in CT_ExtractAndPatch
- which in turn made life easier for the DUMA _get and _extract functions
- which unveiled some bizare behavior for pushd and popd:
- if using smthg ike: 'pushd foo |bar':
- the directory is *neither* changed
- *nor* is it pushed onto the stack
- which made popd fail
CT_MakeAbsolutePath:
- used only to make CT_LOCAL_TARBALLS_DIR canonical
- which is ((almost) useless:
- hopefully, the user entered a full path already
- if it's not the case, too bad...
/trunk/scripts/build/debug/200-duma.sh | 5 1 4 0 +--
/trunk/scripts/build/libc/glibc.sh | 61 32 29 0 +++++++++++++++++---------------
/trunk/scripts/build/libc/uClibc.sh | 16 10 6 0 +++++---
/trunk/scripts/build/libc/eglibc.sh | 48 26 22 0 ++++++++++++++-----------
/trunk/scripts/crosstool.sh | 8 0 8 0 ----
/trunk/scripts/functions | 77 15 62 0 ++++++++--------------------------------
6 files changed, 84 insertions(+), 131 deletions(-)
2009-01-04 22:17:53 +00:00
Yann E. MORIN"
ddaf4012ae
Get rid of CT_CC_FILE.
...
/trunk/scripts/build/cc/gcc.sh | 52 26 26 0 ++++++++++++++++++++++++------------------------
/trunk/scripts/crosstool.sh | 1 0 1 0 -
2 files changed, 26 insertions(+), 27 deletions(-)
2009-01-04 14:39:39 +00:00
Yann E. MORIN"
f2d6a84135
Remove support for gcc-2.95.3, it has never ever been tested.
...
/trunk/config/cc/gcc.in | 6 0 6 0 ------
/trunk/scripts/build/libc/glibc.sh | 4 0 4 0 ----
/trunk/scripts/build/libc/uClibc.sh | 4 0 4 0 ----
3 files changed, 14 deletions(-)
2009-01-04 14:38:41 +00:00
Yann E. MORIN"
7593ffbf36
Fix aborting when neither wget nor curl are present.
...
/trunk/scripts/functions | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2009-01-04 14:35:25 +00:00
Yann E. MORIN"
ba9fe0dec8
Get rid of CT_GMP_FILE and CT_MPFR_FILE.
...
/trunk/scripts/build/gmp.sh | 32 16 16 0 ++++++++++++++++----------------
/trunk/scripts/build/mpfr.sh | 38 19 19 0 +++++++++++++++++++-------------------
/trunk/scripts/crosstool.sh | 2 0 2 0 --
3 files changed, 35 insertions(+), 37 deletions(-)
2009-01-04 14:25:58 +00:00
Yann E. MORIN"
e44e1a82e4
A small layout enhancement in the Linux kernel build script.
...
/trunk/scripts/build/kernel/linux.sh | 3 2 1 0 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
2009-01-04 14:25:24 +00:00
Yann E. MORIN"
4a06d29717
Get rid of CT_BINUTILS_FILE.
...
/trunk/scripts/build/binutils.sh | 56 28 28 0 +++++++++++++++++++++++-----------------------
/trunk/scripts/crosstool.sh | 1 0 1 0 -
2 files changed, 28 insertions(+), 29 deletions(-)
2009-01-04 14:21:00 +00:00
Yann E. MORIN"
26e96f3ec5
Get rid off CT_KERNEL_FILE.
...
/trunk/scripts/build/kernel/linux.sh | 30 15 15 0 +++++++++++++++---------------
/trunk/scripts/crosstool.sh | 1 0 1 0 -
2 files changed, 15 insertions(+), 16 deletions(-)
2009-01-04 14:18:20 +00:00
Yann E. MORIN"
dc54c40704
Enable using glibc post 2.8:
...
- retrieve tarballs from FTP/HTTP for glibc 2.7 and older
- checkout from CVS for glibc 2.8 and later
- add config options for glibc-2_8 and glibc-2_9
/trunk/scripts/build/libc/glibc.sh | 50 39 11 0 ++++++++++++++++++++++++++++++++++----------
/trunk/config/libc/glibc.in | 49 49 0 0 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 88 insertions(+), 11 deletions(-)
2009-01-04 12:46:13 +00:00
Yann E. MORIN"
87daa7bd58
Add new wrapper fucntions:
...
- retrieve from local storage (CT_GetLocal)
- save to local storage (CT_SaveLocal)
- retrieve from CVS (CT_GetCVS)
- make CT_GetFile and CT_GetCVS use CT_GetLocal and CT_SaveLocal
/trunk/scripts/functions | 126 91 35 0 +++++++++++++++++++++++++++++++++++++++++++++-----------------
1 file changed, 91 insertions(+), 35 deletions(-)
2009-01-04 12:43:54 +00:00
Yann E. MORIN"
b8b7843bea
Get rid of all stuff related to building a /delivery' traball:
...
- building a delivery tarball has long been broken (since crostool-Ng is installable)
- get rid of implied do_print_filename, that can be mis-leading now tarballs can not be built
/trunk/scripts/build/kernel/bare-metal.sh | 4 0 4 0 ----
/trunk/scripts/build/kernel/linux.sh | 4 0 4 0 ----
/trunk/scripts/build/tools/000-template.sh | 11 0 11 0 -----------
/trunk/scripts/build/tools/100-libelf.sh | 4 0 4 0 ----
/trunk/scripts/build/tools/200-sstrip.sh | 11 1 10 0 +----------
/trunk/scripts/build/binutils.sh | 4 0 4 0 ----
/trunk/scripts/build/cc/gcc.sh | 5 0 5 0 -----
/trunk/scripts/build/debug/000-template.sh | 11 0 11 0 -----------
/trunk/scripts/build/debug/100-dmalloc.sh | 4 0 4 0 ----
/trunk/scripts/build/debug/400-ltrace.sh | 4 0 4 0 ----
/trunk/scripts/build/debug/300-gdb.sh | 7 0 7 0 -------
/trunk/scripts/build/debug/500-strace.sh | 4 0 4 0 ----
/trunk/scripts/build/debug/200-duma.sh | 4 0 4 0 ----
/trunk/scripts/build/libc/none.sh | 5 0 5 0 -----
/trunk/scripts/build/libc/glibc.sh | 10 0 10 0 ----------
/trunk/scripts/build/libc/uClibc.sh | 6 0 6 0 ------
/trunk/scripts/build/libc/eglibc.sh | 10 0 10 0 ----------
/trunk/scripts/build/gmp.sh | 6 0 6 0 ------
/trunk/scripts/build/mpfr.sh | 6 0 6 0 ------
/trunk/docs/overview.txt | 9 0 9 0 ---------
20 files changed, 1 insertion(+), 128 deletions(-)
2009-01-03 21:11:41 +00:00
Yann E. MORIN"
25dcd46fc9
Remove spurious line in gcc script (probably a bad copy-paste with the mouse...).
...
/trunk/scripts/build/cc/gcc.sh | 1 0 1 0 -
1 file changed, 1 deletion(-)
2009-01-03 20:53:19 +00:00
Yann E. MORIN"
a4e2d34a0f
Enable C++ for baremetal.
...
/trunk/scripts/build/cc/gcc.sh | 7 5 2 0 +++++--
/trunk/config/cc.in | 8 2 6 0 ++------
2 files changed, 7 insertions(+), 8 deletions(-)
2008-12-24 17:34:32 +00:00
Yann E. MORIN"
b91d74858a
Make it clear that, if the second argument of CT_GetFile starts with a dot, it is considered to be the preferred extension.
...
/trunk/scripts/functions | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2008-12-21 20:07:47 +00:00
Yann E. MORIN"
65bb3ac67c
Get rid of the tols/ directory:
...
- move config.guess and config.sub from tools/ into scripts/
- update the scripts and makefile fragments accordingly
/trunk/Makefile.in | 10 5 5 0 +++++-----
/trunk/scripts/functions | 16 8 8 0 ++++++++--------
/trunk/scripts/scripts.mk | 28 13 15 0 +++++++++++++---------------
/trunk/ct-ng.in | 4 2 2 0 ++--
4 files changed, 28 insertions(+), 30 deletions(-)
2008-12-16 18:12:34 +00:00
Yann E. MORIN"
59090df851
Move patch-renumber.sh from tools/ to scripts/
2008-12-15 18:09:22 +00:00
Yann E. MORIN"
4cfd308098
Move toolchain-config.in from tools/ to scripts/
...
Small documentation fix.
/trunk/scripts/crosstool.sh | 2 1 1 0 +-
/trunk/docs/overview.txt | 1 1 0 0 +
2 files changed, 2 insertions(+), 1 deletion(-)
2008-12-11 18:21:18 +00:00
Yann E. MORIN"
790695af6f
Move populate.in from tools/ to scripts/
...
/trunk/scripts/crosstool.sh | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2008-12-11 18:16:54 +00:00
Yann E. MORIN"
488f5d1e76
Move addToolsVersion.sh from tools/ to scripts/
...
/trunk/docs/overview.txt | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2008-12-11 18:12:04 +00:00
Yann E. MORIN"
eb687c65b3
Sanity-check CT_TARGET_VENDOR, CT_TARGET_ALIAS and CT_TARGET_ALIAS_SED_EXPR:
...
- vendor and alias must not contain spaces
- vendor must not contain dashes '-'
- sed_expr must not generate an alias with a space in it
/trunk/scripts/functions | 17 16 1 0 ++++++++++++++++-
/trunk/config/toolchain.in | 1 1 0 0 +
2 files changed, 17 insertions(+), 1 deletion(-)
2008-12-09 22:02:20 +00:00
Yann E. MORIN"
7ac365e075
.config is in CT_TOP_DIR, and we *are* in CT_TOP_DIR.
...
/trunk/scripts/crosstool.sh | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2008-12-09 21:25:29 +00:00
Yann E. MORIN"
6129d0cabe
Use the dedicated function CT_DoConfigSub rather than invoking config.sub directly.
...
/trunk/scripts/crosstool.sh | 4 2 2 0 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
2008-12-03 22:35:52 +00:00
Yann E. MORIN"
c2a76991ce
Minor POSIX compliance, and typo.
...
/trunk/scripts/crosstool.sh | 5 2 3 0 ++---
/trunk/scripts/functions | 3 2 1 0 ++-
2 files changed, 4 insertions(+), 4 deletions(-)
2008-11-28 23:33:04 +00:00
Yann E. MORIN"
b93e4d727b
Canonicalise CT_BUILD and CT_HOST:
...
- Not only will it give us full-qualified tuples, but it will also ensure
that they are valid tuples (in case of typo with user-provided tuples)
That's way better than trying to rewrite config.sub ourselves...
- use CT_BUILD_PREFIX and CT_BUILD_SUFFIX to call "gcc -dumpmachine"
/trunk/scripts/crosstool.sh | 29 7 22 0 +++++++----------------------
1 file changed, 7 insertions(+), 22 deletions(-)
2008-11-28 23:31:02 +00:00
Yann E. MORIN"
c101cbccac
Make it easy to use \n
...
/trunk/scripts/functions | 5 4 1 0 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
2008-11-28 17:51:39 +00:00
Yann E. MORIN"
1daa4db721
Build dmalloc with -fPIC to sucessfully build the shared library with newer binutils.
...
/trunk/scripts/build/debug/100-dmalloc.sh | 1 1 0 0 +
1 file changed, 1 insertion(+)
2008-11-24 12:13:36 +00:00
Yann E. MORIN"
42fe84cd15
Overide locale to C so as to have readable logs.
...
Offer a DEBUG & EXPERIMENTAL setting to not overide locale.
/trunk/scripts/crosstool.sh | 10 7 3 0 +++++++---
/trunk/config/global/ct-behave.in | 17 17 0 0 +++++++++++++++++
2 files changed, 24 insertions(+), 3 deletions(-)
2008-11-20 17:48:10 +00:00
Yann E. MORIN"
8cd606ddc2
MPFR: correctly re-install config.{guess,sub} with autotools >=2.0.0.
...
/trunk/scripts/build/mpfr.sh | 14 13 1 0 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
2008-11-20 17:10:09 +00:00
Yann E. MORIN"
195830c106
Do not mangle Cygwin tuples.
...
/trunk/scripts/crosstool.sh | 5 5 0 0 +++++
1 file changed, 5 insertions(+)
2008-11-19 20:16:54 +00:00
Yann E. MORIN"
620b980474
Build and install a uClibc cross-ldd.
...
Based on a patch by Joachim NILSSON: http://sourceware.org/ml/crossgcc/2008-11/msg00025.html
/trunk/scripts/build/libc/uClibc.sh | 28 27 1 0 +++++++++++++++++++++++++++-
1 file changed, 27 insertions(+), 1 deletion(-)
2008-11-17 18:46:09 +00:00
Yann E. MORIN"
00326c96db
Add a fast Linux kernel mirror.
...
/trunk/scripts/build/kernel/linux.sh | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2008-11-14 13:48:55 +00:00
Yann E. MORIN"
8fba8c2732
Merge #1195 , #1196 and #1203 from /devel/YEM-build_host_target_cleanup:
...
- Get rid of CT_CC_NATIVE
- Get rid of CT_CANADIAN_OPT
- Sanitise CT_BUILD vs. CT_HOST
/trunk/scripts/build/tools/200-sstrip.sh | 4 2 2 0
/trunk/scripts/build/binutils.sh | 1 0 1 0 -
/trunk/scripts/build/cc/gcc.sh | 11 6 5 0 +-
/trunk/scripts/build/debug/200-duma.sh | 3 1 2 0 -
/trunk/scripts/build/libc/glibc.sh | 10 5 5 0 +-
/trunk/scripts/build/libc/eglibc.sh | 8 4 4 0 +-
/trunk/scripts/crosstool.sh | 168 113 55 0 ++++++++++++++++++++++++++------------
/trunk/config/toolchain.in | 160 137 23 0 +++++++++++++++++++++++++++++++-----
8 files changed, 268 insertions(+), 97 deletions(-)
2008-11-13 18:22:23 +00:00
Yann E. MORIN"
f9f70c5ad6
Do not autodetect 64-bit archs, have them tell be 'select'-ing ARCH_64 in the configuration.
...
/trunk/scripts/crosstool.sh | 12 5 7 0 +++++-------
/trunk/docs/overview.txt | 6 6 0 0 ++++++
/trunk/config/target.in | 4 4 0 0 ++++
/trunk/config/arch/x86_64.in | 1 1 0 0 +
/trunk/config/arch/ia64.in | 1 1 0 0 +
5 files changed, 17 insertions(+), 7 deletions(-)
2008-11-07 08:09:42 +00:00
Yann E. MORIN"
15d657ce4e
Do not take lib64/ in account when fixing the glibc linker scripts:
...
- lib64 dirs are symlinks to the corresponding lib/ dirs.
/trunk/scripts/build/libc/glibc.sh | 4 3 1 0 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
2008-11-07 08:03:32 +00:00
Yann E. MORIN"
25461c378b
Use target GMP and MPFR when building target binutils:
...
- this is not really used yet, as only the iberty and bfd libraries are built
- if we ever are to build the full binutils for the target, then it is already configured to use the target GMP and MPFR.
/trunk/scripts/build/binutils.sh | 7 7 0 0 +++++++
1 file changed, 7 insertions(+)
2008-11-04 18:31:07 +00:00
Yann E. MORIN"
70a0eeedc2
Merge #1190 from /devel/YEM-build_host_target_cleanup:
...
- Use shell wrappers to point to the build tools, rather than symlinks.
/trunk/scripts/crosstool.sh | 20 14 6 0 ++++++++++++++------
1 file changed, 14 insertions(+), 6 deletions(-)
2008-11-04 16:30:11 +00:00
Yann E. MORIN"
a143467477
Enable uClibc parallel build for those versions supporting it.
...
/trunk/scripts/build/libc/uClibc.sh | 12 7 5 0 +++++++-----
/trunk/config/libc/uClibc.in | 9 9 0 0 +++++++++
2 files changed, 16 insertions(+), 5 deletions(-)
2008-11-01 17:16:34 +00:00
Yann E. MORIN"
958855acea
Enablelocales when requested to do so.
...
Original patch by Thomas PETAZZONI, with soe improvement by myself.
/trunk/scripts/build/libc/uClibc.sh | 10 9 1 0 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
2008-11-01 17:13:54 +00:00
Yann E. MORIN"
dde482bd0d
Only install headers when installing uClibc headers.
...
/trunk/scripts/build/libc/uClibc.sh | 10 5 5 0 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
2008-11-01 17:02:48 +00:00
Yann E. MORIN"
9c5fd0d3af
Eyecandy in the WiKi table.
...
/trunk/scripts/showSamples.sh | 20 12 8 0 ++++++++++++--------
1 file changed, 12 insertions(+), 8 deletions(-)
2008-11-01 16:49:00 +00:00
Yann E. MORIN"
a86bd90cbb
Indent the samples list.
...
/trunk/scripts/showSamples.sh | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2008-10-31 18:28:12 +00:00
Yann E. MORIN"
6bfe4b1550
Transform LAN_MIRROR into plain MIRROR:
...
- it does not have to be in the LAN
- offer mirror preference over upstream
- if selected, the mirror will be scanned before upstream servers
- if not selected, upstream servers will be scanned before the mirror
- I've set up such an internet-accessible mirror
- uClibc snapshot available
- MPFR releases available (the MPFR site is down from time to time)
- update all samples to use my mirror as a failover
/trunk/scripts/functions | 45 16 29 0 +++++--------
/trunk/samples/x86_64-unknown-linux-gnu/crosstool.config | 8 7 1 0 ++
/trunk/samples/sh4-unknown-linux-gnu/crosstool.config | 8 7 1 0 ++
/trunk/samples/armeb-unknown-linux-uclibc/crosstool.config | 8 7 1 0 ++
/trunk/samples/arm-unknown-elf/crosstool.config | 8 7 1 0 ++
/trunk/samples/arm-unknown-linux-gnueabi/crosstool.config | 8 7 1 0 ++
/trunk/samples/ia64-unknown-linux-gnu/crosstool.config | 8 7 1 0 ++
/trunk/samples/x86_64-unknown-linux-uclibc/crosstool.config | 8 7 1 0 ++
/trunk/samples/armeb-unknown-linux-gnueabi/crosstool.config | 8 7 1 0 ++
/trunk/samples/powerpc-e500v2-linux-gnuspe/crosstool.config | 8 7 1 0 ++
/trunk/samples/i686-nptl-linux-gnu/crosstool.config | 8 7 1 0 ++
/trunk/samples/powerpc-unknown-linux-gnu/crosstool.config | 8 7 1 0 ++
/trunk/samples/arm-unknown-linux-gnu/crosstool.config | 8 7 1 0 ++
/trunk/samples/mips-unknown-linux-uclibc/crosstool.config | 8 7 1 0 ++
/trunk/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config | 8 7 1 0 ++
/trunk/samples/armeb-unknown-linux-gnu/crosstool.config | 8 7 1 0 ++
/trunk/samples/powerpc-unknown_nofpu-linux-gnu/crosstool.config | 8 7 1 0 ++
/trunk/samples/powerpc-unknown-linux-uclibc/crosstool.config | 8 7 1 0 ++
/trunk/samples/arm-unknown-linux-uclibc/crosstool.config | 8 7 1 0 ++
/trunk/samples/i586-geode-linux-uclibc/crosstool.config | 8 7 1 0 ++
/trunk/samples/powerpc-405-linux-gnu/crosstool.config | 8 7 1 0 ++
/trunk/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config | 8 7 1 0 ++
/trunk/samples/mipsel-unknown-linux-gnu/crosstool.config | 8 7 1 0 ++
/trunk/samples/arm-unknown-eabi/crosstool.config | 8 7 1 0 ++
/trunk/samples/alphaev56-unknown-linux-gnu/crosstool.config | 8 7 1 0 ++
/trunk/samples/powerpc-860-linux-gnu/crosstool.config | 8 7 1 0 ++
/trunk/config/global/download.in | 42 25 17 0 +++++++-----
27 files changed, 216 insertions(+), 71 deletions(-)
2008-10-31 18:27:27 +00:00
Yann E. MORIN"
a5bbab574f
Use 'gawk', not plain 'awk'.
...
We need GNU Awk? Then check for, and use 'gawk', not plain 'awk'.
Be a little mre verbose if a tool was not found.
/trunk/configure | 7 4 3 0 ++++---
/trunk/scripts/build/kernel/linux.sh | 2 1 1 0 +-
/trunk/scripts/functions | 16 8 8 0 ++++++++--------
/trunk/scripts/saveSample.sh | 4 2 2 0 ++--
4 files changed, 15 insertions(+), 14 deletions(-)
2008-10-29 22:27:30 +00:00
Yann E. MORIN"
d31396bc23
Finally enable the PPC-8xx memset workaround, by Nye Liu.
...
http://sourceware.org/ml/crossgcc/2008-10/msg00094.html
/trunk/scripts/build/libc/glibc.sh | 9 9 0 0 +
/trunk/patches/glibc/2.7/290-powerpc-8xx-CPU15-errata.patch | 22 19 3 0 +
/trunk/samples/powerpc-860-linux-gnu/crosstool.config | 344 344 0 0 +++++++++++++++++++
/trunk/samples/powerpc-860-linux-gnu/reported.by | 3 3 0 0 +
4 files changed, 375 insertions(+), 3 deletions(-)
2008-10-29 21:20:23 +00:00
Yann E. MORIN"
5c48279f0f
Make a relative symlink from ${CT_TARGET}-cc to ${CT_TARGET}-gcc.
...
This helps those who want to relocate their toolchains later.
Reported by Nye Liu: http://sourceware.org/ml/crossgcc/2008-10/msg00093.html
/trunk/scripts/build/cc/gcc.sh | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2008-10-28 18:51:44 +00:00
Yann E. MORIN"
4f59e67c4d
Typo.
...
/trunk/scripts/showSamples.sh | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2008-10-27 18:19:08 +00:00
Yann E. MORIN"
ce4431de20
ltrace: remove lingering ".
...
/trunk/scripts/build/debug/400-ltrace.sh | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2008-10-26 11:30:34 +00:00
Yann E. MORIN"
eeeb5559a5
ltrace does not build out-of-tree: use copied sources to configure.
...
/trunk/scripts/build/debug/400-ltrace.sh | 8 4 4 0 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
2008-10-26 09:29:04 +00:00
Yann E. MORIN"
0c063fad74
Make ltrace finally build:
...
- copy sources to build directory, as it does not build out-of-tree
- add a patch to make it build for non *-linux-gnu host tuples
- add a patch to make it cross-build correctly
/trunk/patches/ltrace/0.4/100-fix-build-with-exotic-linux-host-OS.patch | 26 26 0 0 +++
/trunk/patches/ltrace/0.4/110-allow-cross-compile.patch | 89 89 0 0 ++++++++++
/trunk/scripts/build/debug/400-ltrace.sh | 5 3 2 0 +
3 files changed, 118 insertions(+), 2 deletions(-)
2008-10-24 15:40:58 +00:00
Yann E. MORIN"
3605fa4f5f
Fix saving samples, by Nye Liu:
...
http://sourceware.org/ml/crossgcc/2008-10/msg00070.html
/trunk/scripts/saveSample.sh | 3 2 1 0 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
2008-10-23 21:13:50 +00:00
Yann E. MORIN"
1c625d676c
Push the calculation of the tuple's kernel part down to kernel's build scripts:
...
- update the kernel script's API with the function CT_DiKernelTupleValues
- update doc accordingly (also with the architecture change, missing in the previous commit)
- small clean-up in the main script, remove useless test
/trunk/scripts/build/kernel/bare-metal.sh | 5 5 0 0 +++++
/trunk/scripts/build/kernel/linux.sh | 5 5 0 0 +++++
/trunk/scripts/crosstool.sh | 31 13 18 0 +++++++++++++------------------
/trunk/scripts/functions | 15 8 7 0 ++++++++-------
/trunk/docs/overview.txt | 13 9 4 0 +++++++++----
5 files changed, 40 insertions(+), 29 deletions(-)
2008-10-23 13:45:48 +00:00
Yann E. MORIN"
58e57f180c
Architecture API change:
...
- rename the tuple function
/trunk/scripts/build/arch/mips.sh | 2 1 1 0 +-
/trunk/scripts/build/arch/sh.sh | 2 1 1 0 +-
/trunk/scripts/build/arch/x86_64.sh | 2 1 1 0 +-
/trunk/scripts/build/arch/arm.sh | 2 1 1 0 +-
/trunk/scripts/build/arch/powerpc.sh | 2 1 1 0 +-
/trunk/scripts/build/arch/ia64.sh | 2 1 1 0 +-
/trunk/scripts/build/arch/alpha.sh | 2 1 1 0 +-
/trunk/scripts/build/arch/x86.sh | 2 1 1 0 +-
/trunk/scripts/functions | 12 7 5 0 +++++++-----
9 files changed, 15 insertions(+), 13 deletions(-)
2008-10-23 13:00:45 +00:00
Yann E. MORIN"
3fdcbf0b26
Add a 405fp soft-float PowerPC sample.
...
/trunk/scripts/saveSample.sh | 2 1 1 0
/trunk/samples/powerpc-405fp-linux-gnu/crosstool.config | 338 338 0 0 +++++++++++++++++++++++
/trunk/samples/powerpc-405fp-linux-gnu/reported.by | 3 3 0 0 +
3 files changed, 342 insertions(+), 1 deletion(-)
2008-10-21 21:31:23 +00:00
Yann E. MORIN"
2c6a4afc4a
Fix using only custom patches.
...
Reported by Patrick FLAIG: http://sourceware.org/ml/crossgcc/2008-10/msg00032.html
/trunk/scripts/functions | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2008-10-21 21:04:25 +00:00
Yann E. MORIN"
102505af38
Correctly handle the minimum supported kernel version in glibc.
...
Should be propagated to eglibc as well...
/trunk/scripts/build/libc/glibc.sh | 78 39 39 0 +++++++++++++++++++++++++++++++-------------------------------
1 file changed, 39 insertions(+), 39 deletions(-)
2008-10-20 17:46:43 +00:00
Yann E. MORIN"
ee5492e658
Fix saving samples when the uClibc config file is already saved.
...
/trunk/scripts/saveSample.sh | 4 2 2 0
/trunk/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config | 140 71 69 0 ++++++++-------
/trunk/samples/arm-unknown-linux-uclibcgnueabi/reported.by | 3 3 0 0 +
3 files changed, 76 insertions(+), 71 deletions(-)
2008-10-17 14:26:53 +00:00
Yann E. MORIN"
8215020b0f
Add alternate locations where to retrieve binutils snapshots.
...
/trunk/scripts/build/binutils.sh | 5 3 2 0 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
2008-10-15 07:29:07 +00:00
Yann E. MORIN"
c8a68d987b
Introduce the notion of a 'sample comment'.
...
- presence of the sample's reported.by file is now mandatory.
- when saving a sample, reporter name & URL are queried, to avoid operator forget about creating the reported.by file.
- when saving a sample, one can store a few-liner comment.
- when recalling a sample, the reporter name, URL and comment (if present) are printed.
- update the powerpc-e500v2-linux-gnuspe sample to include Nate's comment (from his original mail).
- update all samples that were missing the reported.by file.
/trunk/scripts/saveSample.sh | 46 35 11 0 ++++++++++++++++++------
/trunk/scripts/showSamples.sh | 12 6 6 0 +++---
/trunk/samples/powerpc-e500v2-linux-gnuspe/reported.by | 15 15 0 0 ++++++++
/trunk/samples/samples.mk | 22 17 5 0 +++++++++--
4 files changed, 73 insertions(+), 22 deletions(-)
2008-10-14 21:30:27 +00:00
Yann E. MORIN"
9ec3651eff
saveSample: Reset CT_LOCAL_TARBALLS_DIR to default
...
On Tuesday 14 October 2008 16:48:07 Nate Case wrote:
> Keep CT_LOCAL_TARBALLS_DIR at the default setting of ${HOME}/src so that
> we don't save irrelevant paths in the samples.
/trunk/scripts/saveSample.sh | 1 1 0 0 +
1 file changed, 1 insertion(+)
2008-10-14 16:54:20 +00:00
Yann E. MORIN"
74c5579885
Fix the saveSample script oafter architerctures reorganisation
...
On Tuesday 14 October 2008 16:27:37 Nate Case wrote:
> The saveSample.sh script is referring to the old architecture-specific
> script path. Point to the new one, just as done in crosstool.sh.
/trunk/scripts/saveSample.sh | 4 2 2 0 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
2008-10-14 16:53:13 +00:00
Yann E. MORIN"
d2fe51a715
Generate the choice menu for C libraries, the same way arch and kernels are generated.
...
/trunk/kconfig/kconfig.mk | 10 8 2 0 ++++++--
/trunk/scripts/build/libc/glibc.sh | 2 1 1 0 +-
/trunk/config/libc/glibc.in | 22 6 16 0 +++++-------------
/trunk/config/libc/uClibc.in | 7 6 1 0 +++++-
/trunk/config/libc/eglibc.in | 12 11 1 0 +++++++++-
/trunk/config/libc.in | 53 4 49 0 +++-----------------------------------------
6 files changed, 36 insertions(+), 70 deletions(-)
2008-10-13 11:23:51 +00:00
Yann E. MORIN"
5276fc869d
Use ERROR level for make errors.
...
Rename the C library addons directories rather than symlinking.
/trunk/scripts/functions | 10 7 3 0 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
2008-10-12 11:09:57 +00:00
Yann E. MORIN"
82c9d1aceb
Simplify the Tools and Debug facilities menu entries:
...
- each config file no longer have to define their own 'menuconfig foo - if FOO - endif' gym
- each build script no longer has to say wether they are enabled
- generation of the 'menuconfig' entries for the Tools and Debug facilities now uses the same code
Some re-ordering of the code to be consistent with the steps ordering (tools, then debug).
/trunk/kconfig/kconfig.mk | 66 43 23 0 +++++++++++++++++++++++-------------
/trunk/scripts/build/debug.sh | 14 9 5 0 +++++---
/trunk/scripts/build/tools/000-template.sh | 7 0 7 0 ----
/trunk/scripts/build/tools/100-libelf.sh | 3 0 3 0 --
/trunk/scripts/build/tools/200-sstrip.sh | 2 0 2 0 -
/trunk/scripts/build/debug/000-template.sh | 7 0 7 0 ----
/trunk/scripts/build/debug/100-dmalloc.sh | 3 0 3 0 --
/trunk/scripts/build/debug/400-ltrace.sh | 3 0 3 0 --
/trunk/scripts/build/debug/300-gdb.sh | 3 0 3 0 --
/trunk/scripts/build/debug/500-strace.sh | 3 0 3 0 --
/trunk/scripts/build/debug/200-duma.sh | 3 0 3 0 --
/trunk/scripts/build/tools.sh | 14 9 5 0 +++++---
/trunk/scripts/crosstool.sh | 2 1 1 0
/trunk/config/debug/ltrace.in | 14 3 11 0 ++------
/trunk/config/debug/dmalloc.in | 9 1 8 0 +----
/trunk/config/debug/gdb.in | 9 1 8 0 +----
/trunk/config/debug/strace.in | 10 1 9 0 -----
/trunk/config/debug/duma.in | 10 1 9 0 -----
/trunk/config/tools/libelf.in | 12 2 10 0 +------
/trunk/config/tools/sstrip.in | 10 1 9 0 -----
/trunk/config/config.in | 4 2 2 0 +-
21 files changed, 74 insertions(+), 134 deletions(-)
2008-10-10 14:30:44 +00:00
Yann E. MORIN"
93c2e1f7fb
Install the config script following the naming of other files, eg. "${CT_TARGET}-" instead of "${CT_TARGET}." .
...
/trunk/scripts/crosstool.sh | 4 2 2 0 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
2008-10-06 21:23:31 +00:00
Yann E. MORIN"
b8d189b296
Separate the architecture config file and function script.
...
/trunk/kconfig/kconfig.mk | 46 23 23 0 +++++++++++++++++++++++-----------------------
/trunk/scripts/crosstool.sh | 2 1 1 0 +-
/trunk/docs/overview.txt | 28 11 17 0 +++++++++++-----------------
3 files changed, 35 insertions(+), 41 deletions(-)
2008-10-05 15:32:00 +00:00
Yann E. MORIN"
dcb7ca29ba
Fourth shot at moving arch/ into config/arch/ .
...
/trunk/scripts/crosstool.sh | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2008-10-03 13:01:10 +00:00
Yann E. MORIN"
16c6cc994f
Save the toolchain configuration to its own file, as an auto-extracting shell script:
...
- get rid of the 'extractconfig' action, it was cumbersome to use, and badly documented,
- introduce a skeleton for the config script,
- update auto-completion,
- document the config script.
/trunk/kconfig/kconfig.mk | 9 2 7 0 ++-------
/trunk/scripts/crosstool.sh | 6 5 1 0 +++++-
/trunk/docs/overview.txt | 21 9 12 0 +++++++++------------
/trunk/tools/toolchain-config.in | 8 8 0 0 ++++++++
/trunk/ct-ng.comp | 2 1 1 0 +-
5 files changed, 25 insertions(+), 21 deletions(-)
2008-10-01 18:10:40 +00:00
Yann E. MORIN"
6731142c39
Better handle the second pass core gcc build, differentiating between gcc prior to 4.3 with gcc from 4.3.
...
Simplify detecting wether gcc is 4.3 and later, or older than 4.3 (we already know from .config).
/trunk/scripts/build/cc/gcc.sh | 22 13 9 0 +++++++++++++---------
1 file changed, 13 insertions(+), 9 deletions(-)
2008-09-30 18:19:18 +00:00
Yann E. MORIN"
47221dfa6a
Restore the ability to build gcc older than 4.3. At last!
...
/trunk/scripts/build/cc/gcc.sh | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2008-09-29 12:02:47 +00:00
Yann E. MORIN"
b000bc94cd
In the glibc and eglibc trees, the 'configure' files may be older than their source 'configure.in', when used from an svn check out, or a snapshot tarball.
...
They are nonetheless in sync and need not be regenerated.
Fix that by touching the files to have 'make' believe they are up-to-date (which they are).
/trunk/scripts/build/libc/glibc.sh | 5 5 0 0 +++++
/trunk/scripts/build/libc/eglibc.sh | 7 6 1 0 ++++++-
2 files changed, 11 insertions(+), 1 deletion(-)
2008-09-28 21:34:11 +00:00
Yann E. MORIN"
6c54fde8fd
Bart De VOS pointed out that removing absolute paths from the libc linker scripts is plainly wrong.
...
It dates from dawn ages of the original crosstool code, and is not well explained. At that time, binutils might not understand the sysroot stuff, and it was necessary to remove absolute paths in that case.
/trunk/scripts/build/libc/glibc.sh | 14 2 12 0 ++------------
1 file changed, 2 insertions(+), 12 deletions(-)
2008-09-23 14:48:10 +00:00
Yann E. MORIN"
8935b10421
Rework the eglibc download so as to be a little bit saner.
...
/trunk/scripts/build/libc/eglibc.sh | 25 15 10 0 +++++++++++++++----------
1 file changed, 15 insertions(+), 10 deletions(-)
2008-09-22 19:51:29 +00:00
Yann E. MORIN"
c36b921790
Generate the kernel config choice, rather than having it hard-coded:
...
- change the menu label from 'Target OS' to 'Operating System',
- bare-metal is a kind of kernel (OS), rename to 'bare-metal' from 'none',
- update the kconfig.mk to generate the kernel choice entries,
- update glibc&eglibc kernel version option accordingly.
Update the debug & tools confiog file generation to match with arch & kernel.
Print terse command lines when building in kconfig/ (a-la Linux kernel).
Fix the makefile rules in kconfig/kconfig.mk to be /simple/ rules.
/trunk/kconfig/kconfig.mk | 117 81 36 0 +++++++++++++++++++++----------
/trunk/config/kernel/linux.in | 4 4 0 0 +
/trunk/config/kernel/bare-metal.experimental.in | 15 15 0 0 ++++
/trunk/config/kernel.in | 33 5 28 0 +--------
/trunk/config/libc/glibc-eglibc-common.in | 4 2 2 0
5 files changed, 107 insertions(+), 66 deletions(-)
2008-09-16 17:39:40 +00:00
Yann E. MORIN"
b6a8c7318d
Move all the Linux kernel config options to a single file (to ease supporting more than one kernel).
...
Rename some Linux kernel config options (ditto).
Update the addToolsVersion.sh script.
/trunk/scripts/build/kernel/linux.sh | 13 6 7 0 +--
/trunk/tools/addToolVersion.sh | 105 37 68 0 +++++++--------------
/trunk/config/kernel/linux.in | 211 189 22 0 ++++++++++++++++++++++++++++++++++++++----
3 files changed, 232 insertions(+), 97 deletions(-)
2008-09-15 14:52:29 +00:00
Yann E. MORIN"
070411306a
DUMA: don't log twice through the logger.
...
/trunk/scripts/build/debug/100-dmalloc.sh | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2008-09-15 14:41:09 +00:00
Yann E. MORIN"
46bd8b45c7
The Linux kernel does not need a config file now that the old methods are removed.
...
So, don't save the Linux kernel config file when saving a sample, there will never be such a file any longer.
/trunk/scripts/saveSample.sh | 13 0 13 0 -------------
1 file changed, 13 deletions(-)
2008-09-15 09:51:10 +00:00
Yann E. MORIN"
02d2b29cda
Enhance setting the minimum kernel version glibc will run against.
...
Ideally, eglibc should also benefit for that, but the current code does not set it.
/trunk/scripts/build/libc/glibc.sh | 38 33 5 0 +++++++++++++++---
/trunk/config/libc/glibc.in | 4 2 2 0 +-
/trunk/config/libc/uClibc.in | 2 2 0 0 +
/trunk/config/libc/eglibc.in | 4 2 2 0 +-
/trunk/config/libc/glibc-eglibc-common.in | 80 68 12 0 +++++++++++++++++++++++++++++++------
/trunk/config/libc.in | 69 38 31 0 ++++++++++++++++++--------------
6 files changed, 145 insertions(+), 52 deletions(-)
2008-09-14 18:09:36 +00:00
Yann E. MORIN"
91a8de54e4
Beautify somewhat the WiKi table for narrow screens.
...
/trunk/scripts/showSamples.sh | 6 3 3 0 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
2008-09-14 16:54:12 +00:00
Yann E. MORIN"
799672a641
Introduce a new EXPERIMENTAL feature: BARE_METAL.
...
This should ultimately llow to build bare-metal compilers, for targets that have no kernel and no C library.
Move the C library build script to their own sub-directory; introduce an empty build script for bare-metal.
Move the compiler build script to its own sub-directory.
Move the kernel build script to its own sub-directory; introduce an empty build script for bare-metal.
Update the ARM target tuples to enable bare-metal targets.
Add two ARM bare-metal samples.
Add latest Linux kernel versions.
/trunk/scripts/build/kernel/none.sh | 77 6 71 0 +----
/trunk/scripts/build/cc/gcc.sh | 58 41 17 0 ++-
/trunk/scripts/build/libc/none.sh | 513 9 504 0 +-----------------------------
/trunk/scripts/crosstool.sh | 17 9 8 0 +
/trunk/scripts/functions | 6 4 2 0 +
/trunk/scripts/showSamples.sh | 6 3 3 0
/trunk/samples/arm-unknown-elf/crosstool.config | 225 225 0 0 +++++++++++++
/trunk/samples/arm-unknown-eabi/crosstool.config | 223 223 0 0 +++++++++++++
/trunk/config/kernel/linux_headers_install.in | 64 27 37 0 ++--
/trunk/config/kernel.in | 9 8 1 0 +
/trunk/config/toolchain.in | 1 1 0 0 +
/trunk/config/cc/gcc.in | 3 3 0 0 +
/trunk/config/debug/dmalloc.in | 1 1 0 0 +
/trunk/config/debug/gdb.in | 4 3 1 0 +
/trunk/config/debug/strace.in | 1 1 0 0 +
/trunk/config/debug/duma.in | 1 1 0 0 +
/trunk/config/cc.in | 8 8 0 0 +
/trunk/config/target.in | 13 13 0 0 +
/trunk/config/binutils.in | 1 1 0 0 +
/trunk/config/gmp_mpfr.in | 1 1 0 0 +
/trunk/config/libc.in | 17 11 6 0 +
/trunk/arch/arm/functions | 3 1 2 0 -
22 files changed, 600 insertions(+), 652 deletions(-)
2008-09-14 16:21:07 +00:00
Yann E. MORIN"
7a0e770be1
Remove the now really obsolete Linux kernel headers copy and sanitised.
...
Remove orphanned Linux kernel patchsets.
Initiate a kernel build scripts directory. Move the Linux kernel build script there.
/trunk/scripts/build/kernel/linux.sh | 146 11 135 0 +++---------------------------------------
/trunk/scripts/crosstool.sh | 2 1 1 0
/trunk/steps.mk | 1 0 1 0 -
/trunk/config/kernel/linux.in | 49 0 49 0 --------------
/trunk/config/kernel.in | 4 4 0 0 +
5 files changed, 16 insertions(+), 186 deletions(-)
2008-09-10 21:40:23 +00:00
Yann E. MORIN"
fa8b6c8ffd
Dump the EXPERIMENTAL status and brokenness of samples in the WiKi table.
...
/trunk/scripts/showSamples.sh | 9 7 2 0 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
2008-09-04 15:42:25 +00:00
Yann E. MORIN"
05fc40d0ec
Beautify samples listing.
...
/trunk/scripts/showSamples.sh | 8 4 4 0 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
2008-09-02 21:14:47 +00:00
Yann E. MORIN"
2a4ab33370
Warn the user if he/she recalls a sample with EXPERIMENTAL features.
...
Also, print the EXPERIMENTAL status when listing the samples.
/trunk/scripts/showSamples.sh | 12 9 3 0 +++++++++---
/trunk/samples/samples.mk | 12 12 0 0 ++++++++++++
2 files changed, 21 insertions(+), 3 deletions(-)
2008-09-02 12:43:11 +00:00
Yann E. MORIN"
3d4bc00719
Add support for building Insight instead of gdb (only for the cross-gdb).
...
/trunk/scripts/build/debug/300-gdb.sh | 62 55 7 0 ++++++++++++++++++++++++++++++++++++-----
/trunk/config/debug/gdb.in | 13 13 0 0 +++++++++
2 files changed, 68 insertions(+), 7 deletions(-)
2008-09-02 10:47:44 +00:00
Yann E. MORIN"
520eda92a2
Be gentle to older findutils that don't have the "{} +" construct, and simply use "{} \;" instead.
...
/trunk/scripts/build/debug/300-gdb.sh | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2008-09-01 09:15:31 +00:00
Yann E. MORIN"
0a99eb0c77
Enable glibc to include support for kernel versions different than the version from the kernel headers.
...
Thanks to Nate CASE <ncase@xes-inc.com> for suggesting this use-case, and providing the patch.
/trunk/scripts/build/libc_glibc.sh | 4 2 2 0 +-
/trunk/scripts/build/libc_eglibc.sh | 2 1 1 0 +-
/trunk/config/libc/glibc-eglibc-common.in | 44 44 0 0 +++++++++++++++++++++++++++++++++++++
3 files changed, 47 insertions(+), 3 deletions(-)
2008-08-26 21:37:46 +00:00
Yann E. MORIN"
477baecf46
Missed one variable when converting to common options for eglibc and glibc (thanks Nate Case).
...
/trunk/scripts/build/libc_eglibc.sh | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2008-08-26 21:30:22 +00:00
Yann E. MORIN"
b3f5a87080
Commonalise options common to both glibc and eglibc.
...
/trunk/scripts/build/libc_eglibc.sh | 6 3 3 0 +-
/trunk/config/libc/glibc.in | 63 2 61 0 +---------------------------------
/trunk/config/libc/eglibc.in | 61 1 60 0 +--------------------------------
/trunk/config/libc/eglibc-glibc-common.in | 1 1 0 0 +
/trunk/config/libc/glibc-eglibc-common.in | 69 69 0 0 +++++++++++++++++++++++++++++++++++++
5 files changed, 76 insertions(+), 124 deletions(-)
2008-08-26 16:47:47 +00:00
Yann E. MORIN"
9dd85f517a
Also dump the GMP and MPFR versions when dumping a sample in verbose mode.
...
/trunk/scripts/showSamples.sh | 3 3 0 0 +++
1 file changed, 3 insertions(+)
2008-08-25 21:42:34 +00:00
Yann E. MORIN"
4a7d144844
Allow using ash as the shell for ./configure and make.
...
After an idea by "Martin Guy" <martinwguy@yahoo.it>:
http://sourceware.org/ml/crossgcc/2008-08/msg00037.html
/trunk/scripts/crosstool.sh | 4 4 0 0 ++++
/trunk/config/global/build-behave.in | 14 14 0 0 ++++++++++++++
2 files changed, 18 insertions(+)
2008-08-25 19:44:39 +00:00
Yann E. MORIN"
535c532baf
Fix building older gdb's with newer gcc's.
...
/trunk/scripts/build/debug/300-gdb.sh | 2 2 0 0 ++
1 file changed, 2 insertions(+)
2008-08-20 12:08:03 +00:00
Yann E. MORIN"
99691ee4d6
Log retrieved file emssages to DEBUG level, not EXTRA.
...
/trunk/scripts/build/libc_eglibc.sh | 2 1 1 0 +-
/trunk/scripts/functions | 6 3 3 0 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
2008-08-17 14:13:00 +00:00
Yann E. MORIN"
5742930b13
MPFR: log autotools files rebuilding to DEBUG level, not EXTRA.
...
/trunk/scripts/build/mpfr.sh | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2008-08-17 14:10:44 +00:00
Yann E. MORIN"
70e05067fa
Fix saving and using local copy of eglibc tarballs.
...
/trunk/scripts/build/libc_eglibc.sh | 10 5 5 0 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
2008-08-12 09:14:55 +00:00
Yann E. MORIN"
f1b9a7e7bb
Merge the static and shared core gcc builds.
...
/trunk/scripts/build/cc_gcc.sh | 195 64 131 0 ++++++++++++++++--------------------------------
1 file changed, 64 insertions(+), 131 deletions(-)
2008-08-12 07:47:51 +00:00
Yann E. MORIN"
5c18ddd8b9
Be a little less verbose when retrieving files if they are already present.
...
Be a little less verbose when extracting (and patching) files.
/trunk/scripts/functions | 7 2 5 0 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
2008-08-12 07:47:19 +00:00
Yann E. MORIN"
59ef10f5d6
Merge the branches/eglibc stuff:
...
- Add support for eglibc
/trunk/scripts/functions | 6 4 2 0 ++++--
/trunk/docs/CREDITS | 1 1 0 0 +
/trunk/config/libc.in | 12 12 0 0 ++++++++++++
/trunk/arch/arm/functions | 4 2 2 0 ++--
4 files changed, 19 insertions(+), 4 deletions(-)
2008-08-11 12:22:47 +00:00
Yann E. MORIN"
57755ca74b
Move two log messages around, so that output looks better.
...
/trunk/scripts/functions | 4 2 2 0 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
2008-08-11 09:42:13 +00:00
Yann E. MORIN"
5c77177873
Do not unset http_proxy, ftp_proxy and https_proxy in case of using a socks proxy.
...
Add a log message.
/trunk/scripts/functions | 6 2 4 0 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
2008-08-09 20:48:39 +00:00
Yann E. MORIN"
dfad0fbd2f
Merge #920 from branches/eglibc:
...
Fix saving tarballs locally in case downloads are forced.
/trunk/scripts/functions | 14 6 8 0 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
2008-08-09 17:48:13 +00:00
Yann E. MORIN"
5bc276a6f0
Merge #916 from branches/eglibc:
...
Use a little bit more of CT_DoExecLog.
/trunk/scripts/functions | 35 18 17 0 ++++++++++++++++++-----------------
1 file changed, 18 insertions(+), 17 deletions(-)
2008-08-09 17:46:56 +00:00
Yann E. MORIN"
ba23f53157
Merge #914 from branches/eglibc:
...
Fix setting the proxy.
/trunk/scripts/functions | 5 3 2 0 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
2008-08-09 17:45:55 +00:00
Yann E. MORIN"
929970279c
Merge #911 from banches/eglibc:
...
Fix testing for tool's presence.
/trunk/scripts/functions | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2008-08-09 17:40:44 +00:00
Yann E. MORIN"
ef0f400c26
Introduce four new ARCH specific variables that CT_DoArchValues can set if they want:
...
- CT_ARCH_CC_CORE_EXTRA_CONFIG
- CT_ARCH_CC_EXTRA_CONFIG
- CT_ARCH_TARGET_CLFAGS
- CT_ARCH_TARGET_LDFLAGS
This will hopefully enable architectures to specify specific flags.
PowerPC will need them to introduce SPE (coming RSN).
/trunk/scripts/crosstool.sh | 2 2 0 0 ++
/trunk/scripts/functions | 4 2 2 0 ++--
/trunk/docs/overview.txt | 45 22 23 0 ++++++++++++++++++++++-----------------------
/trunk/config/target.in | 10 10 0 0 ++++++++++
4 files changed, 36 insertions(+), 25 deletions(-)
2008-08-07 15:18:18 +00:00
Yann E. MORIN"
c1a2e1bb87
Add a new config knob for gcc: usage of SJLJ to handle exceptions.
...
This is needed for some architectures to compile the Java frontend (eg. ARM with uClibc).
/trunk/config/cc/gcc.in | 41 39 2 0 +++++++++++++++++++++++++++++++++++++++--
/trunk/scripts/build/cc_gcc.sh | 8 5 3 0 +++++---
2 files changed, 44 insertions(+), 5 deletions(-)
2008-08-07 13:55:30 +00:00
Yann E. MORIN"
f53dd7e985
Fix building core C compiler.
...
PowerPC unveiled that you can't reliably build a target libgcc until you have C library headers.
In fact you can't build it at all. The fact that it did build for some architectures was purely coincidental, and a mistake.
This fix should still allow to build uClibc-based toolchains (some ARM uClibc toolchains were build-tested).
/trunk/scripts/build/cc_gcc.sh | 100 47 53 0 +++++++++++++++++++++++-------------------------
1 file changed, 47 insertions(+), 53 deletions(-)
2008-08-07 13:28:02 +00:00
Yann E. MORIN"
e348d316b7
Beautify final output.
...
/trunk/scripts/crosstool.sh | 7 4 3 0 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
2008-08-07 07:52:09 +00:00
Yann E. MORIN"
d67a32191b
Make gcc-4.3.x able to compile uClibc (snapshot only).
...
Update the gcc patchset accordingly.
/trunk/scripts/build/cc_gcc.sh | 55 53 2 0 ++++++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 53 insertions(+), 2 deletions(-)
2008-08-04 12:38:06 +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"
4eeadf87e2
Rework a little bit of the LAN mirror and proxy settings.
...
/trunk/scripts/crosstool.sh | 105 4 101 0 +------------------------
/trunk/scripts/functions | 151 129 22 0 +++++++++++++++++++++++++++++++-----
/trunk/config/global/download.in | 193 99 94 0 ++++++++++++++++++++++++----------------------
3 files changed, 232 insertions(+), 217 deletions(-)
2008-08-01 09:23:58 +00:00
Yann E. MORIN"
fe5feb1154
Have the glibc build use the cross-objdump, rather than the host one.
...
On some distros (eg. Fedora), the native objdump can not interpret objects not for the native system, and thus fail.
This commit adds a new patch against glibc-2.7 that introduces OBJDUMP_FOR_HOST, wich, if set, overides the detected objdump.
Note: bizarely enough, glibc already has code to detect the cross-objdump, but that does not work for an unknown reason... :-(
/trunk/patches/glibc/2.7/220-objdump_for_host.patch | 13 13 0 0 +++++++++
/trunk/scripts/build/libc_glibc.sh | 37 21 16 0 +++++++++++++++------------
2 files changed, 34 insertions(+), 16 deletions(-)
2008-07-31 09:08:33 +00:00
Yann E. MORIN"
f7b84b7716
Pretyy-up the WiKi table with the date of last update for each sample.
...
/trunk/scripts/showSamples.sh | 15 12 3 0 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
2008-07-29 16:48:20 +00:00
Yann E. MORIN"
5a28e26b8d
Fix building x86_64 on x86_64 (and hopefully all other *64 archs on the same *64):
...
- symlink all lib64/ dirs to the corresponding lib/ dir
Also, prevent gcc from installing some of its target libs outside of the sys-root, in the first place.
Thanks to Laurent DUFRECHOU for reporting the bug and testing the fix.
/trunk/scripts/build/cc_gcc.sh | 26 0 26 0 --------------------------
/trunk/scripts/crosstool.sh | 14 14 0 0 ++++++++++++++
2 files changed, 14 insertions(+), 26 deletions(-)
2008-07-27 16:35:37 +00:00
Yann E. MORIN"
8e512f9a95
Re-enable the restart functionality by removing some variables from the saved environment.
...
/trunk/scripts/functions | 16 10 6 0 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
2008-07-27 14:25:19 +00:00
Yann E. MORIN"
66e2db8dad
"Reported by" is now "First reported by".
...
/trunk/scripts/showSamples.sh | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2008-07-27 12:03:34 +00:00
Yann E. MORIN"
c8d64d9c70
When saving a sample, overide log file config:
...
- do log to a file
- do compress the log file
/trunk/scripts/saveSample.sh | 6 4 2 0 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
2008-07-27 10:54:14 +00:00
Yann E. MORIN"
c3817897cb
Do log the glibc build commands.
...
/trunk/scripts/build/libc_glibc.sh | 80 44 36 0 ++++++++++++++++++++++++--------------------
1 file changed, 44 insertions(+), 36 deletions(-)
2008-07-26 12:26:42 +00:00
Yann E. MORIN"
da88cd1dde
Build a little bit more of gcc in //.
...
/trunk/scripts/build/cc_gcc.sh | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2008-07-26 12:10:54 +00:00
Yann E. MORIN"
a586208ab4
In case of error, the error message would be printing in subshells, thus printing as many error message as there were subshells.
...
Limit printing this message only in the top-level shell.
/trunk/scripts/functions | 2 2 0 0 ++
1 file changed, 2 insertions(+)
2008-07-26 09:22:42 +00:00
Yann E. MORIN"
e64bc999d5
Hmmm. The debug pause at each step never ever worked... Sigh...
...
/trunk/scripts/crosstool.sh | 2 1 1 0 +-
/trunk/config/global/ct-behave.in | 2 1 1 0 +-
2 files changed, 2 insertions(+), 2 deletions(-)
2008-07-25 22:57:35 +00:00
Yann E. MORIN"
88be762420
Also print the number of samples in the DokuWiki table.
...
/trunk/scripts/showSamples.sh | 6 6 0 0 ++++++
1 file changed, 6 insertions(+)
2008-07-25 16:14:42 +00:00
Yann E. MORIN"
ebf85dfa9a
Woops! It's the kernel v ersion that is /custom/, not the kernel it self!
...
/trunk/scripts/showSamples.sh | 4 2 2 0 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
2008-07-25 15:54:52 +00:00
Yann E. MORIN"
96089bc58c
When dumping the DokuWiki table of samples, don't leave the kernel headers version empty if using a custom headers set., and say so.
...
/trunk/scripts/showSamples.sh | 6 5 1 0 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
2008-07-25 14:08:03 +00:00
Yann E. MORIN"
702532d61d
While retrieving files, propagate the preferred extension down to sub-functions.
...
/trunk/scripts/functions | 8 5 3 0 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
2008-07-25 10:02:43 +00:00
Yann E. MORIN"
5575787f66
Make gcc-4.3.x build.
...
Thanks to both Ioannis E. VENETIS and Thomas JOURDAN for their help.
/trunk/scripts/build/cc_gcc.sh | 26 22 4 0 ++++++++++++++++++++++----
1 file changed, 22 insertions(+), 4 deletions(-)
2008-07-24 16:56:28 +00:00
Yann E. MORIN"
e6ba0e5854
Don't check fo lynx, it's no longer used.
...
/trunk/scripts/build/tools/200-sstrip.sh | 1 0 1 0 -
1 file changed, 1 deletion(-)
2008-07-24 06:47:08 +00:00
Yann E. MORIN"
17693c9c98
Simplify downloading sstrip, using the common retrieval framework.
...
/trunk/scripts/build/tools/200-sstrip.sh | 31 3 28 0 +++----------------------------
1 file changed, 3 insertions(+), 28 deletions(-)
2008-07-24 06:46:40 +00:00
Yann E. MORIN"
adc71fffcc
When retrieving a file, allow preferred extension to be whatever starts with a dot, and not only one of .tar.bz2 .tar.gz .tgz or .tar.
...
/trunk/scripts/functions | 5 3 2 0 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
2008-07-24 06:42:29 +00:00
Yann E. MORIN"
f4f3f526b8
Remove garbage files left behind by downloads from sourceforge.net.
...
/trunk/scripts/build/debug/500-strace.sh | 4 4 0 0 ++++
/trunk/scripts/build/debug/200-duma.sh | 5 4 1 0 ++++-
2 files changed, 8 insertions(+), 1 deletion(-)
2008-07-22 14:17:10 +00:00
Yann E. MORIN"
7abf35f472
Allow selecting 'latest' snapshot, as well as 'specific' date snapshot for glibc.
...
Update uClibc config to commonalise some help.
/trunk/scripts/build/libc_glibc.sh | 22 20 2 0 ++++++++++++++++++++--
/trunk/config/libc/glibc.in | 12 12 0 0 ++++++++++++
/trunk/config/libc/uClibc.in | 12 4 8 0 ++++--------
/trunk/config/libc.in | 13 13 0 0 +++++++++++++
4 files changed, 49 insertions(+), 10 deletions(-)
2008-07-22 13:29:08 +00:00
Yann E. MORIN"
2f6bd7b794
Introduce using a LAN mirror for retrieving tarballs.
...
/trunk/scripts/functions | 40 36 4 0 ++++++++++++-
/trunk/config/global/download.in | 146 115 31 0 ++++++++++++++++++++++++++++++++++++----------
2 files changed, 151 insertions(+), 35 deletions(-)
2008-07-19 22:45:17 +00:00
Yann E. MORIN"
1ed626bc69
Some eye-candy in the WiKi status table.
...
/trunk/scripts/showSamples.sh | 11 6 5 0 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
2008-07-19 18:12:35 +00:00
Yann E. MORIN"
709299f291
Use POSIX constructs in the DUMA wrapper installed on the target.
...
/trunk/scripts/build/debug/duma.in | 13 12 1 0 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
2008-07-19 12:15:17 +00:00
Yann E. MORIN"
bb1fdedf57
Don't use a progress bar when saving samples, it's ugly.
...
/trunk/scripts/saveSample.sh | 7 5 2 0 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
2008-07-18 15:18:09 +00:00
Yann E. MORIN"
ba5a96ad78
Remove the check for absolutely needed tools now ./configure checks for them.
...
Move the check for 'lynx' to where it is needed (that is when sstrip from buildroot is selected).
/trunk/scripts/build/tools/200-sstrip.sh | 1 1 0 0 +
/trunk/scripts/crosstool.sh | 5 0 5 0 -----
2 files changed, 1 insertion(+), 5 deletions(-)
2008-07-17 21:17:19 +00:00
Yann E. MORIN"
78d1209616
Move the check for tsocks' availability just before using tsocks: make it clear we check before we use.
...
Use CT_DoExecLog to validate tsocks configuration.
Don't use gawk, but awk. awk *is* GNU awk, check by ./configure.
/trunk/scripts/crosstool.sh | 9 5 4 0 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
2008-07-16 21:57:12 +00:00
Yann E. MORIN"
6e1b1ccb7d
Use CT_DoExecLog when building tools and debug utilities.
...
/trunk/scripts/build/tools/200-sstrip.sh | 12 6 6 0 ++++++------
/trunk/scripts/build/debug/100-dmalloc.sh | 10 5 5 0 +++++-----
/trunk/scripts/build/debug/400-ltrace.sh | 5 3 2 0 +++--
/trunk/scripts/build/debug/300-gdb.sh | 30 17 13 0 +++++++++++++++++-------------
/trunk/scripts/build/debug/500-strace.sh | 7 4 3 0 ++++---
/trunk/scripts/build/debug/200-duma.sh | 5 3 2 0 +++--
6 files changed, 38 insertions(+), 31 deletions(-)
2008-07-14 21:57:57 +00:00
Yann E. MORIN"
e377769fb1
Catching a double fault is doomed... Don't take action.
...
Simplify CT_DoExecLog: it does not support affectations prior to the command, anyway.
/trunk/scripts/functions | 5 1 4 0 +----
1 file changed, 1 insertion(+), 4 deletions(-)
2008-07-14 21:56:58 +00:00
Yann E. MORIN"
0b499187a2
Fix CT_DoExecLog usage when building GMP for target.
...
/trunk/scripts/build/gmp.sh | 8 4 4 0 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
2008-07-14 21:21:35 +00:00
Yann E. MORIN"
4a03de30df
Advertise using CT_DoExecLog in the tools and debug templates.
...
/trunk/scripts/build/tools/000-template.sh | 5 3 2 0 +++--
/trunk/scripts/build/debug/000-template.sh | 5 3 2 0 +++--
2 files changed, 6 insertions(+), 4 deletions(-)
2008-07-14 16:04:41 +00:00
Yann E. MORIN"
223231bcc3
Use CT_DoExecLog when building libelf.
...
/trunk/scripts/build/tools/100-libelf.sh | 7 4 3 0 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
2008-07-14 15:58:39 +00:00
Yann E. MORIN"
549ef5d740
Use CT_DoExecLog when building gcc.
...
/trunk/scripts/build/cc_gcc.sh | 55 27 28 0 ++++++++++++++++++++++++------------------------
1 file changed, 27 insertions(+), 28 deletions(-)
2008-07-14 15:56:57 +00:00
Yann E. MORIN"
00084df12b
Use CT_DoExecLog when building uClibc.
...
/trunk/scripts/build/libc_uClibc.sh | 19 11 8 0 +++++++++++--------
1 file changed, 11 insertions(+), 8 deletions(-)
2008-07-14 15:48:51 +00:00
Yann E. MORIN"
972fdecb11
Fix CT_DoExecLog usage when building binutils' libraries for target.
...
/trunk/scripts/build/binutils.sh | 4 2 2 0 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
2008-07-14 15:42:27 +00:00
Yann E. MORIN"
212f6fffff
Use CT_DoExecLog in binutils build.
...
/trunk/scripts/build/binutils.sh | 16 9 7 0 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
2008-07-14 15:27:20 +00:00
Yann E. MORIN"
4fcab60674
Don't print double-faults.
...
/trunk/scripts/functions | 3 3 0 0 +++
1 file changed, 3 insertions(+)
2008-07-14 15:22:53 +00:00
Yann E. MORIN"
2a884e354a
Log the command being run when calling CT_DoExecLog, which is kinda the point of CT_DoExecLog, anyway...
...
/trunk/scripts/functions | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2008-07-14 15:20:11 +00:00
Yann E. MORIN"
dd5a5f683e
Use CT_DoExecLog for MPFR build.
...
/trunk/scripts/build/mpfr.sh | 48 25 23 0 +++++++++++++++++++++++++-----------------------
1 file changed, 25 insertions(+), 23 deletions(-)
2008-07-14 15:15:40 +00:00
Yann E. MORIN"
f235889bde
Use CT_DoExecLog for GMP build.
...
/trunk/scripts/build/gmp.sh | 12 7 5 0 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
2008-07-14 13:55:30 +00:00
Yann E. MORIN"
8c214615b0
Use CT_DoExecLog for Linux headers install.
...
/trunk/scripts/build/kernel_linux.sh | 6 4 2 0 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
2008-07-14 13:51:45 +00:00
Yann E. MORIN"
05655a9826
Small eye-candy in the WiKi table dump.
...
/trunk/scripts/showSamples.sh | 13 6 7 0 ++++++-------
1 file changed, 6 insertions(+), 7 deletions(-)
2008-07-13 21:35:09 +00:00
Yann E. MORIN"
23c07022a9
Also report built-in languages in the status table.
...
/trunk/scripts/showSamples.sh | 15 12 3 0 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
2008-07-13 20:45:24 +00:00
Yann E. MORIN"
e171928b08
Also log the command being executed when calling CT_DoExecLog (no user yet).
...
/trunk/scripts/functions | 5 3 2 0 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
2008-07-13 10:44:26 +00:00
Yann E. MORIN"
6e49891565
Ioannis E. VENETIS <venetis@mail.capsl.udel.edu> pointed out that GMP and MPFR were not used by gcc.
...
Turned out that none could use GMP and MPFR as the config option changed its name, but the change was not propagated to all users.
/trunk/scripts/build/binutils.sh | 2 1 1 0 +-
/trunk/scripts/build/debug/300-gdb.sh | 2 1 1 0 +-
/trunk/scripts/build/cc_gcc.sh | 6 3 3 0 +++---
3 files changed, 5 insertions(+), 5 deletions(-)
2008-07-13 10:32:38 +00:00
Yann E. MORIN"
6e13d4c6cf
Fix wiki table sample output.
...
/trunk/scripts/showSamples.sh | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2008-07-09 21:13:07 +00:00
Yann E. MORIN"
22bd5ce4ca
Although working with bash, 'echo -n' is really non-portable.
...
Get rid of this by using printf(1) with no trailing new-line (\n).
Again, thanks to Martin GUY, who pointed this issue.
/trunk/kconfig/kconfig.mk | 2 1 1 0
/trunk/scripts/build/libc_uClibc.sh | 4 3 1 0 ++
/trunk/scripts/showSamples.sh | 78 39 39 0 +++++++++++++++++++++---------------------
3 files changed, 43 insertions(+), 41 deletions(-)
2008-07-07 21:25:57 +00:00
Yann E. MORIN"
08ca782e76
Newer, better, tsocks(1)-like wrapper script for D.U.M.A.
...
/trunk/scripts/build/debug/duma.in | 44 44 0 0 ++++++++++++++++++++++++++++++++++++++++
/trunk/scripts/build/debug/200-duma.sh | 12 3 9 0 +++--------
2 files changed, 47 insertions(+), 9 deletions(-)
2008-06-30 20:37:14 +00:00
Yann E. MORIN"
e42f966f36
Native gcc is picky about the CC and LD variables. Set them unconditionally, whether building static or not.
...
/trunk/scripts/build/debug/300-gdb.sh | 5 3 2 0 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
2008-06-27 11:18:56 +00:00
Yann E. MORIN"
0f8a47d75c
Do al ittle bit more jobs in parallel while building gcc.
...
/trunk/scripts/build/cc_gcc.sh | 10 5 5 0 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
2008-06-27 11:18:02 +00:00
Yann E. MORIN"
501143cea7
Don't force building target GMP and MPFR when a native gdb is built. Rather,
...
add a config knob to configure the native gdb to use or not to use GMP and
MPFR; _this_config_knob_ will force building the target GMP and MPFR only if
turned on.
/trunk/scripts/build/debug/300-gdb.sh | 2 1 1 0 +-
/trunk/config/debug/gdb.in | 21 19 2 0 +++++++++++++++++++--
2 files changed, 20 insertions(+), 3 deletions(-)
2008-06-25 21:56:36 +00:00
Yann E. MORIN"
77c6645749
Alloow for reporter without an URL (for privately mailed submissions).
...
/trunk/scripts/showSamples.sh | 8 6 2 0 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
2008-06-25 08:53:17 +00:00
Yann E. MORIN"
6180cc0ea5
Allow to store working files outside the build tree (eg. incase the working tree is on the network).
...
/trunk/scripts/crosstool.sh | 9 5 4 0 +++++----
/trunk/config/global/paths.in | 23 22 1 0 ++++++++++++++++++++++-
2 files changed, 27 insertions(+), 5 deletions(-)
2008-06-24 16:19:45 +00:00
Yann E. MORIN"
bf27958b7d
Don't build ncurses ADA bindings if an ADA x-compiler was not built.
...
/trunk/scripts/build/debug/300-gdb.sh | 1 1 0 0 +
1 file changed, 1 insertion(+)
2008-06-24 15:44:55 +00:00
Yann E. MORIN"
727566c0cb
Only priunt WARNings when saving the current configuration.
...
Eye-candy in code.
/trunk/scripts/saveSample.sh | 10 5 5 0 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
2008-06-22 17:30:37 +00:00
Yann E. MORIN"
1b00a301bd
GMP and MPFR are no longer a sub-component of gcc (config-wise).
...
Build and install GMP and MPFR for the target.
Use the target GMP and MPFR to build the native gdb.
Have separate extra_config for cross gdb, native gdb and gdbserver.
Check native GMP and MPFR in //.
/trunk/scripts/build/debug/300-gdb.sh | 27 19 8 0 ++++++++++++++++-------
/trunk/scripts/build/gmp.sh | 47 39 8 0 ++++++++++++++++++++++++++++++++-------
/trunk/scripts/build/mpfr.sh | 49 40 9 0 +++++++++++++++++++++++++++++++++--------
/trunk/steps.mk | 2 2 0 0 ++
/trunk/config/cc/gcc.in | 18 1 17 0 +--------------
/trunk/config/debug/gdb.in | 6 1 5 0 +----
/trunk/config/config.in | 1 1 0 0 +
/trunk/config/gmp_mpfr.in | 34 34 0 0 ++++++++++++++++++++++++++++
8 files changed, 137 insertions(+), 47 deletions(-)
2008-06-20 15:16:43 +00:00
Yann E. MORIN"
6e2180c1f2
Print "Build completed" only if not in error, not the other way around.
...
/trunk/scripts/functions | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2008-06-20 11:58:13 +00:00
Yann E. MORIN"
8f0f8a170a
Really don't re-build MPFR autotools files at each run.
...
/trunk/scripts/build/debug/300-gdb.sh | 8 6 2 0 ++++++--
/trunk/scripts/build/mpfr.sh | 10 7 3 0 +++++++---
2 files changed, 13 insertions(+), 5 deletions(-)
2008-06-20 10:58:45 +00:00
Yann E. MORIN"
b4c1d39a2b
Don't force building a gdbserver when only native gdb is selected.
...
/trunk/config/debug/gdb.in | 1 0 1 0 -
/trunk/scripts/build/debug/300-gdb.sh | 1 0 1 0 -
2 files changed, 2 deletions(-)
2008-06-20 09:56:46 +00:00
Yann E. MORIN"
631ad148a2
Only rebuild MPFR config files at extract time, not for every builds.
...
/trunk/scripts/build/mpfr.sh | 15 7 8 0 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
2008-06-20 09:17:06 +00:00
Yann E. MORIN"
59eaaed971
Realy fix building MPFR.
...
/trunk/scripts/build/mpfr.sh | 2 2 0 0 ++
1 file changed, 2 insertions(+)
2008-06-20 07:44:14 +00:00
Yann E. MORIN"
45117f345b
Fix building MPFR on distro that have strict sanity checks on libtool.m4 and ltmain.sh versions mismatch. UNTESTED!
...
/trunk/scripts/build/mpfr.sh | 11 11 0 0 +++++++++++
1 file changed, 11 insertions(+)
2008-06-19 21:54:57 +00:00
Yann E. MORIN"
3950f8e87d
A bunch of fixes/improvements to the gdb build:
...
- allow native builds (both shared and static)
- fix enabling threads
- better handle the gdbserver case
- introduce the ncurses library to allow native builds
- re-order config options adequately
/trunk/scripts/build/debug/300-gdb.sh | 126 79 47 0 ++++++++++++++++++++++++++---------------
/trunk/config/debug/gdb.in | 45 33 12 0 +++++++++++----
2 files changed, 112 insertions(+), 59 deletions(-)
2008-06-19 15:33:33 +00:00
Yann E. MORIN"
e66d06e8e3
Only print "Build completed" if build was successful.
...
Print the time at which at step was finished (along with the time it took to complete).
/trunk/scripts/functions | 7 5 2 0 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
2008-06-19 15:31:04 +00:00
Yann E. MORIN"
94ce4c79f9
Fix building D.U.M.A. when C++ is not configured.
...
/trunk/scripts/build/debug/200-duma.sh | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2008-06-19 15:30:01 +00:00
Yann E. MORIN"
21f8f48369
Build a C++ friendly uClibc.
...
/trunk/scripts/build/libc_uClibc.sh | 4 2 2 0 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
2008-06-19 08:17:39 +00:00
Yann E. MORIN"
c66afdc69e
When building uClibc, always build the libpthread_db.
...
/trunk/scripts/build/libc_uClibc.sh | 8 5 3 0 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
2008-06-19 08:14:52 +00:00
Yann E. MORIN"
a8bfc05f9f
Help ncurses to install properly.
...
/trunk/scripts/build/debug/300-gdb.sh | 1 1 0 0 +
1 file changed, 1 insertion(+)
2008-06-18 14:16:01 +00:00
Yann E. MORIN"
c15f99666a
Re-format the dumped DokuWiki table of samples.
...
/trunk/scripts/showSamples.sh | 20 15 5 0 +++++++++++++++-----
1 file changed, 15 insertions(+), 5 deletions(-)
2008-06-18 13:20:14 +00:00
Yann E. MORIN"
aead7ddfbd
Fix saving samples.
...
/trunk/scripts/saveSample.sh | 2 1 1 0 +-
1 file changed, 1 insertion(+), 1 deletion(-)
2008-06-18 12:53:38 +00:00
Yann E. MORIN"
a09a458bb9
Fix building native gdb: download, extract, patch, build and install the ncurses library (that is needed by gdb)
...
/trunk/scripts/build/debug/300-gdb.sh | 46 42 4 0 +++++++++++++++++++++++++++++++++++++----
/trunk/config/debug/gdb.in | 26 25 1 0 ++++++++++++++++++++++-
2 files changed, 67 insertions(+), 5 deletions(-)
2008-06-18 12:33:32 +00:00
Yann E. MORIN"
b9640aeaab
Fix building D.U.M.A:
...
- some (presumably 'old') versions have libduma.so.0.0, while others (presumably 'newer') have libduma.so.0.0.0
- don't build the libraries multiple times, do it in one pass
- install a custom LD_PRELOAD wrapper
/trunk/scripts/build/debug/200-duma.sh | 54 33 21 0 +++++++++++++++++++++++++++++++++---------------------
1 file changed, 33 insertions(+), 21 deletions(-)
2008-06-17 22:26:44 +00:00
Yann E. MORIN"
aa8a936a1d
Help glibc build by exporting PARALLELMFLAGS.
...
/trunk/scripts/crosstool.sh | 1 1 0 0 +
1 file changed, 1 insertion(+)
2008-06-17 11:30:36 +00:00
Yann E. MORIN"
ee45ae9574
Change the log level of a core gcc build message (headers copy), from EXTRA to DEBUG.
...
/trunk/scripts/build/cc_gcc.sh | 4 2 2 0 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
2008-06-17 11:22:23 +00:00
Yann E. MORIN"
1eaa6e6cbf
Some makeinfo versions are a pain in [somewhere very painful].
...
Work this around with a wrapper that always succeeds, and leave incomplete files in place.
/trunk/scripts/crosstool.sh | 7 7 0 0 +++++++
1 file changed, 7 insertions(+)
2008-06-15 22:02:45 +00:00
Yann E. MORIN"
d48ade3ec8
Better install the libraries improperly installed by gcc in prefix/target/lib instead of sysroot/usr/lib.
...
/trunk/scripts/build/cc_gcc.sh | 3 2 1 0 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
2008-06-15 20:51:37 +00:00
Yann E. MORIN"
6cea94c049
When saving a sample, force the prefix directory to be ${HOME}/x-tools/${CT_TARGET} .
...
/trunk/scripts/saveSample.sh | 4 3 1 0 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
2008-06-15 19:55:56 +00:00
Yann E. MORIN"
e08c8fa12a
Add a new rule to build the sample table ready to include in the WiKi.
...
/trunk/scripts/showSamples.sh | 81 53 28 0 ++++++++++++++++++++++++++++++++-----------------
/trunk/samples/samples.mk | 6 6 0 0 ++++
2 files changed, 59 insertions(+), 28 deletions(-)
2008-06-15 19:25:51 +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"
fddd535b29
Rework dumping the samples.
...
/trunk/scripts/showSamples.sh | 1 0 1 0 -
/trunk/samples/samples.mk | 10 7 3 0 +++++++---
2 files changed, 7 insertions(+), 4 deletions(-)
2008-05-26 21:49:36 +00:00
Yann E. MORIN"
91c6e16780
Add a new helper function: CT_DoExecLog.
...
It is similar to CT_DoLog, but instead of printing its arguments, it uses them as a command, and logs the output of that command.
/trunk/scripts/functions | 8 8 0 0 ++++++++
1 file changed, 8 insertions(+)
2008-05-25 22:25:50 +00:00
Yann E. MORIN"
832d6ba314
Fix building big-endian ARM EABI toolchains (build-tested only).
...
Patch highly inspired by the one from OpenWRT (http://openwrt.org/ )
/trunk/patches/gcc/4.2.3/930-eabi_fixes.patch | 13 13 0 0 +++++++++++++
/trunk/scripts/build/cc_gcc.sh | 6 4 2 0 ++++--
2 files changed, 17 insertions(+), 2 deletions(-)
2008-05-25 22:10:32 +00:00
Yann E. MORIN"
5ad450e403
Multilib is gone, so don't use it when building gcc.
...
/trunk/scripts/build/cc_gcc.sh | 6 1 5 0 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
2008-05-24 22:49:54 +00:00
Yann E. MORIN"
8dd0e17c51
Use the arch-specific target LDFLAGS into the final target LDFLAGS.
...
Fix a help entry in the CFLAGS_for_target config entry.
/trunk/scripts/crosstool.sh | 4 3 1 0 +++-
/trunk/config/target.in | 2 1 1 0 +-
2 files changed, 4 insertions(+), 2 deletions(-)
2008-05-24 22:38:07 +00:00
Yann E. MORIN"
c68aacb799
Improve handling of __cxa_atexit by Arnaud Vrac <rawoul at zogzog dot org>.
...
/trunk/scripts/build/cc_gcc.sh | 18 15 3 0 +++++++++++++++---
1 file changed, 15 insertions(+), 3 deletions(-)
2008-05-22 22:38:37 +00:00
Yann E. MORIN"
9d2e7e0b70
Introduce target-specific LDFLAGS, the same way we have CFLAGS for the target.
...
It seems to be helping gcc somewhat into telling the correct endianness to ld that sticks with little endian even when the target is big (eg armeb-unknown-linux-uclibcgnueabi).
There's still work to do, especially finish the gcc part that is not in this commit.
/trunk/scripts/functions | 9 7 2 0 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
2008-05-21 22:00:52 +00:00
Yann E. MORIN"
6bf2896c4e
Build an MPFR library that is thread-safe (I don't know if either binutils or gcc are threaded themselves).
...
/trunk/scripts/build/mpfr.sh | 1 1 0 0 +
1 file changed, 1 insertion(+)
2008-05-21 21:52:31 +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"
62c87c5adf
In the future, we'll be able to download /old/ MPFR versions.
...
/trunk/scripts/build/mpfr.sh | 3 2 1 0 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
2008-05-19 21:41:19 +00:00
Yann E. MORIN"
7007cc858f
Introduce a new option to overide components' config.{gues,sub} with the one provided with crosstool-NG.
...
Fix typoes in a comment.
/trunk/scripts/functions | 13 11 2 0 +++++++++++--
/trunk/config/global/download_extract.in | 20 20 0 0 ++++++++++++++++++++
2 files changed, 31 insertions(+), 2 deletions(-)
2008-05-15 20:45:18 +00:00
Yann E. MORIN"
ec169f9cc7
Fix forcing source extraction.
...
/trunk/scripts/crosstool.sh | 5 3 2 0 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
2008-05-15 20:42:45 +00:00
Yann E. MORIN"
cfdbd995e2
Better configure binutils, both for host and target.
...
/trunk/scripts/build/binutils.sh | 23 15 8 0 +++++++++++++++--------
1 file changed, 15 insertions(+), 8 deletions(-)
2008-05-14 17:58:07 +00:00
Yann E. MORIN"
4ebe15e6b4
Sanitise and use CT_CC_NATIVE.
...
Comment inclusion of scripts/functions.
/trunk/scripts/build/cc_gcc.sh | 6 6 0 0 ++++++
/trunk/scripts/crosstool.sh | 7 6 1 0 ++++++-
2 files changed, 12 insertions(+), 1 deletion(-)
2008-05-14 17:56:33 +00:00
Yann E. MORIN"
5e2851a219
Introduce a new option to render (or not) uClibc' build verbose.
...
/trunk/scripts/build/libc_uClibc.sh | 6 4 2 0 ++++--
/trunk/config/libc/uClibc.in | 23 23 0 0 +++++++++++++++++++++++
2 files changed, 27 insertions(+), 2 deletions(-)
2008-05-14 17:52:53 +00:00
Yann E. MORIN"
0dad6065a6
Export endianness CFLAGS.
...
Fix endianness CFLAGS for MIPS.
/trunk/scripts/functions | 1 1 0 0 +
/trunk/arch/mips/functions | 6 6 0 0 ++++++
2 files changed, 7 insertions(+)
2008-05-14 17:49:52 +00:00
Yann E. MORIN"
edbd3bee45
Fix building uClibc-based, soft-float toolchains by correctly setting float support in the uClibc config file.
...
Correctly unset float CFLAGS and configure arguments before setting them.
/trunk/scripts/build/libc_uClibc.sh | 4 2 2 0 ++--
/trunk/scripts/functions | 4 2 2 0 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
2008-05-14 17:39:18 +00:00
Yann E. MORIN"
e086c89afe
Improve a comment in code.
...
/trunk/scripts/build/libc_glibc.sh | 1 1 0 0 +
1 file changed, 1 insertion(+)
2008-05-11 12:53:37 +00:00
Yann E. MORIN"
770bed1f53
Add a new option to set connection timeout while downloading.
...
/trunk/scripts/functions | 16 8 8 0 ++++++++--------
/trunk/config/global/download_extract.in | 25 25 0 0 +++++++++++++++++++++++++
2 files changed, 33 insertions(+), 8 deletions(-)
2008-05-06 20:30:49 +00:00
Yann E. MORIN"
1b9a490601
Some people are reposrting that ftp does not work on their network, probably due to proxies, while http does work.
...
Some (most) of the sites we use toretrieve tarballs have http equivallent for the ftp service. Use http as a failover.
There's no solution for those sites that do not have such an http equivalent.
/trunk/scripts/build/binutils.sh | 5 2 3 0 ++---
/trunk/scripts/build/libc_glibc.sh | 4 2 2 0 ++--
/trunk/scripts/build/libc_uClibc.sh | 2 1 1 0 +-
/trunk/scripts/build/debug/400-ltrace.sh | 2 1 1 0 +-
/trunk/scripts/build/debug/300-gdb.sh | 8 3 5 0 +++-----
/trunk/scripts/build/kernel_linux.sh | 7 2 5 0 ++-----
/trunk/scripts/build/cc_gcc.sh | 6 2 4 0 ++----
/trunk/scripts/build/gmp.sh | 4 1 3 0 +---
8 files changed, 14 insertions(+), 24 deletions(-)
2008-05-03 17:51:16 +00:00
Yann E. MORIN"
a056fa7341
Fix tools.sh and debug.sh now the tools/ and debug/ sub-dirs are numerically sorted.
...
/trunk/scripts/build/debug.sh | 4 2 2 0 ++--
/trunk/scripts/build/tools.sh | 4 2 2 0 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
2008-05-03 09:53:49 +00:00
Yann E. MORIN"
1dc26cbbcd
Fix testing glibc versions for -pipe.
...
/trunk/scripts/build/libc_glibc.sh | 6 4 2 0 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
2008-05-02 22:47:43 +00:00
Yann E. MORIN"
3d8a1efd05
Comment more a mis-leading comment in the glibc build procedure.
...
/trunk/scripts/build/libc_glibc.sh | 5 5 0 0 +++++
1 file changed, 5 insertions(+)
2008-05-02 22:21:43 +00:00
Yann E. MORIN"
ff1d30c4a3
For tools/ and debug/ build scripts, annd a numeric prefix, so that they always get built in the same order, in case of library dependencies.
...
/trunk/scripts/build/debug.sh | 2 1 1 0 +-
/trunk/scripts/build/tools.sh | 2 1 1 0 +-
2 files changed, 2 insertions(+), 2 deletions(-)
2008-05-02 21:59:14 +00:00
Yann E. MORIN"
8739aa7574
Add a new help entry to list each samples more verbosely, but only on-demand.
...
/trunk/samples/samples.mk | 4 4 0 0 ++++
/trunk/scripts/showSamples.sh | 32 31 1 0 +++++++++++++++++++++++++++++++-
2 files changed, 35 insertions(+), 1 deletion(-)
2008-05-02 21:49:43 +00:00
Yann E. MORIN"
886c3e7c8b
Do not try to download, extract, or build GMP and MPFR if not asked for.
...
/trunk/scripts/build/gmp.sh | 12 11 1 0 +++++++++++-
/trunk/scripts/build/mpfr.sh | 11 11 0 0 +++++++++++
2 files changed, 22 insertions(+), 1 deletion(-)
2008-04-30 16:38:06 +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"
dacd159a98
Build both shared and static versions of binutils' libraries for target.
...
/trunk/scripts/build/binutils.sh | 1 1 0 0 +
1 file changed, 1 insertion(+)
2008-04-28 09:27:21 +00:00
Yann E. MORIN"
7bb4d0d9ca
Do not forget binutils' target libraries in the list.
...
/trunk/scripts/build/binutils.sh | 4 2 2 0 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
2008-04-28 08:55:00 +00:00
Yann E. MORIN"
f75ab94105
Be alittle less verbose in the core CC pass 1 & 2.
...
/trunk/scripts/build/cc_gcc.sh | 5 0 5 0 -----
1 file changed, 5 deletions(-)
2008-04-28 07:44:22 +00:00
Yann E. MORIN"
daa31a0c34
Building target libraries before the cross-compiler is available is doomed! Move build binutils' target libraries after final gcc.
...
Have a unique list of steps, it's easier to maintain.
/trunk/scripts/build/binutils.sh | 8 5 3 0 +++++---
/trunk/scripts/crosstool.sh | 16 2 14 0 ++--------------
/trunk/steps.mk | 29 16 13 0 ++++++++++++++++-------------
3 files changed, 23 insertions(+), 30 deletions(-)
2008-04-28 07:38:36 +00:00
Yann E. MORIN"
f4012a128e
Add building some binutils libraries for the target, as some utilities might need them.
...
/trunk/scripts/build/binutils.sh | 32 32 0 0 ++++++++++++++++++++++++++++++++
/trunk/config/binutils.in | 22 22 0 0 ++++++++++++++++++++++
2 files changed, 54 insertions(+)
2008-04-27 15:08:15 +00:00
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"
e6ca02b829
Configure tsocks with a simple heuristic.
...
Consider the proxy has to be in a 'local' network. It means it is directly
reachable by the local machine, even if the local machine has to hop through
one or more gates to reach the proxy (often the case in enterprise networks
where class A 10.0.0.0/8 is in fact sub-divided into smaller networks, each
one of them in a different location, eg. 10.1.0.0/16 in a place, while
10.2.0.0/16 would be on the other side of the world). Not being in the same
subnet does not mean the proxy is not available.
So we will build a mask with at most high bits set, which defines a network
that has both the local machine and the proxy. Because a machine may have
more than one interface, build a mask for each of them, removing 127.0.0.1
which is added automagically by tsocks, and removing duplicate masks.
If all of this does not work, then it means the local machine can NOT in fact
reach the proxy, which in turn means the user mis-configured something (most
probably a typo...).
/trunk/scripts/crosstool.sh | 61 52 9 0 +++++++++++++++++++++++++++++++++++++++++++--------
1 file changed, 52 insertions(+), 9 deletions(-)
2008-04-26 21:31:05 +00:00
Yann E. MORIN"
08f2c57f96
Tss.... I was bieng real stupid while building up the tsocks.conf file. Implement a much simpler way.
...
/trunk/scripts/crosstool.sh | 27 5 22 0 +++++----------------------
1 file changed, 5 insertions(+), 22 deletions(-)
2008-04-20 18:04:20 +00:00
Yann E. MORIN"
59ed1ed600
Using SOCKS 4/5 proxy is no easy task:
...
- a machine may well be able to reach the proxy, even if it is not on the same sub-net(s) as the machine itself (absolutely legitimate)
- tsocks.conf needs a list of so-called 'local' networks that can be reached without the need for a SOCKS connection
- SOCKS proxies are expected to be in 'local' networks
- there is absolutely NO way to tell what networks are local, besides the sub-net(s) the machine is in
Therefore, appropriate configuration of SOCKS 4/5 configuration is really complex, and attempts to correctly overcome this issue are doomed.
/trunk/scripts/crosstool.sh | 52 46 6 0 ++++++++++++++++++++++++++++++++++----
/trunk/config/global/download_extract.in | 39 31 8 0 +++++++++++++++++++++++------
2 files changed, 77 insertions(+), 14 deletions(-)
2008-04-18 22:16:28 +00:00
Yann E. MORIN"
b44e4e652a
Fix using HTTP proxy.
...
/trunk/scripts/crosstool.sh | 9 5 4 0 +++++----
/trunk/config/global/download_extract.in | 2 1 1 0 +-
2 files changed, 6 insertions(+), 5 deletions(-)
2008-04-18 08:41:30 +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"
9e9d061e01
Add an option to use a SOCKS 4/5 proxy to connect to the internet.
...
As for the HTTP proxy, this is completetly untested, as I have no such proxy at home.
scripts/crosstool.sh | 45 31 14 0 +++++++++++++++++--------
config/global.in | 95 81 14 0 +++++++++++++++++++++++++++++++++++++++++++--------
2 files changed, 112 insertions(+), 28 deletions(-)
2008-04-17 18:07:26 +00:00
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"
2dffee230a
Fix a comment.
...
functions | 6 3 3 0 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
2008-04-13 18:25:30 +00:00
Yann E. MORIN"
b3841f0aa9
Matthias Kaehlcke <matthias@kaehlcke.net> reported hanged downloads on his
...
network, most probably due to proxies. Have downloaders (wget and curl)
timeout on too slow connections (they don't by default).
scripts/functions | 17 12 5 0 ++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)
2008-04-13 18:16:58 +00:00
Yann E. MORIN"
07fa611771
Robet P. J. DAY: typoes.
2008-02-14 22:44:34 +00:00
Yann E. MORIN"
34c2acc77a
Patch from Michael Abbott <michael@araneidae.co.uk> to allow build to work with ancient findutils.
2008-01-28 18:40:31 +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"
72e58fb2a3
Fix a long standing bug when setting compiler flags.
2008-01-16 21:51:18 +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"
5f568e5557
Fix by "Arvid Brodin" <Arvid.Brodin@enea.com> to CFLAGS coming from CT_ARCH_TUNE.
...
Thanks for spotting this one! ;-)
2007-10-30 19:13:51 +00:00
Yann E. MORIN"
8891e25cd6
Do not try to save new;y downloaded tarballs to local storage if the directory does not exist.
2007-09-23 17:18:18 +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"
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"
60b7c724bd
Call architecture-specific functions from all scripts needing them.
2007-09-16 08:52:26 +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"
8ed77399de
We don't support Cygwin yet, no point in having quirks in.
2007-09-15 08:40:07 +00:00
Yann E. MORIN"
9501e62afa
Further expand the architecture-specific function: add CT_KERNEL_ARCH building.
2007-09-14 21:50:30 +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"
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"
ae7e017380
Small eye candy fix.
2007-09-14 17:29:39 +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"
d409c9fd1a
Merge from branches/ia64@476 : add ia64 preliminary support.
2007-09-11 17:24:09 +00:00
Yann E. MORIN"
07549c00fb
Use symlinks to the localy stored tarballs rather than copying them.
...
If saving tarballs to local storage is selected, move newly downloaded tarballs there and symlink.
2007-09-08 19:00: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"
0bee99ed38
Add a patch to enqable NPTL build on ARM OABI with glibc-2.6.1.
...
Fix a comment.
2007-09-06 12:38:52 +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"
1b80955d74
Fix restoring the environment.
2007-08-16 12:13:45 +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"
54cca9f2ba
Add the possibility to force the number of // jobs without reconfiguring.
2007-08-15 14:59:37 +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"
a2323d410a
Fix a small typo when extracting non-compressed steps.
...
Have a go for a sane handlign of tar options and extensions.
2007-08-12 15:18:09 +00:00
Yann E. MORIN"
7ee3cc8bc9
Fix saving the environment. Thanks to Mark Vels <Mark.Vels@fundem.net> for pointed it out!
2007-08-12 08:43:56 +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"
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"
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"
a69e51dc7c
MAKEFLAGS was leaking into some components build system (dmalloc, for example). This fixes it.
2007-07-23 19:49:35 +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"
3f4ac101f2
When isntalling aliases, send symlinks creation to CT_DEBUG log level.
2007-07-17 21:41:39 +00:00
Yann E. MORIN"
1a32a0fbbc
Remove the symlinks to the build/host tools earlier.
2007-07-17 21:38:35 +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"
75fdf70a6c
Print a message when installing populate.
2007-07-14 13:09:51 +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"
7eeab77560
Add a test for lynx (needed to download sstrip.c from buildroot).
2007-07-13 10:26:30 +00:00
Yann E. MORIN"
a464eeecda
Get rid of the legacy local variable got_it.
...
Allow to download files without extension.
Allow to specify a preffered extension when downloading a file.
2007-07-12 19:52:09 +00:00
Yann E. MORIN"
1e7411cce7
Test for curl or wget only once, not at each download.
2007-07-12 19:20:36 +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"
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"
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"
eae28ee8af
Add the "regtest" make target: call "make regtest", and all samples wil be built, and a tarball made for each of them. First sample to fail causes the test to stop.
2007-06-17 11:13:48 +00:00
Yann E. MORIN"
5e07f7cfc3
scripts/functions is responsible for initiating the log file.
...
Users of the log facility are in charge to use, move, delete this log file, now.
2007-06-16 22:23:53 +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"
0b17dd664e
When searching a matching extension for a file, also check for the empty extension.
2007-06-16 18:04:05 +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"
ef364dc50a
Stale log files are now named "log.*", not "*.log".
2007-06-04 17:51:55 +00:00
Yann E. MORIN"
04882814af
Small eye-candy fix.
2007-06-04 17:35:14 +00:00
Yann E. MORIN"
c3badb0b8a
Be a little more explicit when the user wants to restart a non-restartable build.
2007-06-02 15:50:45 +00:00
Yann E. MORIN"
88b6a540e3
Revert revision 201: renaming the two cc_core passes was a bad idea.
2007-06-02 08:13:13 +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"
4d84cd7db1
Rename two steps to their real names:
...
- cc_core_pass_1 is really cc_core_static,
- cc_core_pass_2 is really cc_core_shared.
2007-06-01 20:06:22 +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"
6d932e31d8
Messages from the downloaders should be tagged ALL, not DEBUG.
2007-06-01 16:20:20 +00:00
Yann E. MORIN"
1bb7c90a8d
Small fix in the log level when dumping the last messages (elapsed time).
2007-05-29 19:56:21 +00:00
Yann E. MORIN"
2f451b0094
Fix and enhance the STOP/RESTART facility.
2007-05-28 21:33:35 +00:00
Yann E. MORIN"
e830653d1b
Don't start a state restoration if it is not available.
...
Fortuitly discovered that $SECONDS is inherited from shell to sub-shells. Good!
2007-05-28 20:57:40 +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"
080d42255c
Forgot to remove all build system tools from the generated toolchain.
2007-05-27 20:23:41 +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"
266e38cc13
Add the possibility to stop after a specified step.
...
Update the Makefile help and the documentation accordingly.
2007-05-25 19:30:42 +00:00