Skip to content

no switch is set currently #28871

@lost22git

Description

@lost22git
  • opam install utop
[ERROR] No switch is currently set. Please use 'opam switch'
        to set or install a switch

  • opam switch list-available
# Listing available compilers from repositories: default
# Name                 # Version # Synopsis
msys2-mingw64          1         MSYS2 MINGW64 Environment
ocaml-option-spacetime 1
          Set OCaml to be compiled with spacetime activated

Opam don't provide Ocaml compiler for android termux users, but I have one built from source.

  • ocaml --version
The OCaml toplevel, version 5.5.0+dev0-2025-04-28

I would like to create a custom switch to specify
my Ocaml compiler, how to do this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions