On Fri, Apr 1, 2016 at 7:10 AM, $rik@nth srikanth007m@gmail.com wrote:
I've read the Wiki page and start using abe tool to build cross compile for ARM on x86 build system. But i am getting below error. Also --set arch=arm argument is showing the arch is not found while configuring.
Abe --set arch= translates into a gcc -march= option. arm isn't a valid argument for that in an arm toolchain. A valid choice would be armv7-a for instance. But you shouldn't need an abe arch option normally. Only if you want a different -march= to be the default.
/local2/mnt/tools/Linux-kernel/Linaro-GCC/abe/build/snapshots/gcc.git~linaro-gcc-5-branch/libgcc/libgcc2.c:59:1: error: __fixdfdi undeclared here (not in a function) /local2/mnt/tools/Linux-kernel/Linaro-GCC/abe/build/snapshots/gcc.git~linaro-gcc-5-branch/libgcc/libgcc2.c:59:1: error: __aeabi_d2lz defined both normally and as âaliasâ attribute /local2/mnt/tools/Linux-kernel/Linaro-GCC/abe/build/snapshots/gcc.git~linaro-gcc-5-branch/libgcc/libgcc2.c:59:3: warning: parameter names (without types) in function declaration [enabled by default] /local2/mnt/tools/Linux-kernel/Linaro-GCC/abe/build/snapshots/gcc.git~linaro-gcc-5-branch/libgcc/libgcc2.c:59:3: warning: parameter names (without types) in function declaration [enabled by default] make[2]: *** [_fixdfdi.o] Error 1
It isn't obvious what went wrong here. Try looking at the preprocessor output of the failing gcc command. You didn't mention the abe command used here.
It may take a little time to learn how to use abe to do a build. Abe tries to make builds easier, but it doesn't make them easy.
I don't know if abe can be used to do what you want. The linaro toolchain group doesn't do canadian cross builds except for windows hosted builds, so we don't have any process to do what you want. There is a linaro group that builds OS releases that contain native gcc binaries. I think that they use Open Embedded, but I've never used Open Embedded, so I don't know how any of that works.
Jim