[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

64位机上编译32位程序



请教以下大家,我在64位机上要编译32位程序,我指定了-m32后,仍然报错
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-linux-gnu/4.6/libstdc++.so when searching for
-lstdc++
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-linux-gnu/4.6/libstdc++.a when searching for
-lstdc++
/usr/bin/ld: cannot find -lstdc++
collect2: ld returned 1 exit status

是我什么软件包没有安装么?

Reply to: