{"id":17993630,"url":"https://github.com/vouillon/ocaml-android","last_synced_at":"2025-03-26T02:30:32.136Z","repository":{"id":6289647,"uuid":"7524000","full_name":"vouillon/ocaml-android","owner":"vouillon","description":"Ocaml cross-compiler for Android","archived":false,"fork":false,"pushed_at":"2014-10-10T21:11:52.000Z","size":262,"stargazers_count":46,"open_issues_count":1,"forks_count":4,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-21T01:34:15.944Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vouillon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-01-09T15:58:39.000Z","updated_at":"2025-01-12T09:52:41.000Z","dependencies_parsed_at":"2022-09-09T03:00:56.643Z","dependency_job_id":null,"html_url":"https://github.com/vouillon/ocaml-android","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vouillon%2Focaml-android","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vouillon%2Focaml-android/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vouillon%2Focaml-android/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vouillon%2Focaml-android/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vouillon","download_url":"https://codeload.github.com/vouillon/ocaml-android/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245576522,"owners_count":20638123,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-29T20:12:27.259Z","updated_at":"2025-03-26T02:30:31.836Z","avatar_url":"https://github.com/vouillon.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"ocaml-android\n=============\n\nOcaml cross-compiler for Android.\n\nOn a 64bit Debian or Ubuntu installation, you need to install package\n`gcc-multilib`: we have to build 32 bit OCaml binaries when targeting\n32 bit architectures.\n\nFollow the following steps to compile:\n- download the Android NDK and the OCaml source code;\n- edit `Makefile.config`;\n- run `make`.\n\nFor convenience, binaries (`ocamlc`, `ocamlopt`, ...) are put both in\n   `$ANDROID_BINDIR`\nprefixed by `arm-linux-androideabi-`, and in\n   `$ANDROID_BINDIR/arm-linux-androideabi`\nunprefixed.\nThe Android OCaml runtime `ocamlrun` is in directory\n   `$ANDROID_PREFIX/bin/`.\n\nThere are a few pitfalls regarding bytecode programs.  First, if you\nlink them without the `-custom` directive, you will need to use\n`ocamlrun` explicitly to run them. Second, the `ocamlmklib` command\nproduces shared libraries `dll*.so` which are not usable. Thus, you\nneed to use the `-custom` directive to successfully link bytecode\nprograms that uses libraries with mixed C / OCaml code. Shared\nlibraries should eventually be disabled, but at the moment, the\n`ocamlbuild` plugin of `oasis` requires them to be created.\n\nMany thanks to Keigo Imai for his OCaml 3.12 cross-compiler patches.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvouillon%2Focaml-android","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvouillon%2Focaml-android","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvouillon%2Focaml-android/lists"}