Overo is my first introduction to development using an embedded system.


I've got a Hello World project up and running, but now I'm trying to remote debug it and I'm running into some problems.
http://github.com/coolaj86/gumstix-overo-hello-world


After I compile "hello" I scp it over to the Gumstix and run 
ipkg install gdbserver
gdbserver remote:2345 /hello



Then on my remote I run
~/overo-oe/tmp/cross/armv7a/bin/arm-angstrom-linux-gnueabi-gdb bin/hello.arm.debug -symbols bin/hello.arm.debug
(gdb) target remote gumstix:2345
(gdb) file bin/hello.arm.debug
(gdb) set solib-search-path ~/overo-oe/tmp/staging/armv7a-angstrom-linux-gnueabi/lib/
(gdb) break say
(gdb) continue


Which results in output such as:
Continuing.
warning: `/usr/lib/libstdc++.so.6': Shared library architecture unknown is not compatible with target architecture arm.
warning: .dynamic section for "/usr/lib/libstdc++.so.6" is not at the expected address (wrong library or version mismatch?)


I see that it's trying to load my local system's libraries rather than the arm libraries, but I don't understand why that is.

AJ ONeal