Re: Make FIO for Android

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12 April 2013 16:18, Jens Axboe <axboe@xxxxxxxxx> wrote:
> On Fri, Apr 12 2013, Aaron Carroll wrote:
>> On 12 April 2013 15:58, Jens Axboe <axboe@xxxxxxxxx> wrote:
>> > On Fri, Apr 12 2013, Aaron Carroll wrote:
>> >> Apologies, I'm being a moron today.
>> >>
>> >> That won't apply cleanly due to minor changes in arch-x86.h, but easy
>> >> to apply by hand. Also the type of ioprio_set() has changed, but
>> >> Android was not updated.
>> >>
>> >> So, attached is a patch that should get tip back to the state where I
>> >> thought it was -- weird asm errors.
>> >
>> > Applied, thanks. Let me see if I can rewrite the cpuid bit, that is the
>> > one that is still causing you problems, right?
>>
>> Yes, so if I build with:
>>  make CROSS_COMPILE=~/dev/android-toolchains-r8c/x86-4.6/bin/i686-linux-android-
>
> For testing purposes, it'd be handy to have the toolchain. Can I just
> download it somewhere?

Yep, grab the NDK from here:
  http://developer.android.com/tools/sdk/ndk/index.html

untar, cd to the base dir, and run:
  ./build/tools/make-standalone-toolchain.sh --arch=x86 --platform=android-14

That will generate a bzipped tarball, which is a working standalone
Android/x86 toolchain.


  -- Aaron
--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux