Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix cross-gdb build on certain Linux distros #281

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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