Alexey Neyman
ef58f6c01c
Merge pull request #535 from stilor/broke-newlib-cxx-canadian
...
Restore copying headers for gcc_build
2017-01-16 09:01:20 -08:00
Alexey Neyman
cc30c2c880
Merge pull request #533 from stilor/gdb-7.12
...
Gdb 7.12
2017-01-16 09:01:10 -08:00
Alexey Neyman
16a7f7bde7
Merge pull request #532 from stilor/expat-2.2
...
Add expat 2.1.1 and 2.2.0.
2017-01-16 09:01:00 -08:00
Alexey Neyman
5dab5e42a9
Merge pull request #531 from stilor/uclibc-ng-21
...
Add uClibc-ng 1.0.21.
2017-01-16 09:00:44 -08:00
Alexey Neyman
d47e64711e
Restore copying headers for gcc_build.
...
Only needed in canadian configurations to build libstdc++.
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-14 14:51:38 -08:00
Alexey Neyman
fb58775a46
Typo s/CC_BINUTILS/BINUTILS/.
...
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-13 21:55:01 -08:00
Alexey Neyman
aa60275fdf
Declare GDB 7.9 and older obsolete.
...
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-13 21:53:47 -08:00
Alexey Neyman
7bc66a2ca2
Add uClibc-ng 1.0.21.
...
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-13 21:47:28 -08:00
Alexey Neyman
c1612e9295
Use ${CT_CC} instead of gcc ...
...
... when refering to target's compiler.
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-13 21:47:07 -08:00
Alexey Neyman
d34a6bd8a0
GDB 7.12 needs c++.
...
Also, minor fixes in 300-gdb.sh
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-13 21:47:07 -08:00
Alexey Neyman
d7b313774e
Add gdb 7.12.
...
Same patches apply; changed 101-uclibc-no-gettimeofday-clobber.patch -
modify configure.ac and regenerate configure (rather than modifying
the latter directly).
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-13 21:47:07 -08:00
Alexey Neyman
05d9d915aa
addToolVersion.sh: Fix gdb version handling.
...
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-13 21:47:07 -08:00
Alexey Neyman
ac9f361f8a
Add expat 2.1.1 and 2.2.0.
...
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-13 21:47:03 -08:00
Alexey Neyman
949cc86ab7
Merge pull request #526 from stilor/double-include
...
Avoid creating include/include
2017-01-13 21:44:33 -08:00
Alexey Neyman
8f1523abea
Merge pull request #529 from stilor/gperf-3.1-fix
...
Add a check for gperf function signature.
2017-01-13 21:44:03 -08:00
Alexey Neyman
cbb045ab33
Merge pull request #525 from stilor/linaro-download-location
...
Fix Linaro download locations
2017-01-13 09:53:27 -08:00
Alexey Neyman
e282fd5551
Merge pull request #524 from stilor/force-isl-0.15-for-gcc-4.x
...
Fix GCC4.x samples after ISL 0.16.1 import.
2017-01-13 09:53:18 -08:00
Alexey Neyman
9f5a92a783
Unify fetching Linaro components.
...
Add CT_GetLinaro, use it from gcc/binutils/gdb/glibc/newlib.
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-12 23:00:41 -08:00
Alexey Neyman
5e0f715ea7
Add/update/remove Linaro versions.
...
Linaro GDB 7.2 no longer available from Linaro's website; removed.
Linaro GDB 7.5 had incorrect version (the tarball on linaro.org does
not have a -1 patch level).
Add/update latest versions on each (otherwise supported) branches of
GCC, GDB, binutils, glibc.
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-12 23:00:41 -08:00
Alexey Neyman
3bb2bcd2a3
Add a check for gperf function signature.
...
Loosely based on:
c9f7b4d356
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-12 23:00:34 -08:00
Alexey Neyman
168b5f8858
Add ISL 0.17.1 and 0.18.
...
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>
2017-01-12 23:00:28 -08:00
Alexey Neyman
ce8976fba1
Sort out ISL/CLooG dependencies.
...
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-12 23:00:28 -08:00
Alexey Neyman
01bae48719
Do not use sysroot in bare metal.
...
None of the bare metal C library choices (avr-libc, newlib) support
installing into sysroot. Nor does it make any sense, since sysroot
implies a file system, which in turn implies an OS.
2017-01-12 23:00:20 -08:00
Alexey Neyman
fddbf8f99e
AVR32 support has been retired.
...
Scripts no longer download avr-headers.
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-12 23:00:20 -08:00
Alexey Neyman
01a4bed794
install_root has no effect on newlib install.
...
And never had, at least since newlib 1.17 (first version added to
crosstool-ng). Apparently, copy-pasted from glibc.sh.
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-12 23:00:20 -08:00
Alexey Neyman
ec9ddee933
Remove 2nd copy of the option.
...
Added above, as part of the list.
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-12 23:00:20 -08:00
Alexey Neyman
59a784c572
No need to copy header; libc_start_file does it.
...
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-12 23:00:20 -08:00
Alexey Neyman
dc9dac2220
Merge pull request #527 from stilor/vendor-arm-nano
...
Adjust vendor in arm-nano-eabi...
2017-01-12 20:39:56 -08:00
Alexey Neyman
c8065c7c83
Merge pull request #513 from stilor/fix-show-config
...
Fix ct-ng show-config.
2017-01-12 19:27:37 -08:00
Alexey Neyman
18afc0fa26
Merge pull request #523 from stilor/xtensa-binutils-bug
...
Fix xtensa after binutils upgrade.
2017-01-12 19:24:34 -08:00
Alexey Neyman
127a789a71
Adjust vendor in arm-nano-eabi...
...
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-12 00:01:18 -08:00
Alexey Neyman
cd0da51d91
Fix xtensa after binutils upgrade.
...
Patch from: https://bugzilla.redhat.com/show_bug.cgi?id=1404857
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-10 18:30:28 -08:00
Alexey Neyman
dcb438a9dc
Fix ct-ng show-config.
...
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-10 18:29:14 -08:00
Alexey Neyman
eff79ab714
Merge pull request #519 from InfernoEmbedded/newlib-enhancements
...
Newlib enhancements
2017-01-10 18:17:21 -08:00
Alexey Neyman
50aa6b583b
Merge pull request #510 from stilor/pass-flags-for-build
...
Pass flags for build & MacOS fixes.
2017-01-10 10:46:57 -08:00
Alexey Neyman
c69e593a92
Pick up <linux/ioctl.h> and friends from TARGET.
...
Otherwise, cross-compiling fails on non-Linux build machines.
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-10 10:39:37 -08:00
Alexey Neyman
37a5a09e65
Add MacOS options.
...
Needed for linking gettext/libiconv.
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-10 10:39:37 -08:00
Alexey Neyman
7989e5d743
${LD_TARGET} -> ${CT_TARGET}.
...
Obvious typo, worked by some miracle.
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-10 10:39:37 -08:00
Alexey Neyman
4a138d8407
Shut clang's warning that confuses configure.
...
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-10 10:39:37 -08:00
Alexey Neyman
25bc99f4d0
Darwin needs -liconv when building glibc.
...
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-10 10:39:37 -08:00
Alexey Neyman
c1b7324fc3
Avoid trampling user's LDFLAGS_FOR_HOST...
...
... 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-10 10:39:37 -08:00
Alexey Neyman
f14c290078
Patch GCC to leave -framework alone.
...
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-10 10:39:28 -08:00
Alexey Neyman
36bbcf4b4f
For simple cross or native pick up both build/host flags.
...
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-10 10:38:08 -08:00
Alexey Neyman
9f62ca8deb
Select libintl from gettext we built.
...
Also, require gettext for NLS, and require iconv/ncurses for gettext.
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-10 10:38:08 -08:00
Alexey Neyman
1f84e9caf4
Point FOR_BUILD flags to buildtools/{include,lib}.
...
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-10 10:38:08 -08:00
Alexey Neyman
8e7ac5fcd9
Change when libiconv/gettext are built.
...
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-10 10:38:08 -08:00
Alexey Neyman
ca0700010e
Simplify a bit, no functional changes.
...
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-10 10:38:08 -08:00
Alexey Neyman
11f87cfa5d
Kill CT_COMPLIBS_SHARED.
...
There is no such option so the check is always true.
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-10 10:38:08 -08:00
Alexey Neyman
874f4bd668
Disallow c++ for baremetal.
...
libstdc++ configure fails to find <stdio.h>.
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-10 10:38:08 -08:00
Alexey Neyman
abdaa36b5a
Merge pull request #515 from InfernoEmbedded/arm-toolchain-update
...
Arm toolchain update
2017-01-10 10:36:23 -08:00