summary refs log tree commit diff stats
path: root/config/nim.cfg
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2018-12-12 18:16:53 +0100
committerAraq <rumpf_a@web.de>2018-12-12 18:16:53 +0100
commit0ab1229c6988ed9ad2f9f1f87f41cddc17a849e0 (patch)
tree94b2b4ffb1631ac1b1bc51cb0b9cfa3de274c1e8 /config/nim.cfg
parentac8274c60f860b334a08199c4c0a65620962ef2a (diff)
parentcaeb6110e6742e01a4daf07ed45752b5466f5d1c (diff)
downloadNim-0ab1229c6988ed9ad2f9f1f87f41cddc17a849e0.tar.gz
resolve merge conflicts
Diffstat (limited to 'config/nim.cfg')
-rw-r--r--config/nim.cfg49
1 files changed, 29 insertions, 20 deletions
diff --git a/config/nim.cfg b/config/nim.cfg
index 932e80331..38683b304 100644
--- a/config/nim.cfg
+++ b/config/nim.cfg
@@ -23,7 +23,7 @@ hint[LineTooLong]=off
 arm.linux.gcc.exe = "arm-linux-gnueabihf-gcc"
 arm.linux.gcc.linkerexe = "arm-linux-gnueabihf-gcc"
 
-# For OpenWRT, you will also need to adjust PATH to point to your toolchain. 
+# For OpenWRT, you will also need to adjust PATH to point to your toolchain.
 mips.linux.gcc.exe = "mips-openwrt-linux-gcc"
 mips.linux.gcc.linkerexe = "mips-openwrt-linux-gcc"
 
@@ -225,9 +225,13 @@ clang.options.speed = "-O3"
 clang.options.size = "-Os"
 
 # Configuration for the Visual C/C++ compiler:
-vcc.exe =     "vccexe.exe"
+# VCCEXE is a tool that invokes the Visual Studio Developer Command Prompt
+# before calling the compiler.
+# Please make sure either Visual Studio or C++ Build SKU is installed when using the vcc compiler backend.
+
+vcc.exe = "vccexe.exe"
 vcc.cpp.exe = "vccexe.exe"
-vcc.linkerexe =     "vccexe.exe"
+vcc.linkerexe = "vccexe.exe"
 vcc.cpp.linkerexe = "vccexe.exe"
 
 # set the options for specific platforms:
@@ -238,30 +242,35 @@ vcc.options.always =      "/nologo"
   vcc.options.always %= "${vcc.options.always} /Z7" # Get VCC to output full debug symbols in the obj file
 @end
 vcc.cpp.options.always %=  "${vcc.options.always} /EHsc"
-vcc.options.linker =      "/nologo /DEBUG /Zi /F33554432" # set the stack size to 32 MiB
+vcc.options.linker = "/nologo /DEBUG /Zi /F33554432" # set the stack size to 32 MiB
 vcc.cpp.options.linker %=  "${vcc.options.linker}"
 @if i386:
-vcc.options.always %=      "--platform:x86 ${vcc.options.always}"
-vcc.cpp.options.always %=  "--platform:x86 ${vcc.cpp.options.always}"
-vcc.options.linker %=      "--platform:x86 ${vcc.options.linker}"
-vcc.cpp.options.linker %=  "--platform:x86 ${vcc.cpp.options.linker}"
+  vcc.options.always = "--platform:x86 /nologo"
+  vcc.cpp.options.always = "--platform:x86 /nologo /EHsc"
+  vcc.options.linker = "--platform:x86 /nologo /DEBUG /Zi /F33554432" # set the stack size to 32 MiB
+  vcc.cpp.options.linker = "--platform:x86 /nologo /DEBUG /Zi /F33554432" # set the stack size to 32 MiB
 @elif amd64:
-vcc.options.always %=      "--platform:amd64 ${vcc.options.always}"
-vcc.cpp.options.always %=  "--platform:amd64 ${vcc.cpp.options.always}"
-vcc.options.linker %=      "--platform:amd64 ${vcc.options.linker}"
-vcc.cpp.options.linker %=  "--platform:amd64 ${vcc.cpp.options.linker}"
+  vcc.options.always = "--platform:amd64 /nologo"
+  vcc.cpp.options.always = "--platform:amd64 /nologo /EHsc"
+  vcc.options.linker = "--platform:amd64 /nologo /DEBUG /Zi /F33554432" # set the stack size to 32 MiB
+  vcc.cpp.options.linker = "--platform:amd64 /nologo /DEBUG /Zi /F33554432" # set the stack size to 32 MiB
 @elif arm:
-vcc.options.always %=      "--platform:arm ${vcc.options.always}"
-vcc.cpp.options.always %=  "--platform:arm ${vcc.cpp.options.always}"
-vcc.options.linker %=      "--platform:arm ${vcc.options.linker}"
-vcc.cpp.options.linker %=  "--platform:arm ${vcc.cpp.options.linker}"
+  vcc.options.always = "--platform:arm /nologo"
+  vcc.cpp.options.always = "--platform:arm /nologo /EHsc"
+  vcc.options.linker = "--platform:arm /nologo /DEBUG /Zi /F33554432" # set the stack size to 32 MiB
+  vcc.cpp.options.linker = "--platform:arm /nologo /DEBUG /Zi /F33554432" # set the stack size to 32 MiB
+@else:
+  vcc.options.always = "/nologo"
+  vcc.cpp.options.always = "/nologo /EHsc"
+  vcc.options.linker = "/nologo /DEBUG /Zi /F33554432" # set the stack size to 32 MiB
+  vcc.cpp.options.linker = "/nologo /DEBUG /Zi /F33554432" # set the stack size to 32 MiB
 @end
 
-vcc.options.debug =     "/Od"
-vcc.cpp.options.debug = "/Od"
-vcc.options.speed =     "/O2"
+vcc.options.debug = "/Zi /FS /Od"
+vcc.cpp.options.debug = "/Zi /FS /Od"
+vcc.options.speed = "/O2"
 vcc.cpp.options.speed = "/O2"
-vcc.options.size =     "/O1"
+vcc.options.size = "/O1"
 vcc.cpp.options.size = "/O1"
 
 # Configuration for the Tiny C Compiler:
l.com> 2014-12-26 14:05:37 +0000 Fixes official package detection in babelpkglist.' href='/ahoang/Nim/commit/web/babelpkglist.nim?h=devel&id=1dd9fbf70a06675a84a5bf7e876bfc7d06055fd1'>1dd9fbf70 ^
58e583e39 ^
58e583e39 ^


bddfe007b ^
58e583e39 ^
1dd9fbf70 ^
58e583e39 ^
58e583e39 ^











1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77