This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cross-compile GDB ?


> It works for me; we routinely build gdb (including gdbserver) for a
> mips target on an i386 host.  The switches are --host=<mipstarget>
> --target=<mipstarget> --build=<i386host>.  And of course you need a
> toolchain (compiler etc) for the target.

Aha, I completely forgot about the --build switch... That gets me past
this first hurdle. Thanks!

-- 
Joel


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]