Missing include “bits/c++config.h” when cross compiling 64 bit program on 32 bit in Ubuntu

前端 未结 8 2566
你的背包
你的背包 2020-11-29 15:36

I am running the 32bit version of Ubuntu 10.10 and trying to cross compile to a 64 bit target. Based on my research, I have installed the g++-multilib package.

The p

8条回答
  •  醉酒成梦
    2020-11-29 16:14

    Seems to be a typo error in that package of gcc. The solution:

    mv /usr/include/c++/4.x/i486-linux-gnu /usr/include/c++/4.x/i686-linux-gnu/64
    

提交回复
热议问题