Kompileerin seepärast, et huvi pakub ja teiseks seda mldonkey kõige uuemat pakki pole kuskil. Proovisin selle pakihalduri ka järgi. Töötab, ocaml paki sain installitud.
Praegu siis olen mldonkey lähtekoodi kallal. Kompileerides sama korduv FP viga:
Kood: Vali kõik
/ffp/bin/ld: failed to merge target specific data of file /opt/lib/ocaml/libunix.a(times.o)
/ffp/bin/ld: ERROR: /opt/lib/ocaml/libunix.a(truncate.o) uses hardware FP, whereas ocamlpp.byte uses software FP
Viimane osa sellest:
Kood: Vali kõik
/ffp/bin/ld: ERROR: /opt/lib/ocaml/libcamlrun.a(fix_code.o) uses hardware FP, whereas ocamlpp.byte uses software FP
/ffp/bin/ld: failed to merge target specific data of file /opt/lib/ocaml/libcamlrun.a(fix_code.o)
collect2: ld returned 1 exit status
File "_none_", line 1, characters 0-1:
Error: Error while building custom runtime system
make: *** [ocamlpp.byte] Error 2
Tundub, et gcc kompilaator tahab mingeid parameetreid saada.. Endal hetkel ideed otsas. Ehk keegi oskab miskit juhatada. Kompilaatori seaded sellised:
Kood: Vali kõik
root@v6rguketas:/mnt/HD_a2# gcc -v
Using built-in specs.
Target: arm-unknown-linux-uclibc
Configured with: /mnt/HD_a2/home/bob/funplug/work/gcc-4.1/gcc-4_1-branch/configure --enable-languages=c,c++ --enable-__cxa_atexit --with-local-prefix=/ffp --disable-multilib --disable-libssp --disable-libgomp --disable-libmudflap --disable-tls --with-float=soft --disable-bootstrap
Thread model: posix
gcc version 4.1.3 20080414 (prerelease)