Hi.
I followed the documentation onon Ubuntu 10.04 x86_64 LTS. I of course had to install gcc-4.7 first, but that was easy to find on the Internet.
My problem it seems is some lines like the following (for libgcc_s.so and libgcc.a too):
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.7/libstdc++.so when searching for -lstdc++
It ends in:
make: *** [out/host/linux-x86/obj/EXECUTABLES/fs_get_stats_intermediates/fs_get_stats] Error 1
make: *** Waiting for unfinished jobs....
make: *** [out/host/linux-x86/obj/EXECUTABLES/mkbootfs_intermediates/mkbootfs] Error 1
The last line before the /usr/bin/ld lines and the make -lines is:
target StaticLib: liblog (out/target/product/iMX53/obj/STATIC_LIBRARIES/liblog_intermediates/liblog.a)