Jo-Philipp Wich
c21b5cc34a
ext-toolchain.sh: rework generated gcc wrapper Only append -L and -Wl,-rpath-link flags if the command line contains -l, -L, -shared or -static flags; this is needed to suppress "-rpath-link: linker input file unused because linking not done" on each cc invocation.
...
SVN-Revision: 29946
13 years ago
Jo-Philipp Wich
86ddf7c7a8
ext-toolchain.sh: support --wrap with src == dest
...
SVN-Revision: 29944
13 years ago
Jo-Philipp Wich
fe60046a26
ext-toolchain.sh: CONFIG_NLS -> CONFIG_BUILD_NLS
...
SVN-Revision: 29782
13 years ago
Jo-Philipp Wich
ee62b0d751
ext-toolchain.sh: fix typo
...
SVN-Revision: 29781
13 years ago
Jo-Philipp Wich
796231d95c
ext-toolchain.sh: add option to write .config Add a new --config option to generate a .config from a given toolchain, this allows for easy integration of external toolchains, e.g.
...
./scripts/ext-toolchain.sh --toolchain /opt/mips-2011.03 --cflags "-muclibc" --config atheros
to setup a ready-to-compile atheros target using the external CodeSourcery toolchain.
SVN-Revision: 29780
13 years ago
Jo-Philipp Wich
989c73848f
ext-toolchain.sh: properly handle toolchains without sysroot support
...
SVN-Revision: 29772
13 years ago
Jo-Philipp Wich
f20b6c3ff9
ext-toolchain.sh: - use GCC's own idea of the target name (-dumpmachine) - display help if called without args - add copyright foo - remove some leftover flag handling code
...
SVN-Revision: 29769
13 years ago
Jo-Philipp Wich
7a563f122f
add ext-toolchain.sh, a utility for external toolchains The ext-toolchain.sh utility script implements various external toolchain tasks: * Testing of available features, like c++, soft-float or ipv6 support * Finding the libc implementation (uclibc or eglibc/glibc) * Inferring the GNU target name * Finding shared objects for packaging (libc, libpthread, ...) * Finding executables for packaging (ldd, gdbserver, ...) * Generating wrapper scripts for toolchain commands
...
SVN-Revision: 29765
13 years ago