Talk:CedarX/XBMC

While testing to cross compile xbmc for armhf, this list is a little brainstorming of the steps that i could remeber: The wiki page has to be rewritten. So the whole things has to be done a second time. With protocolling!!!

My memos for armhf: I had to make symlinks for apt-get install cmake shtool swig autoconf autotool automake libtool default-jre gawk gperf zip g++-4.6-arm-linux-gnueabihf (maybe not complete listing) set all symlinks to version files (gcc -> gcc-4.6 etc...)
 * cross-compiled on a debian/sid-amd64(in vmware-virtual machine on windows vista;-)).
 * build your kernel, uboot, script.bin, boot.scr and debian armhf-rootfs like described in the rhomus-tech-"build-debian-for-mele-from-source"-wiki. adapt it do sid and armhf!
 * be sure to use components, that fit together!
 * you need a kernel with r3p0-mali-driver, to fit to binary mali-libs (i used stage/sunxi-3.0)
 * after setting up rootfs, chroot into rootfs and do all "apt-get dep xbmc" and other "apt-get install/remove"-things for needed packages in your chroot!
 * "apt-get remove libegl1-mesa libegl1-mesa-dev libegl1-mesa-drivers libgles2-mesa libgles2-mesa-dev" isn't needed? no gl-stuff installed to be removed?
 * your includes for crosscompiling xbmc must point to the include dirs of your rootfs(SDKSTAGE)
 * you may the make/gcc -lines in config.log combined with a 'find / -name "....."' to check if -I"..."-parameters are set right etc.
 * set PKG_CONFIG_SYSROOT_DIR=$(SDKSTAGE) in depends.mk to let configure find the right pkg-config-things
 * check depends.mk and change dirs and USEARMHF=1!
 * follow empat0's instructions in depends.mk and set symlinks:
 * 1) /lib/arm-linux-gnueabi, /usr/lib/arm-linux-gnueabi
 * 2) and /usr/include/arm-linux-gnueabi to their path in ${SDKSTAGE}
 * for cross-compilation remeber to do (not in chroot):
 * be sure to all the files/links/dirs named right and in the right place with *hf-ending like listed in depends.mk
 * follow configure errors (config.log) and install the needed packages (dev-packages: chroot and install in armhf)

Finally edit the wiki page ;-)