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

Daniel Jacobowitz drow@false.org
Tue Oct 3 23:44:00 GMT 2006


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.

However, to see why the default build wasn't working for you, we'd have
to have more detailed information about how it had failed.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Gdb mailing list