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

The problem should be also solved using binutils-multiarch I guess...



| Philippe De Swert
| Stag developer http://stag.mind.be/
| Emdebian developer: http://www.emdebian.org
| Please do not send me documents in a closed
| format.(*.doc,*.xls,*.ppt)
| Use the open alternatives. (*.pdf,*.ps,*.html,*.txt)
| http://www.gnu.org/philosophy/no-word-attachments.html  

NOTE! My email address is changing to ... @scarlet.be
Please make the necessary changes in your address book. 

Reply to: