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

Cross-objdump, -objcopy, -strip support in Debian tools



        Hey there

 I think most folks cross-building .debs are using binutils-multiarch as
 to have transparent support for more architectures in their
 /usr/bin/objdump, /usr/bin/objcopy, /usr/bin/strip files and probably
 others.

 I wonder how much it would make sense to add support for using the
 cross-toolchain versions of the utilities instead?  I basically tried
 cross-building some packages without binutils-multiarch and noticed
 that tools such as dh_strip, dpkg-shlibdeps and others are hardcoding
 "objdump", "strip" etc.

 I have some patches here to call $triplet-objdump instead of objdump
 when DEB_HOST_GNU_TYPE != DEB_BUILD_GNU_TYPE and wonder whether they
 would cause any disruption, or are not desired for any reason?

   Thanks,
-- 
Loïc Minier


Reply to: