res: About "__sync_fetch_and_add_4"//Re: [update]: Does linaro toolchain support c++11 ??

2018-01-15 Thread zhangwentao (M)
re_and_swap" to implement `__sync_fetch_and_add_4` Or __sync_fetch_and_add ? Best regard. -邮件原件- 发件人: Christophe Lyon [mailto:christophe.l...@linaro.org] 发送时间: 2018年1月15日 17:28 收件人: zhangwentao (M) 抄送: linaro-toolchain@lists.linaro.org; Lizefan; leijitang; Huangqiang (H) 主题: Re:

About "__sync_fetch_and_add_4"//Re: [update]: Does linaro toolchain support c++11 ??

2018-01-13 Thread zhangwentao (M)
yon [mailto:christophe.l...@linaro.org] 发送时间: 2018年1月10日 18:38 收件人: zhangwentao (M) 抄送: linaro-toolchain@lists.linaro.org; Lizefan; leijitang; Huangqiang (H) 主题: Re: [update]: Does linaro toolchain support c++11 ?? On 10 January 2018 at 03:40, zhangwentao (M) wrote: > Hi, all > > I ha

[update]: Does linaro toolchain support c++11 ??

2018-01-09 Thread zhangwentao (M)
Hi, all I have updated my test case: Compile passed but failed while linking. wentao@ubuntu:~/test/lamda$ cat a.cc #include using namespace std; int main() { auto f = [=]() { cout <<"Hello world"< And more, I wrote a “hello-world” program using c++11, it could work wit

Does linaro toolchain support c++11 ??

2018-01-09 Thread zhangwentao (M)
Hi all, I wonder if my compiler supports C++11? If not, where could I found the compiler supports c++11 (both 32bit and 64bit arm). THANKS a lot~~~ My compiler information is as below: wentao@ubuntu:~/test/lamda$ arm-eabi-g++ -v Using built-in specs. COLLECT_GCC=arm-eabi-g++ COLLECT_LTO_WRAPP