Skip to content

Fix cross-gdb build on certain Linux distros#281

Open
flannelhead wants to merge 1 commit intopfalcon:masterfrom
flannelhead:gdb-build-fixes
Open

Fix cross-gdb build on certain Linux distros#281
flannelhead wants to merge 1 commit intopfalcon:masterfrom
flannelhead:gdb-build-fixes

Conversation

@flannelhead
Copy link

Here's a one-liner patch to crosstool-config-overrides to mitigate problems with building cross-gdb on certain platforms.

--with-guile=guile-2.0: some distros (like Arch) have guile 2.2 as the default version, but gdb can't be built against that (upstream bug report). This flag tells gdb to build against guile-2.0.

--disable-tui: some distros provide ncurses and tinfo as separate packages. Apparently gdb doesn't detect this properly and fails to link against tinfo. These libraries are only required for the TUI, so disable it until this is fixed. crosstool-NG bug report

@flannelhead flannelhead changed the title Add cross-gdb configure flags to work around upstream bugs Fix cross-gdb build on certain Linux distros Jul 27, 2017
@riban-bw
Copy link

riban-bw commented Jan 2, 2018

--disable-tui is required for cygwin32 builds. It would be advantageous to add this patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants