Re: How to cross compile fio for Android

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

 



On Thu, 28 Nov 2019 at 00:19, Jens Axboe <axboe@xxxxxxxxx> wrote:
>
> On 11/27/19 5:03 PM, Mao Chenxi wrote:
> > Hi Axboe:
> >
> > Sorry to bother you, I would like to inverage latest fio on android.
> > I saw the android should be supported by fio by default.
> > But I didn't compile it successfully.
> > Would you please let me know how to build a fio for android?

Assuming you have a working Android toolchain (getting that is beyond
the scope of this list) you can use
UNAME=Android CROSS_COMPILE=<path/to/toolchain/bin/arm-linux-androideabi-
CC=path/to/toolchain/bin/arm-linux-androideabi-clang ./configure
and then the usual make should work (you can see
https://www.spinics.net/lists/fio/msg01604.html for a different line).


--
Sitsofe | http://sucs.org/~sits/



[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