[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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




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



Reply to: