diff --git a/doc/nimc.rst b/doc/nimc.rst index 5d9ed03ab6..a312faf3da 100644 --- a/doc/nimc.rst +++ b/doc/nimc.rst @@ -194,7 +194,7 @@ Cross compilation To cross compile, use for example:: - nim c --cpu:i386 --os:linux --compile_only --gen_script myproject.nim + nim c --cpu:i386 --os:linux --compileOnly --genScript myproject.nim Then move the C code and the compile script ``compile_myproject.sh`` to your Linux i386 machine and run the script.