This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: error about loading cross-compile lib
On Sat, 07 Nov 2009 07:58:49 +0100, loody wrote:
> While running a cross-compile gdb on my platform, running on i386, and
> target is mips.
> when executing it, it will say
> "Error while mapping shared library sections:
> /lib/libc.so.0: No such file or directory.
...
> Did I miss something or some setting?
Search `info gdb' for `set sysroot PATH'. You should have the MIPS library
files on your i386 host at some PATH.
Regards,
Jan