View Single Post
Old 07-18-2008, 07:48 AM   #2
Antartica
Evangelist
Antartica has learned how to read e-booksAntartica has learned how to read e-booksAntartica has learned how to read e-booksAntartica has learned how to read e-booksAntartica has learned how to read e-booksAntartica has learned how to read e-booksAntartica has learned how to read e-books
 
Antartica's Avatar
 
Posts: 417
Karma: 754
Join Date: Jun 2006
Location: Madrid, Spain
Device: iliad, onhandpc, newton, zaurus
Quote:
Originally Posted by LazyScot View Post
The title says it all
I only had compiled strace. I wasn't aware of the existance of ltrace (seems a nice complement to strace :-b).

And it only seems to depend on libelfg0, so it will be easy to port (see: http://packages.debian.org/lenny/ltrace )

(a while later)
I've undusted my iliad development and compiled it, with the only dependecy statically linked for convenience.

You can grab it here:

http://projects.mobileread.com/iliad...5_iliad.tar.gz


P.S.: I've also updated the dl-and-install.sh script of my toolchain, as it didn't work anymore. More info here: https://www.mobileread.com/forums/sho...924#post216924

P.S.2: What I did for this is (for future reference ;-) ), in the scratchbox environment:
$ ./dl-and-install.sh libelf.so.0
$ ./dl-and-install.sh usr/bin/ltrace
$ cd ltrace-0.5/
$ ./configure
$ make
$ rm ltrace
$ gcc sysdeps/sysdep.o ltrace.o options.o elf.o output.o read_config_file.o execute_program.o wait_for_something.o process_event.o display_args.o breakpoints.o proc.o demangle.o dict.o debug.o summary.o ../libelf-0.8.10.orig/lib/libelf.a -lsupc++ -liberty -o ltrace
$ tar -cvzf ltrace-0.5_iliad.tar.gz ltrace

P.S.3: I've not tested it on the iliad, so I don't know if it works...

Last edited by Antartica; 07-18-2008 at 07:52 AM.
Antartica is offline   Reply With Quote