OmniMark is a cross-platform language: a program written in OmniMark can be used on multiple platforms, both when run from source and in its compiled form.

If you are targetting multiple platforms, you should take some precautions when you write your OmniMark programs:

  • Avoid hard-coding file paths. A file path like C:\My data\Input.txt only works on Windows.
  • Newlines are coded differently on Windows and on Unix. Open your input files for reading in text-mode, and your output files in binary-mode if you want the results to be the same on all platforms.
  • Use #platform-info if you need to perform platform-specific tasks.

OmniMark is fully supported on following platforms:

  • AIX 5.3 ML7 (PowerPC 32-bit),
  • HP-UX B.11.23 on Itanium2 zx6000 and HP-UX B.11.31 on Itanium2 rx2660,
  • Linux RedHat Enterprise 5 on 80x86 compatible CPUs (32 bit and 64 bit),
  • SunOS Sun Sparc CPUs (5.8 and 5.10), and
  • Microsoft Windows (XP, Vista, 7, Server 2003, and Server 2008) on 80x86 compatible CPUs (32 bit only).

With the exception of OMDB and OMOCI, libraries provided with OmniMark are available for all supported platforms.