zephyr/cmake
Marc Herbert aa4ed2ae8c host-gcc: TOOLCHAIN_LIBS += libgcc (copied from compiler/gcc/)
Add missing -lgcc when compiling with ZEPHYR_TOOLCHAIN_VARIANT=host
merely copying some existing code from
'compiler/{clang,gcc}/target.cmake'.

This fixes compilation for the following boards with an x86
microprocessor:

 galileo, minnowboard, qemu_x86, qemu_x86_nommu, up_squared,
 up_squared_sbl

Compilation of the following boards with an X86_IAMCU microcontroller
still fail with a "cannot find -lgcc" error:

 arduino_101, qemu_x86_iamcu, quark_d2000_crb, quark_se_c1000_devboard,
 tinytile

This is _not_ a regression because these boards _already_ failed with
"undefined reference to __udivdi3" and other libgcc symbols.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
2019-01-26 12:06:04 -05:00
..
app cmake: dts: move to specifying shield on the command line 2019-01-18 13:20:59 -06:00
backports cmake: Fixed python detection bug 2018-12-21 11:13:03 +01:00
compiler host-gcc: TOOLCHAIN_LIBS += libgcc (copied from compiler/gcc/) 2019-01-26 12:06:04 -05:00
emu sanitycheck: Add Renode cmake configuration 2019-01-14 09:12:07 -05:00
flash cmake: flash: Conditional dependency to 'mergehex' 2018-12-05 12:14:38 -05:00
ide cmake: Eclipse CDT4 generator amendment 2018-10-17 18:16:55 -04:00
reports
toolchain toolchain: Support multiple versions of the Zephyr SDK 2019-01-24 10:51:14 -06:00
usage cmake: dts: move to specifying shield on the command line 2019-01-18 13:20:59 -06:00
util cmake: Whitespace and commentary fixes 2018-12-20 12:23:50 +01:00
ccache.cmake
cfb.cmake subsys: fb: add support for generating CFB font headers at build time 2018-11-28 11:46:00 +01:00
dts.cmake cmake: Rebuild when DTS sources are modified 2019-01-25 03:02:58 -06:00
extensions.cmake cmake: dtc: silence output from check_dtc_flag 2019-01-25 23:14:54 -05:00
extra_flags.cmake
fpu-for-gcc-m-cpu.cmake
gcc-m-cpu.cmake
generic_toolchain.cmake cmake: Introduce host toolchain for POSIX arch 2019-01-10 14:56:32 -05:00
git.cmake cmake: boilerplate: Move out finding git+python to separate cmake files 2018-12-27 19:24:51 -05:00
hex.cmake
host-tools.cmake toolchains: move zephyr sdk host tools to toolchain folder 2019-01-24 10:51:14 -06:00
kconfig.cmake cmake: Whitespace and commentary fixes 2018-12-20 12:23:50 +01:00
kobj.cmake cmake: Use variables for target names 2019-01-19 07:21:55 -05:00
pristine.cmake
python.cmake cmake: boilerplate: Move out finding git+python to separate cmake files 2018-12-27 19:24:51 -05:00
target_toolchain.cmake cmake: Document CMAKE_SYSTEM_-variables, and add CMAKE_SYSTEM_VERSION 2018-12-20 11:15:20 +01:00
version.cmake cmake: version: Misc. refactorings for readability 2018-10-01 09:16:05 -04:00