Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 397 Bytes

macos.md

File metadata and controls

12 lines (9 loc) · 397 Bytes
title weight description
macOS support
4
How to use TinyGo to create standard macOS executables.

Using TinyGo you can compile programs for macOS systems.

For cross compiling, you can use GOOS. For example, you can cross compile the examples/serial example from a Linux host targeting macOS with the following command:

GOOS=darwin tinygo build -o serial examples/serial