[crosstool-ng/crosstool-ng] b07da3: Fix CT_GDB_NATIVE_STATIC_LIBSTDCXX reference

Chris Packham via crossgcc <[email protected]> Sun, 30 Aug 2020 01:53:55 -0700
Newsgroups gmane.comp.gcc.cross-compiling
Message-ID <crosstool-ng/crosstool-ng/push/refs/heads/master/[email protected]>
  Branch: refs/heads/master
  Home:   https://github.com/crosstool-ng/crosstool-ng
  Commit: b07da3bb695366e3fbac27e7710f061d7362e0cd
      https://github.com/crosstool-ng/crosstool-ng/commit/b07da3bb695366e3fbac27e7710f061d7362e0cd
  Author: Stephanos Ioannidis <[email protected]>
  Date:   2020-05-26 (Tue, 26 May 2020)

  Changed paths:
    M scripts/build/debug/300-gdb.sh

  Log Message:
  -----------
  Fix CT_GDB_NATIVE_STATIC_LIBSTDCXX reference

This commit fixes an incorrect reference to the configuration
`CT_GDB_NATIVE_STATIC_LIBSTDCXX` in the GDB build script.

Signed-off-by: Stephanos Ioannidis <[email protected]>


  Commit: 041427aec949a933cba415de9ae7fac29f7a7682
      https://github.com/crosstool-ng/crosstool-ng/commit/041427aec949a933cba415de9ae7fac29f7a7682
  Author: Stephanos Ioannidis <[email protected]>
  Date:   2020-05-26 (Tue, 26 May 2020)

  Changed paths:
    M scripts/build/debug/300-gdb.sh

  Log Message:
  -----------
  Enable static libgcc when CT_GDB_NATIVE_STATIC_LIBSTDCXX is set

This commit updates the GDB build script to specify `-static-libgcc`
when `CT_GDB_NATIVE_STATIC_LIBSTDCXX` is enabled. Both libgcc and
libstdc++ are considered to be part of the "standard libraries," and
should be specified by the same flag (the configuration symbol could
potentially use a better name and/or further indirection).

This also semantically aligns the `CT_GDB_NATIVE_STATIC_LIBSTDCXX`
with the equivalent GCC configuration `CT_CC_GCC_STATIC_LIBSTDCXX`,
which also enables static linking of both libgcc and libstdc++.

Signed-off-by: Stephanos Ioannidis <[email protected]>


  Commit: baa746887d3ee6f0336632c2a030ff6812dce4f3
      https://github.com/crosstool-ng/crosstool-ng/commit/baa746887d3ee6f0336632c2a030ff6812dce4f3
  Author: Chris Packham <[email protected]>
  Date:   2020-08-30 (Sun, 30 Aug 2020)

  Changed paths:
    M scripts/build/debug/300-gdb.sh

  Log Message:
  -----------
  Merge pull request #1347 from stephanosio/fix_gdb_static_libstdcxx

Fix CT_GDB_NATIVE_STATIC_LIBSTDCXX


Compare: https://github.com/crosstool-ng/crosstool-ng/compare/23f17ab5cbff...baa746887d3e
--
For unsubscribe information see http://sourceware.org/lists.html#faq