This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
RE: How to coerce gdb into pseudo-cross-compiling when build == host?
- From: "Kaz Kylheku" <kaz at zeugmasystems dot com>
- To: <gdb at sourceware dot org>
- Date: Tue, 3 Oct 2006 16:50:56 -0700
- Subject: RE: How to coerce gdb into pseudo-cross-compiling when build == host?
> Daniel Jacobowitz:
> On Tue, Oct 03, 2006 at 04:16:25PM -0700, Kaz Kylheku wrote:
> > I lied to it by doing this:
> >
> > --build=i686-bsd
> > --target=i686-linux
> > --host=i686-linux
> >
> > But there has to be a better way.
>
> It is typical to use --build=i686-none-linux-gnu
> --host=i686-linux, or some variant thereof.
Thanks. That's what I was looking for; so we use the symbol
"none" for the system, which is different from "pc", and
off we go.