How to coerce gdb into pseudo-cross-compiling when build == host?

Kaz Kylheku kaz@zeugmasystems.com
Tue Oct 3 23:51:00 GMT 2006


> 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.



More information about the Gdb mailing list