我正在尝试在我的 Ubuntu 上安装 Theos,但我卡在了应该安装 ldid 的步骤上:
git clone git://git.saurik.com/ldid.git
cd ldid
git submodule update --init
./make.sh
当我执行 make.sh 时出现以下错误:
root@ubuntu:~/ldid# ./make.sh
+ g++ -arch i386 -arch x86_64 -o ldid ldid.cpp -I. -x c lookup2.c sha1.c
g++: error: unrecognized command line option ‘-arch’ g++:
error: i386: No such file or directory g++: error: unrecognized
command line option ‘-arch’ g++: error: x86_64: No such file or directory
这是我的海湾合作委员会:
g++ -v Using built-in specs. COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper
Target: x86_64-linux-gnu Configured with: ../src/configure -v
--with-pkgversion='Debian 4.7.2-5' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --with-arch-32=i586 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.7.2 (Debian 4.7.2-5)
我错过了什么?我正在关注这教程并没有提到任何依赖项。