Vinayak Kariappa <vinayak.kariappa@...>
I prefer building zephyr the linux kernel way, which is (what i am used too):
$ make ARCH=arm CROSS_COMPILE=arm-none-eabi- ZEPHYR_BASE=~/workspace/zephyr menuconfig
$ make ARCH=arm CROSS_COMPILE=arm-none-eabi- ZEPHYR_BASE=~/workspace/zephyr
Problem is my code uses 64-bit division operations and references to __aeabi_uldivmod are required.
On the IRC, the discussion suggested to stay away from using division operations and libgcc.
But I see that toolchain settings actively link libgcc, sample:
scripts/Makefile.toolchain.zephyr:72:TOOLCHAIN_LIBS = gcc
So, in Zephyr, libgcc is permitted in contrary to Linux kernel?