aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #519 from InfernoEmbedded/newlib-enhancementsAlexey Neyman2017-01-104-27/+180
|\ | | | | Newlib enhancements
| * Add ARM nano sample configurationAlastair D'Silva2017-01-102-0/+31
| | | | | | | | Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
| * Support building Newlib with Link Time OptimisationAlastair D'Silva2017-01-102-10/+22
| | | | | | | | Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
| * Add more newlib optionsAlastair D'Silva2017-01-102-17/+127
| |
* | Merge pull request #510 from stilor/pass-flags-for-buildAlexey Neyman2017-01-1015-70/+178
|\ \ | | | | | | Pass flags for build & MacOS fixes.
| * | Pick up <linux/ioctl.h> and friends from TARGET.Alexey Neyman2017-01-101-9/+21
| | | | | | | | | | | | | | | | | | Otherwise, cross-compiling fails on non-Linux build machines. Signed-off-by: Alexey Neyman <stilor@att.net>
| * | Add MacOS options.Alexey Neyman2017-01-101-0/+23
| | | | | | | | | | | | | | | | | | Needed for linking gettext/libiconv. Signed-off-by: Alexey Neyman <stilor@att.net>
| * | ${LD_TARGET} -> ${CT_TARGET}.Alexey Neyman2017-01-101-1/+1
| | | | | | | | | | | | | | | | | | Obvious typo, worked by some miracle. Signed-off-by: Alexey Neyman <stilor@att.net>
| * | Shut clang's warning that confuses configure.Alexey Neyman2017-01-101-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | Warning causes gdb's configure to not detect <limit.h> declarations of LONG_MIN/MAX. Found-by: Kirill Smirnov <kirill.k.smirnov@gmail.com> Signed-off-by: Alexey Neyman <stilor@att.net>
| * | Darwin needs -liconv when building glibc.Alexey Neyman2017-01-101-7/+2
| | | | | | | | | | | | Signed-off-by: Alexey Neyman <stilor@att.net>
| * | Avoid trampling user's LDFLAGS_FOR_HOST...Alexey Neyman2017-01-101-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | ... by passing BUILD_LDFLAGS twice (the 2nd argument overrides the first). Also, no need to pass -I/-L for BUILD_CFLAGS/LDFLAGS, they are already included by crosstool-NG.sh (but keep for BUILD_CPPFLAGS, as we set it up here). Remove -Wl,-Bstatic/-Wl,-Bdynamic (we only build static complibs). Signed-off-by: Alexey Neyman <stilor@att.net>
| * | Patch GCC to leave -framework alone.Alexey Neyman2017-01-104-0/+56
| | | | | | | | | | | | Signed-off-by: Alexey Neyman <stilor@att.net>
| * | For simple cross or native pick up both build/host flags.Alexey Neyman2017-01-101-3/+17
| | | | | | | | | | | | Signed-off-by: Alexey Neyman <stilor@att.net>
| * | Select libintl from gettext we built.Alexey Neyman2017-01-103-2/+13
| | | | | | | | | | | | | | | | | | Also, require gettext for NLS, and require iconv/ncurses for gettext. Signed-off-by: Alexey Neyman <stilor@att.net>
| * | Point FOR_BUILD flags to buildtools/{include,lib}.Alexey Neyman2017-01-101-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>
| * | Change when libiconv/gettext are built.Alexey Neyman2017-01-103-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>
| * | Simplify a bit, no functional changes.Alexey Neyman2017-01-101-14/+4
| | | | | | | | | | | | Signed-off-by: Alexey Neyman <stilor@att.net>
| * | Kill CT_COMPLIBS_SHARED.Alexey Neyman2017-01-101-14/+12
| | | | | | | | | | | | | | | | | | There is no such option so the check is always true. Signed-off-by: Alexey Neyman <stilor@att.net>
| * | Disallow c++ for baremetal.Alexey Neyman2017-01-101-1/+1
|/ / | | | | | | | | | | libstdc++ configure fails to find <stdio.h>. Signed-off-by: Alexey Neyman <stilor@att.net>
* | Merge pull request #515 from InfernoEmbedded/arm-toolchain-updateAlexey Neyman2017-01-1036-16/+689
|\ \ | |/ |/| Arm toolchain update
| * Remove GCC 6.2.0Alastair D'Silva2017-01-0621-2964/+0
| | | | | | | | Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
| * Bump GCC to 6.3.0Alastair D'Silva2017-01-0621-0/+2964
| | | | | | | | Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
| * Add Newlib 2.4.0 & 2.5.0Alastair D'Silva2017-01-061-5/+32
| | | | | | | | Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
| * Bump binutils to 2.27Alastair D'Silva2017-01-0611-1/+620
| | | | | | | | Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
| * Bump ISL to 0.16.1Alastair D'Silva2017-01-061-0/+11
| | | | | | | | Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
| * Bump MPFR to 3.1.5Alastair D'Silva2017-01-061-0/+5
| | | | | | | | Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
| * Bump GMP version to 6.1.2Alastair D'Silva2017-01-061-0/+6
| | | | | | | | Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
| * Remove stray whitespaceAlastair D'Silva2017-01-061-7/+12
|/ | | | Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
* Merge pull request #512 from stilor/kill-install-dirAlexey Neyman2016-12-192-24/+10
|\ | | | | Kill CT_INSTALL_DIR.
| * Kill CT_INSTALL_DIR.Alexey Neyman2016-12-192-24/+10
| | | | | | | | | | | | We now use CT_PREFIX and expect the resulting toolchain to be relocatable. Signed-off-by: Alexey Neyman <stilor@att.net>
* | Merge pull request #511 from stilor/make-error-catchAlexey Neyman2016-12-191-1/+1
|\ \ | |/ |/| Catch more make errors.
| * Catch more make errors.Alexey Neyman2016-12-181-1/+1
|/ | | | | | Some errors from make(1) do not include a file reference in brackets. Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge pull request #508 from stilor/drop-dmallocAlexey Neyman2016-12-1740-487/+7
|\ | | | | Drop dmalloc
| * Run samples through 'ct-ng update-samples'.Alexey Neyman2016-12-1625-27/+3
| | | | | | | | Signed-off-by: Alexey Neyman <stilor@att.net>
| * Kill dmalloc.Alexey Neyman2016-12-1615-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>
* | Merge pull request #509 from stilor/more-gettextAlexey Neyman2016-12-173-10/+24
|\ \ | |/ |/| More gettext-related fixes
| * Pass original multi_os_dir to iterator.Alexey Neyman2016-12-172-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>
| * Avoid host libs when compiling gettext.Alexey Neyman2016-12-171-0/+8
|/ | | | | | On Travis, old libxml2 is picked up from host and breaks the build. Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge pull request #506 from stilor/canadian-gettext-mingw32Alexey Neyman2016-12-167-35/+55
|\ | | | | Make companion libs static; fix gettext build on mingw
| * Make companion libs static.Alexey Neyman2016-12-117-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>
* | Merge pull request #498 from stilor/xtensa-linkAlexey Neyman2016-12-162-1/+35
|\ \ | |/ |/| Fix xtensa static link.
| * Also, rename xtensa sample for Travis.Alexey Neyman2016-12-091-1/+1
| | | | | | | | Signed-off-by: Alexey Neyman <stilor@att.net>
| * Fix xtensa static link.Alexey Neyman2016-12-091-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>
* Merge pull request #494 from stilor/cygwin-fixesAlexey Neyman2016-12-0618-58/+241
|\ | | | | Cygwin fixes
| * Work around Cygwin idiosyncrasy.Alexey Neyman2016-12-061-1/+7
| | | | | | | | | | | | Cygwin doesn't like directory names ending with a dot, e.g. "multilib_." Signed-off-by: Alexey Neyman <stilor@att.net>
| * Update Linux kernel patches.Alexey Neyman2016-12-0611-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>
| * Add patches for <sys/select.h> issue on Cygwin.Alexey Neyman2016-12-062-0/+70
| | | | | | | | | | | | | | From gnulib´s mailing list; paths modified to match gnulib module inside gettext. Signed-off-by: Alexey Neyman <stilor@att.net>
| * Rename gettext 0.19.6 patches to 0.19.7.Alexey Neyman2016-12-063-19/+19
| | | | | | | | | | | | 120-*.patch needed an update; others copied verbatim. Signed-off-by: Alexey Neyman <stilor@att.net>
| * Ignore *.exe (on Cygwin).Alexey Neyman2016-12-061-0/+1
|/ | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge pull request #495 from stilor/old-gcc-buildAlexey Neyman2016-12-051-0/+138
|\ | | | | Backport the fix to 4.8.5.