added a new feature: --cc:env so that you can use any C compiler as long as it works like GCC
This commit is contained in:
parent
1b2b32169a
commit
c64db68f0b
3 changed files with 31 additions and 13 deletions
|
|
@ -240,6 +240,10 @@ add the ``-f`` flag to force all files to be recompiled.
|
|||
The default compiler is defined at the top of ``config\nim.cfg``.
|
||||
Changing this setting affects the compiler used by ``koch`` to (re)build Nim.
|
||||
|
||||
To use the ``CC`` environment variable, use ``nim c --cc:env myfile.nim``. To use the
|
||||
``CXX`` environment variable, use ``nim cpp --cc:env myfile.nim``. ``--cc:env`` is available
|
||||
since Nim version 1.4.
|
||||
|
||||
|
||||
Cross compilation
|
||||
=================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue