From 44262d8ce69f28c3b691131c4fb5e8824563053e Mon Sep 17 00:00:00 2001 From: Greg V Date: Wed, 27 Jun 2018 18:12:00 +0300 Subject: Document *BSD build command in readme --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 49677984..bbc34fb6 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,15 @@ Linux - `make -f minicargo.mk` - Builds `mrustc` and `minicargo`, then builds `libstd`, `libtest`, finally `rustc` and `cargo` - `make -C run_rustc` - Build libstd and a "hello, world" using the above-built rustc +BSD +--- +Similar to Linux, but you might need to +- specify the rustc default target explicitly +- specify the compiler +- use `gmake` to run GNU make + +e.g. `gmake CC=cc RUSTC_TARGET=x86_64-unknown-freebsd -f minicargo.mk` + Windows -------- (NOTE: Incomplete, doesn't yet compile executables and missing helper scripts) -- cgit v1.2.3