Hello,
My goal is it to help porting CHDK to the S100 Firmware, since I'm soon going to own one :-). Today I tried compiling CHDK on my Linux Mint system. I'm using GCC 4.4.3 with Binutils 2.18. I created a toolchain script based on the one I found on this Wiki entry:
http://chdk.wikia.com/wiki/Gcc433. Compiling the toolchain succeeded, and I started compiling CHDK svn (r1808) using make and a "localbuildconf.inc" which definies PATH, PLATFORM and PLATFORMSUB. At the end, I get this error:
>> Entering to core/modules
../module_exportlist.c -> exportlist
../gui_fselect.c -> ../gui_fselect.o
../nothumb.c -> ../nothumb.o
-> fselect.elf
-> fselect.flt
In file fselect.elf:
point not to the __div0. Something unusual.
make[2]: *** [fselect.flt] Error 8
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
Any idea? I found this error in a question in another thread, but no solution was posted in response.
As far as I understand things, this error comes from the elf2flt tool (see tools/elf2flt/elf-arm.c). It seems my compiler generates R_ARM_PC24 like Win arm-gcc. Is this what I want? Can I change this type somehow?
Thanks for any pointers.
falstaff