Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jul 2014 15:50:39 +0200
From:      Bernd Walter <ticso@cicely7.cicely.de>
To:        Boris Samorodov <bsam@passap.ru>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: [make xdev] cc1plus: error: unrecognized command line option "-std=c++0x"
Message-ID:  <20140712135039.GB35142@cicely7.cicely.de>
In-Reply-To: <53C1348E.1000801@passap.ru>
References:  <53C1348E.1000801@passap.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jul 12, 2014 at 05:13:50PM +0400, Boris Samorodov wrote:
> Hi All,
> 
> I try to build cross development tools for crochet build:
> -----
> % uname -a
> FreeBSD bsam.int.wart.ru 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r268566:
> Sat Jul 12 16:12:58 SAMT 2014
> bsam@bsam.int.wart.ru:/usr/obj/usr/src/sys/BB64X  amd64
> 
> % sudo make -C /usr/src XDEV=arm XDEV_ARCH=armv6 WITH_GCC=1
> WITH_GCC_BOOTSTRAP=1 WITHOUT_CLANG=1 WITHOUT_CLANG_BOOTSTRAP=1
> WITHOUT_CLANG_IS_CC=1 xdev
> [...]
> ===> lib/libc++ (depend)
> rm -f .depend
> CC='cc -isystem //usr/armv6-freebsd/usr/include
> -L//usr/armv6-freebsd/usr/lib  --sysroot=//usr/armv6-freebsd/
> -B//usr/armv6-freebsd/usr/libexec  -B//usr/armv6-freebsd/usr/bin
> -B//usr/armv6-freebsd/usr/lib' mkdep -f .depend -a
> -I/usr/src/lib/libc++/../../contrib/libc++/include
> -I/usr/src/lib/libc++/../../contrib/libcxxrt -DLIBCXXRT  -std=c++0x
>  /usr/src/lib/libc++/../../contrib/libc++/src/algorithm.cpp
> /usr/src/lib/libc++/../../contrib/libc++/src/bind.cpp
> /usr/src/lib/libc++/../../contrib/libc++/src/chrono.cpp
> /usr/src/lib/libc++/../../contrib/libc++/src/condition_variable.cpp
> /usr/src/lib/libc++/../../contrib/libc++/src/debug.cpp
> /usr/src/lib/libc++/../../contrib/libc++/src/exception.cpp
> /usr/src/lib/libc++/../../contrib/libc++/src/future.cpp
> /usr/src/lib/libc++/../../contrib/libc++/src/hash.cpp
> /usr/src/lib/libc++/../../contrib/libc++/src/ios.cpp
> /usr/src/lib/libc++/../../contrib/libc++/src/iostream.cpp
> /usr/src/lib/libc++/../../contrib/libc++/src/locale.cpp
> /usr/src/lib/libc++/../../contrib/libc++/src/memory.cpp
> /usr/src/lib/libc++/../../contrib/libc++/src/mutex.cpp
> /usr/src/lib/libc++/../../contrib/libc++/src/new.cpp
> /usr/src/lib/libc++/../../contrib/libc++/src/optional.cpp
> /usr/src/lib/libc++/../../contrib/libc++/src/random.cpp
> /usr/src/lib/libc++/../../contrib/libc++/src/regex.cpp
> /usr/src/lib/libc++/../../contrib/libc++/src/shared_mutex.cpp
> /usr/src/lib/libc++/../../contrib/libc++/src/stdexcept.cpp
> /usr/src/lib/libc++/../../contrib/libc++/src/string.cpp
> /usr/src/lib/libc++/../../contrib/libc++/src/strstream.cpp
> /usr/src/lib/libc++/../../contrib/libc++/src/system_error.cpp
> /usr/src/lib/libc++/../../contrib/libc++/src/thread.cpp
> /usr/src/lib/libc++/../../contrib/libc++/src/typeinfo.cpp
> /usr/src/lib/libc++/../../contrib/libc++/src/utility.cpp
> /usr/src/lib/libc++/../../contrib/libc++/src/valarray.cpp
> cc1plus: error: unrecognized command line option "-std=c++0x"

This should be "-std=c++11" with newer compiler.

-- 
B.Walter <bernd@bwct.de> http://www.bwct.de
Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140712135039.GB35142>