GDB 编译问题

GDB Compiling Issues

我想为 powerpc 交叉编译 GDB,我一直在经历这个 link (https://benakiva.wordpress.com/2007/01/15/cross-compiling-gdb-for-powerpc-platform/) 但是在 运行 命令上我收到以下错误:

configure: warning: –target=powerpc-linux: invalid host type
configure: warning: –enable-sim-powerpc: invalid host type
configure: error: can only configure for one host and one target at a time

你能帮我解决这个问题吗? 提前感谢您的帮助。

IBM 发布了一个已经启用交叉编译的工具链(从 x86 到 POWER)。如果它符合您的需要,您可能想尝试一下:

IBM Toolchain - Supported distro - Native and cross compilers