> > What did I do wrong? > You have to add "-fexceptions" compiler option in command line, this > enable the gcc to > add frame unwind information for all functions. > I used the same test and working fine without any problems on my SH target: > > root@arcidiaf:/home/filippo/bkt# gcc -static -o test-static-0.9.33 > -rdynamic -fexceptions test.c -lubacktrace -ldl > root@arcidiaf:/home/filippo/bkt# ./test-static-0.9.33 3 > backtrace() returned 7 addresses > [0x4003ea] > [0x400504] > [0x400548] > [0x40053e] > [0x40053e] > [0x4005be] > [0x40d3a6]
Yup that was it. We can now execute the hello_world app from the man page and our app. Thanks guys! Andy _______________________________________________ uClibc mailing list uClibc@uclibc.org http://lists.busybox.net/mailman/listinfo/uclibc