Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #46

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 4 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This repository contains an up-to-date Android toolchain featuring OCaml 4.04.0,

The supported build systems are 32-bit and 64-bit x86 Linux. The supported target systems are 32-bit x86 and ARM Android.

If you need support for other platforms or versions, please [open an issue](https://github.com/whitequark/opam-cross-android/issues).
If you need support for other platforms or versions, please [open an issue](https://github.com/ocaml-cross/opam-cross-android/issues).

Prerequisites
-------------
Expand All @@ -19,7 +19,7 @@ Installation

Add this repository to OPAM:

opam repository add android git://github.com/whitequark/opam-cross-android
opam repository add android https://github.com/ocaml-cross/opam-cross-android.git

On 64-bit build systems, switch to 32-bit compiler when compiling for 32-bit targets:

Expand All @@ -31,11 +31,6 @@ Otherwise, use a regular compiler; its version must match the version of the cro
opam switch 4.04.0
eval `opam config env`

Pin some prerequisite packages that don't yet have fixes merged upstream:

opam pin add ocamlbuild https://github.com/ocaml/ocamlbuild.git
opam pin add topkg https://github.com/whitequark/topkg.git

Configure the compiler for ARM:

ARCH=arm SUBARCH=armv7 SYSTEM=linux_eabi \
Expand Down Expand Up @@ -72,7 +67,7 @@ If desired, request the compiler to be built with [flambda][] optimizers:

opam install conf-flambda-android

[flambda]: https://caml.inria.fr/pub/docs/manual-ocaml/flambda.html
[flambda]: https://ocaml.org/manual/flambda.html

Install the compiler:

Expand Down Expand Up @@ -161,4 +156,4 @@ Some of the tricks in this repository were inspired by Jerome Vouillon's [opam-a
References
----------

See also [opam-cross-windows](https://github.com/whitequark/opam-cross-windows) and [opam-cross-ios](https://github.com/whitequark/opam-cross-ios).
See also [opam-cross-windows](https://github.com/ocaml-cross/opam-cross-windows) and [opam-cross-ios](https://github.com/ocaml-cross/opam-cross-ios).