public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: "Z. Majeed" <zmajeed@sbcglobal.net>
To: "gdb@sourceware.org" <gdb@sourceware.org>
Subject: How to set a configure option for the gdb subdirectory
Date: Fri, 31 Dec 2021 17:31:12 +0000 (UTC)	[thread overview]
Message-ID: <1702189149.385292.1640971872347@mail.yahoo.com> (raw)
In-Reply-To: <1702189149.385292.1640971872347.ref@mail.yahoo.com>

I'm building gdb from source - I'd like to set an option specific to the gdb/configure script - not the top-level binutils-gdb/configure script

For example I'd like to set --with-separate-debug-dir or --enable-gdbmi

How do I do this?

Is there a way to pass sub-configure options for the gdb subdirectory to the top-level configure command?

Or do I run both the top-level binutils-gdb/configure and gdb/configure scripts?

If so do I run the top-level configure first and then the subdirectory configure or the other way around?

And do I make sure common options like --prefix are consistently set in both invocations or can I set --prefix for just the top-level configure and skip for the gdb sub-configure?

Zartaj

       reply	other threads:[~2021-12-31 17:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1702189149.385292.1640971872347.ref@mail.yahoo.com>
2021-12-31 17:31 ` Z. Majeed [this message]
2021-12-31 18:09   ` Andreas Schwab

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=1702189149.385292.1640971872347@mail.yahoo.com \
    --to=zmajeed@sbcglobal.net \
    --cc=gdb@sourceware.org \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).