esp-open-sdk icon indicating copy to clipboard operation
esp-open-sdk copied to clipboard

Fix cross-gdb build on certain Linux distros

Open flannelhead opened this issue 6 years ago • 1 comments

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 avatar Jul 27 '17 18:07 flannelhead

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

riban-bw avatar Jan 02 '18 23:01 riban-bw