ml-build(1)

ml-build1

Command-line build tool for sml/nj programs

Usage

ml-build [OPTIONS] group.cm [main [heap-image]]

Overview

ML-Build is a command-line tool for building applications from SML source files using the Compilation Manager and SML/NJ compiler.

Options

-Cctl=value

set the control ctl to value.

-Dname=value

define the CM variable name to have the given value.

-D'name

define the CM variable name to have the value 1.

-Uname

remove any definition of the CM variable name.

-S setup.cm

load and execute the code specified by the CM file setup.cm prior to the main build process. This option allows one to customize the compiler via side-effect.

Examples

ml-build foo.cm

builds the program foo assuming a main function named Test.main.

ml-build foo.cm Main.main

builds the program foo with main function named Main.main.

ml-build sources.cm Main.main prog

builds the program prog with main function named Main.main.

Copying

Copyright © 2020 The Fellowship of SML/NJ

This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Releases

9 releases since Debian 3.1 (Sarge); the text changed 3 times.

  1. 3.1–7
  2. 8
  3. 9–12
  4. Arch

-C since Debian 9 (Stretch); -S since Debian 9 (Stretch).

Author

ML-Build was written by Matthias Blume.

From smlnj 110.99.9-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.