Ell*_*sky 8 gcc nim-lang
我跟着文档编译,nim compileToC helloworld.nim 但它只是吐出一个可执行文件.我怎样才能看到中间C表示?
nim compileToC helloworld.nim
def*_*ef- 11
nim -c -d:release c helloworld.nim只需创建C文件nimcache,而无需编译和链接它们.-d:release使代码更容易阅读.
nim -c -d:release c helloworld.nim
nimcache
-d:release
jkw*_*l87 11
默认 nimcache 目录已从当前工作目录更改为:
$HOME/.cache/nim/<project_name>
$HOME/nimcache/<project_name>
有关详细信息,请参阅相关的nim 编译器文档文章。
归档时间:
10 年,6 月 前
查看次数:
2009 次
最近记录:
6 年,9 月 前