On Fri, Jan 09, 2015 at 03:55:54PM +0100, genieplus wrote: > I am currently trying to build Casablanca [https://casablanca.codeplex.com/] > for my ARM board using the toolchain > gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized > (from OSELAS.Toolchain-2013.12.2) and ptxdist-2014.12.0. > > The compilation fails with a lot of errors related to the C++11 standard. > For example: > > build-target/casablanca-2.3.0/tests/common/UnitTestpp/src/TestRunner.cpp:41:0: > /opt/OSELAS.Toolchain-2013.12.2/arm-v5te-linux-gnueabi/gcc-4.8.2-glibc-2.18-binutils-2.24-kernel-3.12-sanitized/arm-v5te-linux-gnueabi/include/c++/4.8.2/future:113:11: > error: declaration of 'class std::future<void>' > class future; > > > I am able to build the same version of Casablanca on my x86 machine using > gcc version 4.8.2 (Ubuntu 4.8.2.-19ubuntu1). > > Am I doing something wrong, or this version of > arm-v5te-linux-gnueabi-gcc-4.8.2 do not have the same support of C++11 > features as the desktop version?
There should be noch difference. Maybe the gcc command-line is not set up correctly when cross-compiling. Michael -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list [email protected]
