crosstool-ng/scripts
Alexey Neyman 3dbb576c17 Make companion libs static.
This follows the trend set by 1*.sh scripts that configure ISL, GMP,
MPFR, CLooG, etc. Building with shared libraries presents all kinds
of problems:
- The shared libraries need to be installed into ${CT_PREFIX_DIR}.
- The binaries linked against companion libs need to have proper
RPATH, or they're looking for shared libs in
.build/${CT_PREFIX}/buildtools/lib.
- All libraries must agree as to whether they're built shared,
static, or both. Otherwise, gettext tries to link in static libncurses.a
into a shared library and fails (since libncurses was compiled without
the -fPIC switch and hence contains relocations that cannot be handled
in a shared library).

So this fixes the current mess. If we decide to re-enable building
the companion libs shared, we should probably make this dependent on
a separate suboption of CT_STATIC_TOOLCHAIN.

Add a config loosely based on one reported in the issue 274.

Signed-off-by: Alexey Neyman <stilor@att.net>
2016-12-11 00:46:06 -08:00
..
build Make companion libs static. 2016-12-11 00:46:06 -08:00
.gitignore repository: migrate old hg files over to git 2014-06-27 00:28:53 +02:00
addToolVersion.sh Give companion tools some love. 2016-11-21 23:03:03 -08:00
config.guess Update config.guess and config.sub 2016-08-26 08:54:13 -07:00
config.sub Update config.guess and config.sub 2016-08-26 08:54:13 -07:00
crosstool-NG.sh.in Add 'companion tools for host' step. 2016-12-02 15:03:15 -08:00
functions Work around Cygwin idiosyncrasy. 2016-12-06 10:33:20 -08:00
gen_in_frags.sh config: Add config support for multiple compilers 2015-05-29 21:49:33 +01:00
install-sh configure: use autoconf to generate configure 2011-11-07 22:28:40 +01:00
patch-renumber.sh scripts: fix tools override 2012-01-16 23:36:42 +01:00
patch-rework.sh Whitespace: We don't use tabs in shell or kconfig files 2015-12-08 10:55:17 -08:00
populate.in consistency: Use exported variables of required tools 2015-11-17 02:48:09 -08:00
saveSample.sh.in Linux: Remove obsolete Linux custom headers 2015-12-08 07:20:35 -08:00
scripts.mk Fix samples using GMP 4.3.2. 2015-10-30 16:24:52 -07:00
showSamples.sh Whitespace: We don't use tabs in shell or kconfig files 2015-12-08 10:55:17 -08:00
showTuple.sh.in scripts/showTuple: fix stdout 2013-01-06 12:08:33 +01:00
toolchain-config.in scripts: simplify and fix the toolchain config script 2011-08-19 00:52:05 +02:00
xldd.in consistency: Use exported variables of required tools 2015-11-17 02:48:09 -08:00