jon.recoil.org

Module Target_system

type architecture =
  1. | IA32
  2. | X86_64
  3. | ARM
  4. | AArch64
  5. | POWER
  6. | Z
  7. | Riscv
val architecture : unit -> Target_system.architecture
val is_64_bit : unit -> bool
val is_32_bit : unit -> bool
type derived_system =
  1. | Linux
  2. | MinGW_32
  3. | MinGW_64
  4. | Win32
  5. | Win64
  6. | Cygwin
  7. | MacOS_like
  8. | FreeBSD
  9. | NetBSD
  10. | OpenBSD
  11. | Generic_BSD
  12. | Solaris
  13. | Dragonfly
  14. | GNU
  15. | BeOS
  16. | Unknown
val derived_system : unit -> Target_system.derived_system
val is_windows : unit -> bool
type assembler =
  1. | GAS_like
  2. | MacOS
  3. | MASM
val assembler : unit -> Target_system.assembler
module Machine_width : sig ... end
type windows_system = private
  1. | Cygwin
  2. | MinGW
  3. | Native
type system = private
  1. | Linux
  2. | Windows of Target_system.windows_system
  3. | MacOS_like
  4. | FreeBSD
  5. | NetBSD
  6. | OpenBSD
  7. | Generic_BSD
  8. | Solaris
  9. | Dragonfly
  10. | GNU
  11. | BeOS
  12. | Unknown
val system : unit -> Target_system.system
val windows : unit -> bool
val is_macos : unit -> bool
val is_gas : unit -> bool