summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-01-10For simple cross or native pick up both build/host flags.Alexey Neyman1-3/+17
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-10Select libintl from gettext we built.Alexey Neyman3-2/+13
Also, require gettext for NLS, and require iconv/ncurses for gettext. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-10Point FOR_BUILD flags to buildtools/{include,lib}.Alexey Neyman1-5/+6
Similarly to FOR_HOST; recent change in 100-gcc.sh that switched FOR_HOST->FOR_BUILD broke simple cross configurations on macos. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-10Change when libiconv/gettext are built.Alexey Neyman3-10/+8
Make them configurable, default to y when build!=host (i.e. canadian or cross-native) because we don't know what libraries the host will provide. GLIBC, as previously, selects them explicitly. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-10Simplify a bit, no functional changes.Alexey Neyman1-14/+4
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-10Kill CT_COMPLIBS_SHARED.Alexey Neyman1-14/+12
There is no such option so the check is always true. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-10Disallow c++ for baremetal.Alexey Neyman1-1/+1
libstdc++ configure fails to find <stdio.h>. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-10Merge pull request #515 from InfernoEmbedded/arm-toolchain-updateAlexey Neyman36-16/+689
Arm toolchain update
2017-01-06Remove GCC 6.2.0Alastair D'Silva21-2964/+0
Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
2017-01-06Bump GCC to 6.3.0Alastair D'Silva21-0/+2964
Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
2017-01-06Add Newlib 2.4.0 & 2.5.0Alastair D'Silva1-5/+32
Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
2017-01-06Bump binutils to 2.27Alastair D'Silva11-1/+620
Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
2017-01-06Bump ISL to 0.16.1Alastair D'Silva1-0/+11
Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
2017-01-06Bump MPFR to 3.1.5Alastair D'Silva1-0/+5
Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
2017-01-06Bump GMP version to 6.1.2Alastair D'Silva1-0/+6
Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
2017-01-06Remove stray whitespaceAlastair D'Silva1-7/+12
Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
2016-12-19Merge pull request #512 from stilor/kill-install-dirAlexey Neyman2-24/+10
Kill CT_INSTALL_DIR.
2016-12-19Merge pull request #511 from stilor/make-error-catchAlexey Neyman1-1/+1
Catch more make errors.
2016-12-19Kill CT_INSTALL_DIR.Alexey Neyman2-24/+10
We now use CT_PREFIX and expect the resulting toolchain to be relocatable. Signed-off-by: Alexey Neyman <stilor@att.net>
2016-12-18Catch more make errors.Alexey Neyman1-1/+1
Some errors from make(1) do not include a file reference in brackets. Signed-off-by: Alexey Neyman <stilor@att.net>
2016-12-17Merge pull request #508 from stilor/drop-dmallocAlexey Neyman40-487/+7
Drop dmalloc
2016-12-17Merge pull request #509 from stilor/more-gettextAlexey Neyman3-10/+24
More gettext-related fixes
2016-12-17Pass original multi_os_dir to iterator.Alexey Neyman2-10/+16
This is needed for callbacks that use that directory to look inside GCC internal directories, e.g. moving the libraries. This broke when I made libexpat for target honor ${CT_SHARED_LIBS}. Signed-off-by: Alexey Neyman <stilor@att.net>
2016-12-17Avoid host libs when compiling gettext.Alexey Neyman1-0/+8
On Travis, old libxml2 is picked up from host and breaks the build. Signed-off-by: Alexey Neyman <stilor@att.net>
2016-12-17Run samples through 'ct-ng update-samples'.Alexey Neyman25-27/+3
Signed-off-by: Alexey Neyman <stilor@att.net>
2016-12-17Kill dmalloc.Alexey Neyman15-460/+4
- No new releases in almost 10 year. - No public bug tracker or VCS. - No responses from maintainer over sent patches. RIP, dmalloc. Signed-off-by: Alexey Neyman <stilor@att.net>
2016-12-16Merge pull request #506 from stilor/canadian-gettext-mingw32Alexey Neyman7-35/+55
Make companion libs static; fix gettext build on mingw
2016-12-16Merge pull request #498 from stilor/xtensa-linkAlexey Neyman2-1/+35
Fix xtensa static link.
2016-12-11Make companion libs static.Alexey Neyman7-35/+55
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-09Also, rename xtensa sample for Travis.Alexey Neyman1-1/+1
Signed-off-by: Alexey Neyman <stilor@att.net>
2016-12-09Fix xtensa static link.Alexey Neyman1-0/+34
uClibc-ng 1.0.20 fixed static linking with "libdl" by adding all libdl functions into the libc. On xtensa, though, libdl contains an unresolved reference that is satisfied by the ld.so - which is not a part of the linking in a static case. Signed-off-by: Alexey Neyman <stilor@att.net>
2016-12-06Merge pull request #494 from stilor/cygwin-fixesAlexey Neyman18-58/+241
Cygwin fixes
2016-12-06Work around Cygwin idiosyncrasy.Alexey Neyman1-1/+7
Cygwin doesn't like directory names ending with a dot, e.g. "multilib_." Signed-off-by: Alexey Neyman <stilor@att.net>
2016-12-06Update Linux kernel patches.Alexey Neyman11-38/+144
3.0.9/100-headers-install-fix*.patch picked up upstream. The Cygwin fix is needed for Cygwin on all kernel versions. Signed-off-by: Alexey Neyman <stilor@att.net>
2016-12-06Add patches for <sys/select.h> issue on Cygwin.Alexey Neyman2-0/+70
From gnulib´s mailing list; paths modified to match gnulib module inside gettext. Signed-off-by: Alexey Neyman <stilor@att.net>
2016-12-06Rename gettext 0.19.6 patches to 0.19.7.Alexey Neyman3-19/+19
120-*.patch needed an update; others copied verbatim. Signed-off-by: Alexey Neyman <stilor@att.net>
2016-12-06Ignore *.exe (on Cygwin).Alexey Neyman1-0/+1
Signed-off-by: Alexey Neyman <stilor@att.net>
2016-12-06Merge pull request #495 from stilor/old-gcc-buildAlexey Neyman1-0/+138
Backport the fix to 4.8.5.
2016-12-06Merge pull request #496 from stilor/uclibc-add-1.0.20Alexey Neyman1-20/+3
Add uclibc-ng 1.0.20.
2016-12-06Add uclibc-ng 1.0.20.Alexey Neyman1-20/+3
Retire 1.0.{17,18,19}. Both static link & dlopen issues are now apparently fixed. Signed-off-by: Alexey Neyman <stilor@att.net>
2016-12-06Backport the fix to 4.8.5.Alexey Neyman1-0/+138
4.9.4 doesn't need this, fixed upstream. Signed-off-by: Alexey Neyman <stilor@att.net>
2016-12-06Merge pull request #443 from KirillSmirnov/gdb-nativeAlexey Neyman4-5/+54
debug/gdb: properly link with expat
2016-12-05debug/gdb: restore commentsKirill K. Smirnov1-0/+12
There are two separate issues with gdb configure usage: 1) inspecting build system libraries while cross-compiling; 2) preferring a shared library over static one. The first usage issue is described and fixed now. The second issue was described but the notes were removed for some reason. This patch restores those notes. Suggested-by: Alexey Neyman <stilor@att.net> Signed-off-by: Kirill K. Smirnov <kirill.k.smirnov@gmail.com>
2016-12-03Merge pull request #487 from stilor/host-comp-toolsAlexey Neyman10-61/+263
Allow for installation of companion tools for host
2016-12-03Merge pull request #492 from stilor/custom-locAlexey Neyman7-7/+11
Fix building uClibc-ng from custom directory
2016-12-02Add comp. tools for host in one of canadian crosses.Alexey Neyman1-0/+3
Signed-off-by: Alexey Neyman <stilor@att.net>
2016-12-02Add 'companion tools for host' step.Alexey Neyman9-47/+227
Signed-off-by: Alexey Neyman <stilor@att.net>
2016-12-02Move companion tool build into a separate step.Alexey Neyman8-17/+36
Also, rename "build" -> "for_build", since we're going to have a "for_host" as well. Signed-off-by: Alexey Neyman <stilor@att.net>
2016-12-02uClibc-ng needs to know whether it is 1.0.15+Alexey Neyman1-1/+5
This is workaround, as more packages require similar tweaks (some depend on X_Y_Z_or_later config variables either in kconfig, or in the build scripts. We should have a CT_CompareVersion, that will apply the default or per-package method of comparison. Signed-off-by: Alexey Neyman <stilor@att.net>
2016-12-02Fix use of custom location if it is a directory.Alexey Neyman6-6/+6
In that case, CT_GetCustom just creates a symlink to the original. In that case, 'cp -a <path> .' gives an error and 'cp -a <path> <newdir>' creates <newdir> as a symlink (which will then run the build inside the shared directory, .build/src/<package>). Signed-off-by: Alexey Neyman <stilor@att.net>