Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
binutils for ppc
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
tytus
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jun 2004
Posts: 97
Location: Boston, USA

PostPosted: Sat Jan 14, 2006 2:26 pm    Post subject: binutils for ppc Reply with quote

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 :(
Back to top
View user's profile Send private message
fangorn
Veteran
Veteran


Joined: 31 Jul 2004
Posts: 1886

PostPosted: Thu Feb 23, 2006 1:06 pm    Post subject: Reply with quote

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 :twisted: )

and you will have a /usr/local/bin binutils installation
_________________
Video Encoding scripts collection | Project page
Back to top
View user's profile Send private message
tytus
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jun 2004
Posts: 97
Location: Boston, USA

PostPosted: Thu Feb 23, 2006 2:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum