summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-01-13Sort out ISL/CLooG dependencies.Alexey Neyman2-9/+22
Source-wise, both CLooG and GCC depend on ISL, and GCC may depend on CLooG. However, GCC may or may not require CLooG (GCC5 dropped this dependency). Also, all GCC4.x releases build fine with any of the CLooG releases we have. With all that in mind, it is easier to specify ISL dependency on particular GCC releases; and CLooG dependency (if applicable) on ISL. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-13Merge pull request #527 from stilor/vendor-arm-nanoAlexey Neyman1-14/+10
Adjust vendor in arm-nano-eabi...
2017-01-13Merge pull request #513 from stilor/fix-show-configAlexey Neyman1-1/+1
Fix ct-ng show-config.
2017-01-13Merge pull request #523 from stilor/xtensa-binutils-bugAlexey Neyman1-0/+33
Fix xtensa after binutils upgrade.
2017-01-12Adjust vendor in arm-nano-eabi...Alexey Neyman1-14/+10
So that 'ct-ng saveconfig' works properly. Also, run it through 'ct-ng saveconfig' so that default options are removed. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-11Fix xtensa after binutils upgrade.Alexey Neyman1-0/+33
Patch from: https://bugzilla.redhat.com/show_bug.cgi?id=1404857 Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-11Fix ct-ng show-config.Alexey Neyman1-1/+1
If configured with --enable-local, CT_NG is exported as plain 'ct-ng' without any path. showSamples.sh then fails to invoke ct-ng (as current directory is not in $PATH). Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-11Merge pull request #519 from InfernoEmbedded/newlib-enhancementsAlexey Neyman4-27/+180
Newlib enhancements
2017-01-10Merge pull request #510 from stilor/pass-flags-for-buildAlexey Neyman15-70/+178
Pass flags for build & MacOS fixes.
2017-01-10Pick up <linux/ioctl.h> and friends from TARGET.Alexey Neyman1-9/+21
Otherwise, cross-compiling fails on non-Linux build machines. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-10Add MacOS options.Alexey Neyman1-0/+23
Needed for linking gettext/libiconv. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-10${LD_TARGET} -> ${CT_TARGET}.Alexey Neyman1-1/+1
Obvious typo, worked by some miracle. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-10Shut clang's warning that confuses configure.Alexey Neyman1-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>
2017-01-10Darwin needs -liconv when building glibc.Alexey Neyman1-7/+2
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-10Avoid trampling user's LDFLAGS_FOR_HOST...Alexey Neyman1-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>
2017-01-10Patch GCC to leave -framework alone.Alexey Neyman4-0/+56
Signed-off-by: Alexey Neyman <stilor@att.net>
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-09Add ARM nano sample configurationAlastair D'Silva2-0/+31
Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
2017-01-09Support building Newlib with Link Time OptimisationAlastair D'Silva2-10/+22
Signed-off-by: Alastair D'Silva <alastair@d-silva.org>
2017-01-09Add more newlib optionsAlastair D'Silva2-17/+127
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>