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

Re: dh_strip --dbg-packages=pkgname uses native objcopy

> Hello Raphael,
> > the last day testing the CVS branch result in couple fixes I'll apply
> > today or tomorrow. While testing I've found a problem occuring with
> > the dh_strip while using the --dbg-package option. dh_strip uses here
> > objcopy instead of arch-linux-objcopy. Any idears are welcome!
> >
> > Have some time to work on dpkg-cross at this moment so please forward
> > them to me. Maybe I can implement a first solution.
> Maybe a quick stupid hack, but it should do the trick (and solve similar
> problems, even supporting toolchains with a different naming convention)
> Export the CROSS_COMPILE prefix and make dh_strip use it as
> ${CROSS_COMPILE}objcopy. If it is empty (not exported by dpkg-cross) it
> will use objcopy otherwise the correct one...

I'm afraid that any changes to debhelper are not a solution because of 
non-crosscompile-friendly position of the maintainer. Maybe it's better to 
handle objdump in the same way as currenly strip is handled.

Attachment: pgpWkObKM3_Fj.pgp
Description: PGP signature

Reply to: