|
From: Dave K. <dav...@go...> - 2010-01-30 18:46:52
|
On 30/01/2010 17:52, Pedro Alves wrote:
> There's no reason to copy a dll with debug info to
> the device. You can copy a stripped version, and keep
> the version with debug info in the host.
>
> Of course, if you want to provide a prebuilt dll with
> debug info to users, you can also provide an
> already pre-stripped dll.
Another option: supply a stripped DLL and a separate .DBG, which the DLL
refers to in a .GNU.debuglink section - see the objcopy options
'--only-keep-debug' and '--add-gnu-debuglink=PATH-TO-FILE'. That way you only
have one DLL to worry about.
cheers,
DaveK
|