On 28 October 2012 18:08, "Frank Müller" <franky1...@gmx.net> wrote: > Dear all, > > we have an ARM Cortex-A8 board where we are running our application. I am in > charge of maintaining the Linux on it and the toolchain/SDK setup. So far > we've been running Poky/OpenEmbedded and using the cross compiler that came > about during the compilation. > > For easier maintenance, we are now switching to Linaro. The image is set up > and I can compile, however I notice a peculiar fact: the binary distribution > of Linaro's gcc > (https://launchpad.net/linaro-toolchain-binaries/trunk/2012.10/+download/gcc-linaro-arm-linux-gnueabihf-4.7-2012.10-20121022_linux.tar.bz2) > has a significantly larger compilation speed than a version of > arm-linux-gnueabihf-gcc that is shipping with Ubuntu. In our particular case, > using Ubuntu's version it takes less than 6 minutes to compile our software, > but 10 minutes when we use Linaro's version. The makefiles and source are > exactly the same, only the compiler is different. I also tried an older > version (4.6) of Linaro's gcc to match the Ubuntu one (tested the 12.04 > shipped version), with no significant difference. > > Compiler flags for the system are -march=armv7-a -mtune=cortex-a8 -mfpu=neon > -mfloat-abi=hard
Could you please show us the full output from compiling one of your source files adding -v to the flags with both compilers? This will reveal any differences in how they were configured. -- Mans Rullgard / mru _______________________________________________ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain