Compilation for MIPS

Support for Android version of Total Commander

Moderators: white, Hacker, petermad, Stefan2

Post Reply
vpa
New Member
New Member
Posts: 1
Joined: 2012-04-07, 08:17 UTC

Compilation for MIPS

Post by *vpa »

There is possible add compilation of Total Commander for Android for MIPS processors? Thanks
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

To my knowledge, there is no Android NDK for MIPS. Or do you know of any?
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I found an inofficial Android NDK on http://developer.mips.com . It seems to work with it, I have sent you a mail with a test version.
Author of Total Commander
https://www.ghisler.com
User avatar
sztihamer
Member
Member
Posts: 117
Joined: 2012-01-31, 17:46 UTC

Post by *sztihamer »

The MIPS Android NDK is now included in the official Android NDK release. I guess from now on there is no need for the unofficial one!
Link: http://developer.android.com/sdk/ndk/index.html

Code: Select all

The new features for MIPS Developers using Android NDK, Revision 8 are:

-Added support for the MIPS ABI, which allows [Developers] to generate machine code that runs on compatible MIPS-based Android devices. Major features for MIPS include MIPS-specific toolchains, system headers, libraries and debugging support. For more details regarding MIPS support, see docs/CPU-MIPS.html in the NDK package.
-By default, code is generated for ARM-based devices. [Developers] can add mips to your APP_ABI definition in your Application.mk file to build for MIPS platforms. For example, the following line instructs ndk-build to build your code for three distinct ABIs: APP_ABI := armeabi armeabi-v7a mips
 -Unless [Developers] rely on architecture-specific assembly sources, such as ARM assembly code, you should not need to touch your Android.mk files to build MIPS machine code.
-[Developers] can build a standalone MIPS toolchain using the --arch=mips option when calling make-standalone-toolchain.sh. See docs/STANDALONE-TOOLCHAIN.html for more details. 
-The Android NDK is a toolset that lets developers embed components that make use of native code in Android applications.
-Android applications run in the Dalvik virtual machine. The NDK allows you to implement parts of your applications using native-code languages such as C and C++. This can provide benefits to certain classes of applications, such as reuse of existing code and in some cases increased speed.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Nice, thanks for the info!
Author of Total Commander
https://www.ghisler.com
Post Reply