首页 > 其他 > 详细

详细!交叉编译时 note: the mangling of 'va_list' has changed in GCC 4.4解决办法

时间:2014-12-12 23:35:15      阅读:3438      评论:0      收藏:0      [点我收藏+]

 

 

  为什么要在标题前面加了详细两个字,就是为了吸引看文章的你还有写文章的我这种小白,我是从坑里面爬出来了。

  

  废话少说....

    问题就是这样子了,至于解决办法,在网上搜索了很久,大多数以一段英文作为解决办法,...

    I think that the warning is accurate; the mangling of va_list has indeed
  changed on ARM in GCC 4.4 in order to conform to the ARM ABI specifications.
  There is an option to turn off warnings about PSABI issues; -Wno-psabi.  I
  think that option (if not some stronger option) should be used.

  

  还找到了这句话的出处,nnd的老外https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42748

  看了半天终于弄懂了是怎么回事,可是你倒是跟我说-Wno-psabi是什么怎么用啊。

  后来想了半天,前面不是说这是个option吗,那就在编译的时候加个选项嘛,所以...

  

  :#arm-linux-g++ -Wno-psabi  hello.c -o hello  `pkg-config  --cflags --libs opencv`   

  

  解决了不再出现警告了。

 

  

详细!交叉编译时 note: the mangling of 'va_list' has changed in GCC 4.4解决办法

原文:http://www.cnblogs.com/shazi909/p/4160665.html

(2)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!