1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-03-28 14:56:28 +01:00

Add GNU_PE64 parser and AbstractGnuToolPrefixMacro to N&N

Part of #361
This commit is contained in:
John Dallaway 2023-04-18 22:49:32 +01:00
parent 0d9fa844bf
commit 74d04781ba
2 changed files with 17 additions and 0 deletions

View file

@ -7,6 +7,16 @@ This is the New & Noteworthy page for CDT 11.2 which is part of Eclipse 2023-06
# Release Notes
# Build
## GNU PE64 Windows Parser
A new binary parser allows projects using a _MinGW GCC_ toolchain to make use of core CDT GNU tool support in the same manner as projects using a _Linux GCC_ toolchain.
For example, users may now invoke GNU `objdump` by double-clicking on a Windows PE64 executable file.
New projects using a _MinGW GCC_ toolchain are now configured to use the _GNU PE64 Windows Parser_ by default.
Existing projects may be configured to use the new parser via the _Binary Parsers_ list of the C/C++ Build > Settings project properties page:
<p align="center"><img src="images/CDT-11.2-gnu-pe64-parser.png" width="50%"></p>
# API Changes, current and planned
@ -16,6 +26,13 @@ Please see [CHANGELOG-API](CHANGELOG-API.md) for details on the breaking API cha
The remote connection for attach launch will be moved in the implementation of `IGDBProcesses.attachDebuggerToProcess()`
## New class `AbstractGnuToolPrefixMacro`
A new abstract class assists in the integration of managed build GNU toolchain extensions with core CDT GNU tool support.
Extenders may sub-class `AbstractGnuToolPrefixMacro` to describe the GNU tool prefix (eg `arm-none-eabi-`) used by their toolchain.
The resulting build macro may be associated with a managed build GNU toolchain extension using an `IConfigurationBuildMacroSupplier` to ensure that the correct prefix is used when invoking GNU tools such as `objcopy`.
Refer to `org.eclipse.cdt.internal.build.crossgcc.CrossBuildMacroSupplier` for a usage example.
# Noteworthy Issues and Pull Requests
See [Noteworthy issues and PRs](https://github.com/eclipse-cdt/cdt/issues?q=is%3Aclosed+label%3Anoteworthy+milestone%3A11.2.0) for this release in the issue/PR tracker.

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB