GDB configuration for multi-arch

Jon Turney jon.turney@dronecode.org.uk
Tue Dec 12 18:38:10 GMT 2023


On 16/10/2023 17:14, Old, Oliver via Cygwin wrote:
> Good evening!
> 
> The difference in size is indeed a whopping 19M (8M -> 27M). That might be why the Msys devs chose to split their gdb into a main package and a multi-arch package that depends on the main package.
> 
> In case you decide to build gdb with 'enable-targets=all', definitely also configure with '--disable-sim' or it'll build simulators for the additional architectures.

I (finally) got around to looking at this.

The gdb 14.1 test release includes a separate gdb-multiarch package, 
with gdb built with '--enable-targets=all'.

I didn't get to do anything fancy with alternatives symlinks, so you'll 
need to explicitly run the 'gdb-multiarch' executable.

> This is just an oversight, I think.
> 
> I'll look at adding that for the forthcoming gdb 14.1, assuming it
> doesn't make the package ridiculously larger.



More information about the Cygwin-apps mailing list