RE: Run objdump under windows XP for XCOFF object file created from IBM AIX system

2005-03-08 Thread David Du
Hi, Ian, thanks for your response again, I checked the binutils/README, it
talks about how to build for unix-like system, not for windows XP
environment, for example, it asks to do ./configure command, which in the
binutils directory is not a DOS or windows command, when I run the commands,
they just did not work, the version of binutils I downloaded is
binutils-2.15, I am not sure what I should do. Would you please help me with
this issue again?

Thanks

David

-Original Message-
From: Ian Lance Taylor [mailto:[EMAIL PROTECTED]
Sent: Monday, March 07, 2005 11:13 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 for your response, I already downloaded both cygwin and
> binutils, I used objdump of cygwin to dump out ELF format object files for
> my current project under windows XP, now my project needs to support XCOFF
> object file dumping in XP environment, the binutils I downloaded seems not
> for windows XP environment when I looked at the files I untarred, is there
> any MS windows version of binutils? how can I build my own version of the
> binutils for rs6000-aix target? I checked the binutils source code, it
seems
> supporting rs6000-aix target already.

In the binutils source code see binutils/README for how to build.

Ian



___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


Re: Run objdump under windows XP for XCOFF object file created from IBM AIX system

2005-03-08 Thread Ian Lance Taylor
"David Du" <[EMAIL PROTECTED]> writes:

> Hi, Ian, thanks for your response again, I checked the binutils/README, it
> talks about how to build for unix-like system, not for windows XP
> environment, for example, it asks to do ./configure command, which in the
> binutils directory is not a DOS or windows command, when I run the commands,
> they just did not work, the version of binutils I downloaded is
> binutils-2.15, I am not sure what I should do. Would you please help me with
> this issue again?

Downloading cygwin from http://cygwin.com/ will give you a Unix-like
environment on Windows.  It is sufficient to build the binutils.  You
should run configure from the cygwin shell.

Ian


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug binutils/335] make install fails

2005-03-08 Thread drow at sources dot redhat dot com

--- Additional Comments From drow at sources dot redhat dot com  2005-03-08 
15:57 ---
This was fixed on 2004-10-23.

-- 
   What|Removed |Added

 Status|WAITING |RESOLVED
  GCC build triplet|SunOS spiderman 5.8 |sparc-sun-solaris2.8
   |Generic_108528-01 sun4u |
   |sparc SUNW,Ultra-60 |
   GCC host triplet|SunOS spiderman 5.8 |sparc-sun-solaris2.8
   |Generic_108528-01 sun4u |
   |sparc SUNW,Ultra-60 |
 GCC target triplet|SunOS spiderman 5.8 |sparc-sun-solaris2.8
   |Generic_108528-01 sun4u |
   |sparc SUNW,Ultra-60 |
 Resolution||FIXED


http://sources.redhat.com/bugzilla/show_bug.cgi?id=335

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


RE: Run objdump under windows XP for XCOFF object file created from IBM AIX system

2005-03-08 Thread David Du
Hi, Ian, I got what you mean with cygwin, I just built the binutils with the
help of cygwin, but unfortunately the objdump.exe command donot support
xcoff format when I run objdump -i, it will list all the supported format, I
checked the objdump.c source code, it never has any information about xcoff,
but in other source code like xcoff.h, it has some xcoff information, I
donot know what I need to configure to support xcoff format. any idea?

Thanks

David

-Original Message-
From: Ian Lance Taylor [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 08, 2005 10:32 AM
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 for your response again, I checked the binutils/README, it
> talks about how to build for unix-like system, not for windows XP
> environment, for example, it asks to do ./configure command, which in the
> binutils directory is not a DOS or windows command, when I run the
commands,
> they just did not work, the version of binutils I downloaded is
> binutils-2.15, I am not sure what I should do. Would you please help me
with
> this issue again?

Downloading cygwin from http://cygwin.com/ will give you a Unix-like
environment on Windows.  It is sufficient to build the binutils.  You
should run configure from the cygwin shell.

Ian



___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


Re: Run objdump under windows XP for XCOFF object file created from IBM AIX system

2005-03-08 Thread Ian Lance Taylor
"David Du" <[EMAIL PROTECTED]> writes:

> Hi, Ian, I got what you mean with cygwin, I just built the binutils with the
> help of cygwin, but unfortunately the objdump.exe command donot support
> xcoff format when I run objdump -i, it will list all the supported format, I
> checked the objdump.c source code, it never has any information about xcoff,
> but in other source code like xcoff.h, it has some xcoff information, I
> donot know what I need to configure to support xcoff format. any idea?

configure with --target rs6000-ibm-aix

Ian


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


RE: Run objdump under windows XP for XCOFF object file created from IBM AIX system

2005-03-08 Thread David Du
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?

Thanks for your kind help!

David

-Original Message-
From: Ian Lance Taylor [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 08, 2005 12:20 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, I got what you mean with cygwin, I just built the binutils with
the
> help of cygwin, but unfortunately the objdump.exe command donot support
> xcoff format when I run objdump -i, it will list all the supported format,
I
> checked the objdump.c source code, it never has any information about
xcoff,
> but in other source code like xcoff.h, it has some xcoff information, I
> donot know what I need to configure to support xcoff format. any idea?

configure with --target rs6000-ibm-aix

Ian



___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


Re: Run objdump under windows XP for XCOFF object file created from IBM AIX system

2005-03-08 Thread Ian Lance Taylor
"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


RE: Run objdump under windows XP for XCOFF object file created from IBM AIX system

2005-03-08 Thread David Du
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


Re: Run objdump under windows XP for XCOFF object file created from IBM AIX system

2005-03-08 Thread Ian Lance Taylor
"David Du" <[EMAIL PROTECTED]> writes:

> 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?

No, I don't know offhand what is going on there.  Sorry.

Ian


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


RE: Run objdump under windows XP for XCOFF object file created from IBM AIX system

2005-03-08 Thread David Du
Ok Ian, thank you anyway.

David

-Original Message-
From: Ian Lance Taylor [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 08, 2005 3:02 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, 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?

No, I don't know offhand what is going on there.  Sorry.

Ian



___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


Re: Run objdump under windows XP for XCOFF object file created from IBM AIX system

2005-03-08 Thread Ben Elliston
David Du wrote:
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?
At the risk of being the next bunny to answer a spate of newbie questions ..
David, it sounds like you aren't running the right objdump.  You may have one 
installed with Cygwin already.  When you build binutils, where are you installing it 
with `make install'?  Are you sure that when you run `objdump', it's the one you're 
expecting?  Try `which objdump' to be sure.

Ben

___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils