- Notifications
You must be signed in to change notification settings - Fork0
NanoMichael/cross_compile_icu4c_for_android
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This document shows how to cross-compile icu4c for Android (I use it to performmulti-language words segmentation
in SQLite3), please readthe documentation to get more details abouticu
.
The directoryicu contains the source code of icu4c (version 58.2.0), you can replace it with the version you want.
The directorybuild contains the build results,build/host is for host building, andbuild/android/[arch] contains the target build results for Android,[arch] is the target abi-architecture you want to build.
Currently only support linux* and darwin* OS.
Just run the following commands:
$ chmod +x build_icu$ ./build_icu<TARGET_ARCH>
TARGET_ARCH is the target abi-architecture you want to build, you can specify it witharm
that corresponding toarmabi-v7a
orarm64
that corresponding toarm64-v8a
, the default isarm
.
After all works done, you can find the libraries in the directorybuild/andorid/[arch]/lib.
Run./build_icu -h
or./build_icu --help
to show usages, and run./build_icu -c
or./build_icu --clean
to clear all build files.
This project is under theApache-2.0
Copyright 2018 Nano MichaelLicensed under the Apache License, Version 2.0 (the "License");you may not use this file except in compliance with the License.You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, softwaredistributed under the License is distributed on an "AS IS" BASIS,WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions andlimitations under the License.
About
icu4c cross compilition for Android
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.