I want to cross compile GDB for powerpc and I've been going through this link (https://benakiva.wordpress.com/2007/01/15/cross-compiling-gdb-for-powerpc-platform/) but on running the command I am getting the following errors:
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
Can you help me out with this? Thanks for the help in advance.
IBM ships a toolchain that is already enabled to do cross compilation (From x86 to POWER). You might want to try it, if it fits your needs:
IBM Toolchain - Supported distro - Native and cross compilers