Ryan Mansfield(deleted)
|
Re: objcopy and missing useful command-line switch
|
Ryan Mansfield(deleted)
03/27/2009 7:43 AM
post25438
|
Re: objcopy and missing useful command-line switch
Mario Mastrodicasa wrote:
> Hi all,
> a simple question. In Momentics, when a program is created, at least 2 version are avilable: release and debug.
> GNU objcopy has some feature to strip debug info from a file and put them outside. So a developer can have always the
release version, and the necessary debug info if he need them.
> The switches are:
> --only-keep-debug
> --strip-debug
> --add-gnu-debuglink
>
> QNX has different name for this flags?
No, the options are not named differently. QNX Momentics 6.3.2 ships
binutils 2.12 which did not support --only-keep-debug and
--add-gnu-debuglink. QNX Momentics 6.4.0 ships binutils 2.18 which
supports all three. You can download either a package of binutils 2.17
or binutils 2.18 from Downloads and install them into your 6.3.2 SDK.
The packages on the Foundry are suffixed with a version string to avoid
conflicting with the installed versions so you will either need to
directly invoke nto<cpu>-objcopy-<version> or manually copy the updated
version of the binutils over top of the existing version.
Regards,
Ryan Mansfield
|
|
|