Hi, Ian, I tried both powerpc-aix and powerpc-elf, when I tested objdump -i, they gave me error saying "objdump: can't set BFD default target to powerpc-aix: Invalid bfd target" and "objdump: can't set BFD default target to powerpc-unknown-elf: Invalid bfd target"; any other idea?
Thanks David -----Original Message----- From: Ian Lance Taylor [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 1:38 PM To: David Du Cc: bug-binutils@gnu.org Subject: Re: Run objdump under windows XP for XCOFF object file created from IBM AIX system "David Du" <[EMAIL PROTECTED]> writes: > Hi, Ian, thanks again for your help, I tried to configure > with --target=rs6000-ibm-aix, and built the binutils, when I tested the > objdump.exe file with objdump -i, it gave me error: "objdump: can't set BFD > default target to 'rs6000-ibm-aix': Invalid bfd target", I tried to > configure with --target=rs6000-aix as described in readme, it gave me the > same error message, after that I tried to configure > with --enable-targets=all, then tested with objdump -i, it gave me all the > supported things like pe-i386, elf32-i386 etc, but no rs6000-aix, any idea > or what have I done wrong? Hmmm, maybe you need --target=powerpc-aix these days. Or even --target=powerpc-elf should give you an objdump which can read XCOFF files. Ian _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils