Debian Developers - binutils-multiarch in view of dpkg-cross/README.Debian.gz?

This is Interesting: Free IT Magazines  
Home > Archive > Debian Developers > July 2004 > binutils-multiarch in view of dpkg-cross/README.Debian.gz?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author binutils-multiarch in view of dpkg-cross/README.Debian.gz?
Shaul Karl

2004-07-10, 5:54 pm

On one hand, dpkg-cross/README.Debian.gz says the following:

for most other binutils, it is convenient to have them
multi-architectural. Just type size, objdump, or whatever you like,
without caring about the architecture... But in two cases, this
luxury isn't possible: 'as' and 'ar' have to built singly for the
target architecture.

On the other hand, binutils-multiarch installs

addr2line ar gprof nm objcopy objdump ranlib readelf size strings strip


Is there a relation between the files that dpkg-cross/README.Debian.gz
mentions and the one that binutils-multiarch install? What about as and ar?

--
"If you have an apple and I have an apple and we exchange apples then
you and I will still each have one apple. But if you have an idea and I
have an idea and we exchange these ideas, then each of us will have two
ideas." -- George Bernard Shaw (sent by shaulk @ 013 . net . il)


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Nikita V. Youshchenko

2004-07-12, 7:53 am



> On one hand, dpkg-cross/README.Debian.gz says the following:
>
> for most other binutils, it is convenient to have them
> multi-architectural. Just type size, objdump, or whatever you like,
> without caring about the architecture... But in two cases, this
> luxury isn't possible: 'as' and 'ar' have to built singly for the
> target architecture.
>
> On the other hand, binutils-multiarch installs
>
> addr2line ar gprof nm objcopy objdump ranlib readelf size strings
> strip
>
>
> Is there a relation between the files that dpkg-cross/README.Debian.gz
> mentions and the one that binutils-multiarch install? What about as and
> ar?


If you need cross-compiling, you have to install cross binutils for your
target. Some are available at http://zigzag.lvk.cs.msu.su/~nikita/debian/

If you only need no manipulate non-native binaries (strip/objdump/etc),
binutila-multiarch will work for you.

Anyway dpkg-cross/README.Debian.gz is outdated and will be rewritten soon.
E.g. it does not mention out last effort to make cross toolchain using
debian source gcc and binutils packages, which is the recommended way to do
it today.


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Shaul Karl

2004-07-12, 5:58 pm

On Mon, Jul 12, 2004 at 12:42:06PM +0400, Nikita V. Youshchenko wrote:
>
> If you need cross-compiling, you have to install cross binutils for your
> target. Some are available at http://zigzag.lvk.cs.msu.su/~nikita/debian/
>
> If you only need no manipulate non-native binaries (strip/objdump/etc),
> binutila-multiarch will work for you.
>
> Anyway dpkg-cross/README.Debian.gz is outdated and will be rewritten soon.
> E.g. it does not mention out last effort to make cross toolchain using
> debian source gcc and binutils packages, which is the recommended way to do
> it today.



Thank you. The updated README might mention `Setting up a Cross
Development Environment on Debian GNU/Linux' from
http://people.debian.org/~debacle/cross.html. I have came across it a
short while ago. One thing that I find missing there is a list of names
of the platforms that can be used as target platforms. Only after

debuild -uc -us

failed I realized that I should have used tpkg-make powerpc-linux.
--
"If you have an apple and I have an apple and we exchange apples then
you and I will still each have one apple. But if you have an idea and I
have an idea and we exchange these ideas, then each of us will have two
ideas." -- George Bernard Shaw (sent by shaulk @ 013 . net . il)


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com