How to set a configure option for the gdb subdirectory

"Z. Majeed" <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.