Spelling fixes in nimc.rst (#11569)
This commit is contained in:
parent
bb9b60604b
commit
800bc661b6
1 changed files with 3 additions and 3 deletions
|
|
@ -266,11 +266,11 @@ configuration file should contain something like::
|
||||||
Cross compilation for Windows
|
Cross compilation for Windows
|
||||||
=============================
|
=============================
|
||||||
|
|
||||||
To cross compile for Windows from Linux or OSX using the MinGW-w64 toolchain::
|
To cross compile for Windows from Linux or macOS using the MinGW-w64 toolchain::
|
||||||
|
|
||||||
nim c -d:mingw myproject.nim
|
nim c -d:mingw myproject.nim
|
||||||
|
|
||||||
Use ``--cpu:i386`` or ``--cpu:amd64`` to switch the cpu arch.
|
Use ``--cpu:i386`` or ``--cpu:amd64`` to switch the CPU architecture.
|
||||||
|
|
||||||
The MinGW-w64 toolchain can be installed as follows::
|
The MinGW-w64 toolchain can be installed as follows::
|
||||||
|
|
||||||
|
|
@ -443,7 +443,7 @@ Backend language options
|
||||||
The typical compiler usage involves using the ``compile`` or ``c`` command to
|
The typical compiler usage involves using the ``compile`` or ``c`` command to
|
||||||
transform a ``.nim`` file into one or more ``.c`` files which are then
|
transform a ``.nim`` file into one or more ``.c`` files which are then
|
||||||
compiled with the platform's C compiler into a static binary. However there
|
compiled with the platform's C compiler into a static binary. However there
|
||||||
are other commands to compile to C++, Objective-C or Javascript. More details
|
are other commands to compile to C++, Objective-C or JavaScript. More details
|
||||||
can be read in the `Nim Backend Integration document <backends.html>`_.
|
can be read in the `Nim Backend Integration document <backends.html>`_.
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue