Android Can xbmc-android be compiled for MIPS?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
sonach Offline
Junior Member
Posts: 35
Joined: Jan 2012
Reputation: 0
Post: #1
hi everybody,
Can xbmc-android be compiled for MIPS?

under xbmc-android/tools/android/depends, I specify '--with-cpu=mips' when doing configure:
# ./configure --with-sdk=/home/zhanghui/opt/android-sdk --with-ndk=/home/zhanghui/opt/android-ndk --with-toolchain=/home/zhanghui/opt/android-toolchain/android-9 --with-tarballs=/home/zhanghui/opt/xbmc-android-tarballs --with-cpu=mips
and it succeeds.

After than, I do 'make', it reports error:
......
make -C libtool
make[1]: Entering directory `/home/zhanghui/project/xbmc-android/tools/android/depends/libtool'
rm -rf mips-native/*; mkdir -p mips-native
/bin/tar -C mips-native --strip-components=1 -xf /home/zhanghui/opt/xbmc-android-tarballs/libtool-2.2.6a.tar.gz
/bin/tar: This does not look like a tar archive

gzip: stdin: not in gzip format
/bin/tar: Child returned status 1
/bin/tar: Error is not recoverable: exiting now
make[1]: *** [mips-native] Error 2
make[1]: Leaving directory `/home/zhanghui/project/xbmc-android/tools/android/depends/libtool'
make: *** [libtool] Error 2

find quote
sonach Offline
Junior Member
Posts: 35
Joined: Jan 2012
Reputation: 0
Post: #2
Now xmbc-android maybe cannot be built for mips, since r7-crystax NDK doesn't support mips toolchain for the moment.

and the errors above are not releated to arch, maybe due to the file corruption of libtool-2.2.6a.tar.gz.

thanks for paying attention to this.
find quote
Shivansps Offline
Member
Posts: 89
Joined: Feb 2012
Reputation: 0
Post: #3
For a mips build i think we need to wait for the crystax version based on ndk-r8, it should be avalible at anytime now.
(This post was last modified: 2012-09-08 09:19 by Shivansps.)
find quote
sonach Offline
Junior Member
Posts: 35
Joined: Jan 2012
Reputation: 0
Post: #4
yes, according to http://www.crystax.net/trac/ndk/ticket/74#, "r8-crystax-1 release is on final testing stage now. Expect it soon, in few weeks".
just waiting for itSmile
find quote
Shivansps Offline
Member
Posts: 89
Joined: Feb 2012
Reputation: 0
Post: #5
BTW, you where getting the staging tools when you attempted to build using the regular ndk-r8? i think i missed something in the toolchain...
(This post was last modified: 2012-09-08 17:44 by Shivansps.)
find quote
sonach Offline
Junior Member
Posts: 35
Joined: Jan 2012
Reputation: 0
Post: #6
(2012-09-08 17:42)Shivansps Wrote:  BTW, you where getting the staging tools when you attempted to build using the regular ndk-r8? i think i missed something in the toolchain...

I did not pay special attention to "the staging tools", I just download the regular ndk-r8, and setup something like "build-target" to mips.
find quote