Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

icu4c cross compilition for Android

NotificationsYou must be signed in to change notification settings

NanoMichael/cross_compile_icu4c_for_android

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

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.

How to use

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.

License

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp