building chdk on a powerpc (ppc) mac - General Discussion and Assistance - CHDK Forum  

building chdk on a powerpc (ppc) mac

  • 2 Replies
  • 2340 Views
building chdk on a powerpc (ppc) mac
« on: 05 / April / 2008, 04:37:51 »
Advertisements
hi,

anyone every successfully built chdk on a powerpc (ppc)
mac using os-x? i tried it and ran into several problems.
first finsig seems to have endian problems (ppc is bigendian
in contradiction to intel being littleendian), because it will
not find anything in the PRIMARY.BIN. putting the
stubs_entry.S from the sources in place and removing the
PRIMARY.BIN i'll get chdk compliled fine, but the resulting
binaries do not work (built on an intel pc from the same
sources under windows they're fine) - i get an update file error
when trying to enable chdk on the camera (via menu firm-
ware update) ... the gcc toochain i used for this is from

  http://www.mikrocontroller.net/articles/ARM_GCC_toolchain_for_Linux_and_Mac_OS_X

any ideas or experiences with this topic and about how to
get those issues fixed, so that chdk can also be built on
a ppc mac?

a lot of thanks in advance and best wishes - image13

Re: building chdk on a powerpc (ppc) mac
« Reply #1 on: 05 / April / 2008, 04:41:12 »
The only experience I have, is that the same toolchain works fine on an Intel Mac under OS X 10.4, but that won't help you much, of course.
Good Luck
- 3DBruce

*

Offline GrAnd

  • ****
  • 916
  • [A610, S3IS]
    • CHDK
Re: building chdk on a powerpc (ppc) mac
« Reply #2 on: 05 / April / 2008, 05:15:08 »
i get an update file error when trying to enable chdk on the camera (via menu firmware update) ...

Seems you need to make pakwif.c endian-independent at least.
CHDK Developer.

 

Related Topics