I've got a problem program in my target environment, and I need to debug 
it. I think gdb is probably the best choice, but I'm a little nervous 
about how to go about doing so without grossly/needlessly enlarging my 
target system.

I've downloaded the package from ftp.gnu.org to $CLFS/sources.

I believe that I should then do something like this:

$ ./configure --prefix=${CLFS}/cross-tools --host=${CLFS_HOST} 
--target=${CLFS_TARGET}
$ make && make -C gdb install

However, I believe that this would only allow me to debug the program 
within host environment, which lacks some of the libs and other things 
needed (they're in the target).

What should I do here?
_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support

Reply via email to