Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Bernd Edlinger <bernd.edlinger@hotmail.de>
Cc: gdb-patches@sourceware.org, tom@tromey.com
Subject: Re: static linking of gdb
Date: Sun, 05 Apr 2020 16:17:34 +0300	[thread overview]
Message-ID: <837dyut6kx.fsf@gnu.org> (raw)
In-Reply-To: <AM6PR03MB5170FB7B650637F3795D0D02E4C50@AM6PR03MB5170.eurprd03.prod.outlook.com> (message from Bernd Edlinger on Sun, 5 Apr 2020 12:13:42 +0200)

> From: Bernd Edlinger <bernd.edlinger@hotmail.de>
> Date: Sun, 5 Apr 2020 12:13:42 +0200
> 
> I noticed that gdb is currently not
> linking libstdc++ statically, as it did
> in the past if I remember correclty.

You need to request that by passing --with-static-standard-libraries
to the configure script.  Note that if you do that, you may encounter
an error at configure time, because the configure script thinks the
above option is incompatible with source-highlight library (without
checking whether a static version of that library is available).  This
was reported here:

  https://sourceware.org/pipermail/gdb-patches/2020-February/165843.html

but AFAIK was not fixed yet.


  reply	other threads:[~2020-04-05 13:17 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-05 10:13 Bernd Edlinger
2020-04-05 13:17 ` Eli Zaretskii [this message]
2020-04-05 13:23   ` Bernd Edlinger
2020-04-05 13:48   ` Bernd Edlinger
2020-04-05 14:19     ` Eli Zaretskii
2020-04-05 14:56       ` Bernd Edlinger
2020-04-06  3:27   ` Bernd Edlinger
2020-04-06  7:14     ` Bernd Edlinger
2020-04-06 13:43       ` Tom Tromey
2020-04-06 13:42     ` Tom Tromey
2020-04-06 13:45       ` Bernd Edlinger
2020-04-06 14:11         ` Tom Tromey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=837dyut6kx.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=bernd.edlinger@hotmail.de \
    --cc=gdb-patches@sourceware.org \
    --cc=tom@tromey.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox