Ubuntu64位编译32位的嵌入式linux时需要做的事情

2019-07-13 07:54发布

编译时提示错误,找不到bin或者lib文件,首先按照这个文章做http://blog.csdn.net/ageme/article/details/26969575,之后可以找到bin了,然而部分lib还是提示找不到 To run 32bit executable file in a 64 bit multi-arch Ubuntu system, you have to add i386 architecture and install libc6:i386,libncurses5:i386,libstdc++6:i386 these three library packages. sudo dpkg --add-architecture i386 sudo apt-get update sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386
之后又参考下面的帖子https://askubuntu.com/questions/147400/problems-with-eclipse-and-android-sdk 执行下面命令后可以了 sudo apt-get install lib32z1 lib32z1-dev