SurJector
07-06-2006, 12:58
Hi,
I've compiled MLDonkey (with ocaml !) and gphoto2 using uClibc++. Both programs, unfortunately, fail. The first fails probably with an abort() somewhere and the second with a nice SEGFAULT. Is there a debugger somewhere ? At least to know in which function they are aborting, because both projects are rather large and it's difficult to put a printf("Hello from function " __FUNCTION__ ", in file " __FILE__ " at line %d\n", __LINE__); at the beginning of each function !
Good news: ocaml works, together with ocamlc and ocamlrun. It's not optimized though, because the assembly provided with ocaml is written for 64bit MIPS processors...
Proof:
% ocaml
Objective Caml version 3.09.2
# let f=fun x -> x*x;;
val f : int -> int = <fun>
# f 25;;
- : int = 625
# f(-3);;
- : int = 9
#
I've compiled MLDonkey (with ocaml !) and gphoto2 using uClibc++. Both programs, unfortunately, fail. The first fails probably with an abort() somewhere and the second with a nice SEGFAULT. Is there a debugger somewhere ? At least to know in which function they are aborting, because both projects are rather large and it's difficult to put a printf("Hello from function " __FUNCTION__ ", in file " __FILE__ " at line %d\n", __LINE__); at the beginning of each function !
Good news: ocaml works, together with ocamlc and ocamlrun. It's not optimized though, because the assembly provided with ocaml is written for 64bit MIPS processors...
Proof:
% ocaml
Objective Caml version 3.09.2
# let f=fun x -> x*x;;
val f : int -> int = <fun>
# f 25;;
- : int = 625
# f(-3);;
- : int = 9
#