mkdir build && cd build ../binutils-2.31/configure --prefix=/home/lhx/binutils/install --target=powerpc-linux-gnu --host=aarch64-linux-gnu make && make install
交叉编译:x86-to-ppc
编译环境:x86
运行环境:x86
可执行文件架构:ppc
编译脚本:
1 2 3
mkdir build && cd build ../binutils-2.31/configure --prefix=/home/lhx/binutils/install --target=powerpc-linux-gnu --host=x86_64-linux-gnu make && make install