aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #524 from stilor/force-isl-0.15-for-gcc-4.xAlexey Neyman2017-01-132-9/+43
|\ | | | | Fix GCC4.x samples after ISL 0.16.1 import.
| * Add ISL 0.17.1 and 0.18.Alexey Neyman2017-01-121-0/+21
| | | | | | | | | | | | | | | | GCC accepts them using the same check for "0.15 or newer", but since they are not "officially recommended" by GCC installation guide, mark them as experimental. Signed-off-by: Alexey Neyman <stilor@att.net>
| * Sort out ISL/CLooG dependencies.Alexey Neyman2017-01-122-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>
* Merge pull request #527 from stilor/vendor-arm-nanoAlexey Neyman2017-01-121-14/+10
|\ | | | | Adjust vendor in arm-nano-eabi...
| * Adjust vendor in arm-nano-eabi...Alexey Neyman2017-01-121-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>
* | Merge pull request #513 from stilor/fix-show-configAlexey Neyman2017-01-121-1/+1
|\ \ | | | | | | Fix ct-ng show-config.
| * | Fix ct-ng show-config.Alexey Neyman2017-01-101-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>
* | Merge pull request #523 from stilor/xtensa-binutils-bugAlexey Neyman2017-01-121-0/+33
|\ \ | |/ |/| Fix xtensa after binutils upgrade.
| * Fix xtensa after binutils upgrade.Alexey Neyman2017-01-101-0/+33
|/ | | | | | Patch from: https://bugzilla.redhat.com/show_bug.cgi?id=1404857 Signed-off-by: Alexey Neyman <stilor@att.net>
* 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.