This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Is there a configure time way of overriding the default architecture (instance)?
- From: Daniel Jacobowitz <drow at false dot org>
- To: "Anmol P. Paralkar" <b07584 at freescale dot com>
- Cc: gdb at sourceware dot org
- Date: Tue, 16 Oct 2007 19:50:14 -0400
- Subject: Re: Is there a configure time way of overriding the default architecture (instance)?
- References: <Pine.LNX.4.64.0710161646510.31376@ld0159-tx32.am.freescale.net>
On Tue, Oct 16, 2007 at 05:32:20PM -0500, Anmol P. Paralkar wrote:
> e.g. GDB (6.6.50) configured with target
> --target=powerpc-unknown-linux-gnu will default to
> rs6000:6000. Is there a configure time way of
> specification so that in the built GDB, the
> architecture would be set to (say) powerpc:e500
> automatically, when invoked?
The right answer depends on why you want to do that. In most cases
GDB should autodetect it from some combination of the executable and
the native or remote target. For instance I just checked in patches
which improve automatic selection of e500.
--
Daniel Jacobowitz
CodeSourcery