colinjjj
驱动牛犊
驱动牛犊
  • 注册日期2003-02-28
  • 最后登录2003-07-15
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:1227回复:0

交叉编译引起的错误

楼主#
更多 发布于:2003-06-12 22:10
最近欲将一个x86上的linux c++程序交叉编译成mips平台上的可执行程序时,出现了路下错误:


/opt/hardhat/previewkit/mips/fp_le/bin/../lib/gcc-lib/mipsel-hardhat-linux/2.95.3/include/new: At top level:
/opt/hardhat/previewkit/mips/fp_le/bin/../lib/gcc-lib/mipsel-hardhat-linux/2.95.3/include/new:28: `operator new\' takes type `size_t\' as first parameter
/opt/hardhat/previewkit/mips/fp_le/bin/../lib/gcc-lib/mipsel-hardhat-linux/2.95.3/include/new:29: `operator new\' takes type `size_t\' as first parameter
/opt/hardhat/previewkit/mips/fp_le/bin/../lib/gcc-lib/mipsel-hardhat-linux/2.95.3/include/new:32: `operator new\' takes type `size_t\' as first parameter
/opt/hardhat/previewkit/mips/fp_le/bin/../lib/gcc-lib/mipsel-hardhat-linux/2.95.3/include/new:33: `operator new\' takes type `size_t\' as first parameter
/opt/hardhat/previewkit/mips/fp_le/bin/../lib/gcc-lib/mipsel-hardhat-linux/2.95.3/include/new:38: `operator new\' takes type `size_t\' as first parameter
/opt/hardhat/previewkit/mips/fp_le/bin/../lib/gcc-lib/mipsel-hardhat-linux/2.95.3/include/new:39: `operator new\' takes type


所用的交叉编译器是mips_fp_le-gcc的toolchain包括g++编译器,不知道是什么原因,
游客

返回顶部