From 748da3433af66fbae3ad5963df23f3f7a14d2aef Mon Sep 17 00:00:00 2001 From: Jeremie Dimino Date: Mon, 22 Jan 2018 09:45:43 +0000 Subject: [PATCH] Update urls for the opam-cross-x repositories --- doc/advanced-topics.rst | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/doc/advanced-topics.rst b/doc/advanced-topics.rst index 14a4e8ff..fc2b7009 100644 --- a/doc/advanced-topics.rst +++ b/doc/advanced-topics.rst @@ -110,15 +110,22 @@ to the definition of a build context. - the name of an alternative toolchain Note that at the moment, there is no official support for -cross-compilation in OCaml. Jbuilder supports the two following -opam-cross-x repositories: +cross-compilation in OCaml. Jbuilder supports the opam-cross-x +repositories from the `ocaml-cross organization on github +`, such as: -- `opam-cross-windows `_ -- `opam-cross-android `_ +- `opam-cross-windows `_ +- `opam-cross-android `_ +- `opam-cross-ios `_ -To build Windows binaries using opam-cross-windows, write ``windows`` -in the list of targets. To build Android binaries using -opam-cross-android, write ``android`` in the list of targets. +In particular: + +- to build Windows binaries using opam-cross-windows, write ``windows`` + in the list of targets +- to build Android binaries using opam-cross-android, write + ``android`` in the list of targets +- to build Android binaries using opam-cross-ios, write ``ios`` in the + list of targets For example, the following workspace file defines three different targets for the ``default`` build context: