View previous topic :: View next topic |
Author |
Message |
tytus Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 19 Jun 2004 Posts: 97 Location: Boston, USA
|
Posted: Sat Jan 14, 2006 2:26 pm Post subject: binutils for ppc |
|
|
I do corssdevelopment work and would like to have version of binutils for ppc. I am especially interested in nm and objdump since the rest of the crossdevelopement tools are installed on our servers.
Is there any way to get nm and objdump read ppc binaries. I compiled binutils with multitarget flag but binutils-config does not seem to support ppc architecture ![Sad :(](images/smiles/icon_sad.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fangorn Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/gallery/Final Fantasy/Final_Fantasy_7_-_Barret.gif)
Joined: 31 Jul 2004 Posts: 1886
|
Posted: Thu Feb 23, 2006 1:06 pm Post subject: |
|
|
I installed a second version of binutils by using the sources and doing the usual ./configure, make, make install
for ppc support see binutils/README or do
./configure --enable-targets=all
make
make install
(will compile a while and is a little bloated )
and you will have a /usr/local/bin binutils installation _________________ Video Encoding scripts collection | Project page |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tytus Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 19 Jun 2004 Posts: 97 Location: Boston, USA
|
Posted: Thu Feb 23, 2006 2:40 pm Post subject: |
|
|
This may sound strange but I used binutils-config to set arch to mips as far as I remember (this was a month ago or so) and nm works with ppc images now without problems. I also tried objdump and it seems to work eve though I have to admit that I have not look at the output very closely. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|