This repository has been archived by the owner on Oct 24, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 33
/
build.sh
executable file
·11291 lines (11277 loc) · 626 KB
/
build.sh
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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#! /bin/sh
# Generated from niminst
# Template is in tools/niminst/buildsh.nimf
# To regenerate run ``niminst csource`` or ``koch csource``
set -e
while :
do
case "$1" in
--os)
optos=$2
shift 2
;;
--cpu)
optcpu=$2
shift 2
;;
--osname)
optosname=$2
shift 2
;;
--extraBuildArgs)
extraBuildArgs=" $2"
shift 2
;;
--) # End of all options
shift
break;
;;
-*)
echo 2>&1 "Error: Unknown option: $1" >&2
exit 1
;;
*) # No more options
break
;;
esac
done
CC="${CC:-gcc}"
COMP_FLAGS="${CPPFLAGS:-} ${CFLAGS:-} -w -O3 -fno-strict-aliasing$extraBuildArgs"
LINK_FLAGS="${LDFLAGS:-} "
PS4=""
# platform detection
ucpu=`uname -m`
uos=`uname`
uosname=
# bin dir detection
binDir=bin
if [ -s ../koch.nim ]; then
binDir="../bin"
fi
if [ ! -d $binDir ]; then
mkdir $binDir
fi
# override OS, CPU and OS Name with command-line arguments
if [ -n "$optos" ]; then
uos="$optos"
fi
if [ -n "$optcpu" ]; then
ucpu="$optcpu"
fi
if [ -n "$optcpu" ]; then
uosname="$optosname"
fi
# convert to lower case:
ucpu=`echo $ucpu | tr "[:upper:]" "[:lower:]"`
uos=`echo $uos | tr "[:upper:]" "[:lower:]"`
uosname=`echo $uosname | tr "[:upper:]" "[:lower:]"`
case $uos in
*linux* )
myos="linux"
LINK_FLAGS="$LINK_FLAGS -ldl -lm -lrt"
;;
*dragonfly* )
myos="dragonfly"
LINK_FLAGS="$LINK_FLAGS -lm"
;;
*freebsd* )
myos="freebsd"
CC="clang"
LINK_FLAGS="$LINK_FLAGS -lm"
;;
*openbsd* )
myos="openbsd"
LINK_FLAGS="$LINK_FLAGS -lm"
;;
*netbsd* )
myos="netbsd"
LINK_FLAGS="$LINK_FLAGS -lm"
;;
*darwin* )
myos="macosx"
CC="clang"
LINK_FLAGS="$LINK_FLAGS -ldl -lm"
if [ "$HOSTTYPE" = "x86_64" ] ; then
ucpu="amd64"
fi
;;
*aix* )
myos="aix"
LINK_FLAGS="$LINK_FLAGS -ldl -lm"
;;
*solaris* | *sun* )
myos="solaris"
LINK_FLAGS="$LINK_FLAGS -ldl -lm -lsocket -lnsl"
;;
*haiku* )
myos="haiku"
LINK_FLAGS="$LINK_FLAGS -lroot -lnetwork"
;;
*mingw* | *msys* )
myos="windows"
;;
*android* )
myos="android"
LINK_FLAGS="$LINK_FLAGS -ldl -lm -lrt"
LINK_FLAGS="$LINK_FLAGS -landroid-glob"
;;
*)
echo 2>&1 "Error: unknown operating system: $uos"
exit 1
;;
esac
case $ucpu in
*i386* | *i486* | *i586* | *i686* | *bepc* | *i86pc* )
mycpu="i386" ;;
*amd*64* | *x86-64* | *x86_64* )
mycpu="amd64" ;;
*sparc*|*sun* )
mycpu="sparc"
if [ "$myos" = "linux" ] ; then
if [ "$(getconf LONG_BIT)" = "64" ]; then
mycpu="sparc64"
elif [ "$(isainfo -b)" = "64" ]; then
mycpu="sparc64"
fi
fi
;;
*ppc64le* )
mycpu="powerpc64el" ;;
*ppc64* )
if [ "$myos" = "linux" ] ; then
COMP_FLAGS="$COMP_FLAGS -m64"
LINK_FLAGS="$LINK_FLAGS -m64"
fi
mycpu="powerpc64" ;;
*power*|*ppc* )
mycpu="powerpc" ;;
*m68k*)
mycpu="m68k" ;;
*mips* )
mycpu="$("$CC" -dumpmachine | sed 's/-.*//')"
case $mycpu in
mips|mipsel|mips64|mips64el)
;;
*)
echo 2>&1 "Error: unknown MIPS target: $mycpu"
exit 1
esac
;;
*alpha* )
mycpu="alpha" ;;
*arm*|*armv6l*|*armv71* )
mycpu="arm" ;;
*aarch64* )
mycpu="arm64" ;;
*riscv64* )
mycpu="riscv64" ;;
*)
echo 2>&1 "Error: unknown processor: $ucpu"
exit 1
;;
esac
case $uosname in
*android* )
LINK_FLAGS="$LINK_FLAGS -landroid-glob"
myosname="android"
myos="android"
;;
esac
# call the compiler:
echo \# OS: $myos
echo \# CPU: $mycpu
case $myos in
windows)
case $mycpu in
i386)
set -x
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/stdlib_assertions.nim.c -o c_code/1_1/stdlib_assertions.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/stdlib_dollars.nim.c -o c_code/1_1/stdlib_dollars.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/stdlib_widestrs.nim.c -o c_code/1_1/stdlib_widestrs.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/stdlib_io.nim.c -o c_code/1_1/stdlib_io.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/stdlib_system.nim.c -o c_code/1_1/stdlib_system.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/stdlib_parseutils.nim.c -o c_code/1_1/stdlib_parseutils.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/stdlib_math.nim.c -o c_code/1_1/stdlib_math.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/stdlib_algorithm.nim.c -o c_code/1_1/stdlib_algorithm.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/stdlib_unicode.nim.c -o c_code/1_1/stdlib_unicode.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/stdlib_strutils.nim.c -o c_code/1_1/stdlib_strutils.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/stdlib_pathnorm.nim.c -o c_code/1_1/stdlib_pathnorm.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/stdlib_dynlib.nim.c -o c_code/1_1/stdlib_dynlib.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/stdlib_winlean.nim.c -o c_code/1_1/stdlib_winlean.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/stdlib_times.nim.c -o c_code/1_1/stdlib_times.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/stdlib_os.nim.c -o c_code/1_1/stdlib_os.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/stdlib_hashes.nim.c -o c_code/1_1/stdlib_hashes.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/stdlib_strtabs.nim.c -o c_code/1_1/stdlib_strtabs.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/stdlib_streams.nim.c -o c_code/1_1/stdlib_streams.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/stdlib_cpuinfo.nim.c -o c_code/1_1/stdlib_cpuinfo.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/stdlib_osproc.nim.c -o c_code/1_1/stdlib_osproc.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/stdlib_sets.nim.c -o c_code/1_1/stdlib_sets.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/pathutils.nim.c -o c_code/1_1/pathutils.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/ropes.nim.c -o c_code/1_1/ropes.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/stdlib_tables.nim.c -o c_code/1_1/stdlib_tables.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/lineinfos.nim.c -o c_code/1_1/lineinfos.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/platform.nim.c -o c_code/1_1/platform.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/prefixmatches.nim.c -o c_code/1_1/prefixmatches.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/stdlib_terminal.nim.c -o c_code/1_1/stdlib_terminal.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/options.nim.c -o c_code/1_1/options.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/msgs.nim.c -o c_code/1_1/msgs.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/wordrecg.nim.c -o c_code/1_1/wordrecg.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/idents.nim.c -o c_code/1_1/idents.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/condsyms.nim.c -o c_code/1_1/condsyms.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/stdlib_sha1.nim.c -o c_code/1_1/stdlib_sha1.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/stdlib_lexbase.nim.c -o c_code/1_1/stdlib_lexbase.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/stdlib_parsejson.nim.c -o c_code/1_1/stdlib_parsejson.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/stdlib_json.nim.c -o c_code/1_1/stdlib_json.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/extccomp.nim.c -o c_code/1_1/extccomp.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/nimblecmd.nim.c -o c_code/1_1/nimblecmd.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/stdlib_parseopt.nim.c -o c_code/1_1/stdlib_parseopt.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/commands.nim.c -o c_code/1_1/commands.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/llstream.nim.c -o c_code/1_1/llstream.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/nimlexbase.nim.c -o c_code/1_1/nimlexbase.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/lexer.nim.c -o c_code/1_1/lexer.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/nimconf.nim.c -o c_code/1_1/nimconf.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/stdlib_intsets.nim.c -o c_code/1_1/stdlib_intsets.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/idgen.nim.c -o c_code/1_1/idgen.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/ast.nim.c -o c_code/1_1/ast.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/rodutils.nim.c -o c_code/1_1/rodutils.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/astalgo.nim.c -o c_code/1_1/astalgo.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/parser.nim.c -o c_code/1_1/parser.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/renderer.nim.c -o c_code/1_1/renderer.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/filters.nim.c -o c_code/1_1/filters.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/filter__tmpl.nim.c -o c_code/1_1/filter__tmpl.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/syntaxes.nim.c -o c_code/1_1/syntaxes.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/trees.nim.c -o c_code/1_1/trees.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/types.nim.c -o c_code/1_1/types.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/treetab.nim.c -o c_code/1_1/treetab.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/incremental.nim.c -o c_code/1_1/incremental.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/btrees.nim.c -o c_code/1_1/btrees.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/stdlib_md5.nim.c -o c_code/1_1/stdlib_md5.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/modulegraphs.nim.c -o c_code/1_1/modulegraphs.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/magicsys.nim.c -o c_code/1_1/magicsys.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/bitsets.nim.c -o c_code/1_1/bitsets.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/nimsets.nim.c -o c_code/1_1/nimsets.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/semfold.nim.c -o c_code/1_1/semfold.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/modulepaths.nim.c -o c_code/1_1/modulepaths.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/reorder.nim.c -o c_code/1_1/reorder.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/passes.nim.c -o c_code/1_1/passes.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/vmdef.nim.c -o c_code/1_1/vmdef.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/semdata.nim.c -o c_code/1_1/semdata.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/linter.nim.c -o c_code/1_1/linter.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/nimfix7prettybase.nim.c -o c_code/1_1/nimfix7prettybase.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/lookups.nim.c -o c_code/1_1/lookups.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/semtypinst.nim.c -o c_code/1_1/semtypinst.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/parampatterns.nim.c -o c_code/1_1/parampatterns.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/lowerings.nim.c -o c_code/1_1/lowerings.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/_7lib7packages7docutils7rstast.nim.c -o c_code/1_1/_7lib7packages7docutils7rstast.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/_7lib7packages7docutils7rst.nim.c -o c_code/1_1/_7lib7packages7docutils7rst.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/_7lib7packages7docutils7highlite.nim.c -o c_code/1_1/_7lib7packages7docutils7highlite.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/_7lib7packages7docutils7rstgen.nim.c -o c_code/1_1/_7lib7packages7docutils7rstgen.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/stdlib_xmltree.nim.c -o c_code/1_1/stdlib_xmltree.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/stdlib_uri.nim.c -o c_code/1_1/stdlib_uri.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/stdlib_cgi.nim.c -o c_code/1_1/stdlib_cgi.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/typesrenderer.nim.c -o c_code/1_1/typesrenderer.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/docgen.nim.c -o c_code/1_1/docgen.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/sigmatch.nim.c -o c_code/1_1/sigmatch.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/importer.nim.c -o c_code/1_1/importer.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/procfind.nim.c -o c_code/1_1/procfind.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/pragmas.nim.c -o c_code/1_1/pragmas.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/saturate.nim.c -o c_code/1_1/saturate.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/guards.nim.c -o c_code/1_1/guards.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/sighashes.nim.c -o c_code/1_1/sighashes.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/sempass2.nim.c -o c_code/1_1/sempass2.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/cgmeth.nim.c -o c_code/1_1/cgmeth.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/aliases.nim.c -o c_code/1_1/aliases.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/patterns.nim.c -o c_code/1_1/patterns.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/dfa.nim.c -o c_code/1_1/dfa.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/injectdestructors.nim.c -o c_code/1_1/injectdestructors.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/liftlocals.nim.c -o c_code/1_1/liftlocals.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/lambdalifting.nim.c -o c_code/1_1/lambdalifting.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/closureiters.nim.c -o c_code/1_1/closureiters.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/transf.nim.c -o c_code/1_1/transf.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/vmgen.nim.c -o c_code/1_1/vmgen.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/vmdeps.nim.c -o c_code/1_1/vmdeps.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/vmmarshal.nim.c -o c_code/1_1/vmmarshal.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/gorgeimpl.nim.c -o c_code/1_1/gorgeimpl.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/macrocacheimpl.nim.c -o c_code/1_1/macrocacheimpl.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/evaltempl.nim.c -o c_code/1_1/evaltempl.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/vm.nim.c -o c_code/1_1/vm.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/semmacrosanity.nim.c -o c_code/1_1/semmacrosanity.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/pluginsupport.nim.c -o c_code/1_1/pluginsupport.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/plugins7locals.nim.c -o c_code/1_1/plugins7locals.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/plugins7itersgen.nim.c -o c_code/1_1/plugins7itersgen.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/plugins7active.nim.c -o c_code/1_1/plugins7active.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/semparallel.nim.c -o c_code/1_1/semparallel.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/sem.nim.c -o c_code/1_1/sem.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/ccgutils.nim.c -o c_code/1_1/ccgutils.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/ndi.nim.c -o c_code/1_1/ndi.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/cgendata.nim.c -o c_code/1_1/cgendata.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/ccgmerge.nim.c -o c_code/1_1/ccgmerge.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/enumtostr.nim.c -o c_code/1_1/enumtostr.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/cgen.nim.c -o c_code/1_1/cgen.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/passaux.nim.c -o c_code/1_1/passaux.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/depends.nim.c -o c_code/1_1/depends.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/modules.nim.c -o c_code/1_1/modules.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/jsgen.nim.c -o c_code/1_1/jsgen.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/docgen2.nim.c -o c_code/1_1/docgen2.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/main.nim.c -o c_code/1_1/main.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/scriptconfig.nim.c -o c_code/1_1/scriptconfig.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/cmdlinehelper.nim.c -o c_code/1_1/cmdlinehelper.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/nim.nim.c -o c_code/1_1/nim.nim.o
$CC -o $binDir/nim \
c_code/1_1/stdlib_assertions.nim.o \
c_code/1_1/stdlib_dollars.nim.o \
c_code/1_1/stdlib_widestrs.nim.o \
c_code/1_1/stdlib_io.nim.o \
c_code/1_1/stdlib_system.nim.o \
c_code/1_1/stdlib_parseutils.nim.o \
c_code/1_1/stdlib_math.nim.o \
c_code/1_1/stdlib_algorithm.nim.o \
c_code/1_1/stdlib_unicode.nim.o \
c_code/1_1/stdlib_strutils.nim.o \
c_code/1_1/stdlib_pathnorm.nim.o \
c_code/1_1/stdlib_dynlib.nim.o \
c_code/1_1/stdlib_winlean.nim.o \
c_code/1_1/stdlib_times.nim.o \
c_code/1_1/stdlib_os.nim.o \
c_code/1_1/stdlib_hashes.nim.o \
c_code/1_1/stdlib_strtabs.nim.o \
c_code/1_1/stdlib_streams.nim.o \
c_code/1_1/stdlib_cpuinfo.nim.o \
c_code/1_1/stdlib_osproc.nim.o \
c_code/1_1/stdlib_sets.nim.o \
c_code/1_1/pathutils.nim.o \
c_code/1_1/ropes.nim.o \
c_code/1_1/stdlib_tables.nim.o \
c_code/1_1/lineinfos.nim.o \
c_code/1_1/platform.nim.o \
c_code/1_1/prefixmatches.nim.o \
c_code/1_1/stdlib_terminal.nim.o \
c_code/1_1/options.nim.o \
c_code/1_1/msgs.nim.o \
c_code/1_1/wordrecg.nim.o \
c_code/1_1/idents.nim.o \
c_code/1_1/condsyms.nim.o \
c_code/1_1/stdlib_sha1.nim.o \
c_code/1_1/stdlib_lexbase.nim.o \
c_code/1_1/stdlib_parsejson.nim.o \
c_code/1_1/stdlib_json.nim.o \
c_code/1_1/extccomp.nim.o \
c_code/1_1/nimblecmd.nim.o \
c_code/1_1/stdlib_parseopt.nim.o \
c_code/1_1/commands.nim.o \
c_code/1_1/llstream.nim.o \
c_code/1_1/nimlexbase.nim.o \
c_code/1_1/lexer.nim.o \
c_code/1_1/nimconf.nim.o \
c_code/1_1/stdlib_intsets.nim.o \
c_code/1_1/idgen.nim.o \
c_code/1_1/ast.nim.o \
c_code/1_1/rodutils.nim.o \
c_code/1_1/astalgo.nim.o \
c_code/1_1/parser.nim.o \
c_code/1_1/renderer.nim.o \
c_code/1_1/filters.nim.o \
c_code/1_1/filter__tmpl.nim.o \
c_code/1_1/syntaxes.nim.o \
c_code/1_1/trees.nim.o \
c_code/1_1/types.nim.o \
c_code/1_1/treetab.nim.o \
c_code/1_1/incremental.nim.o \
c_code/1_1/btrees.nim.o \
c_code/1_1/stdlib_md5.nim.o \
c_code/1_1/modulegraphs.nim.o \
c_code/1_1/magicsys.nim.o \
c_code/1_1/bitsets.nim.o \
c_code/1_1/nimsets.nim.o \
c_code/1_1/semfold.nim.o \
c_code/1_1/modulepaths.nim.o \
c_code/1_1/reorder.nim.o \
c_code/1_1/passes.nim.o \
c_code/1_1/vmdef.nim.o \
c_code/1_1/semdata.nim.o \
c_code/1_1/linter.nim.o \
c_code/1_1/nimfix7prettybase.nim.o \
c_code/1_1/lookups.nim.o \
c_code/1_1/semtypinst.nim.o \
c_code/1_1/parampatterns.nim.o \
c_code/1_1/lowerings.nim.o \
c_code/1_1/_7lib7packages7docutils7rstast.nim.o \
c_code/1_1/_7lib7packages7docutils7rst.nim.o \
c_code/1_1/_7lib7packages7docutils7highlite.nim.o \
c_code/1_1/_7lib7packages7docutils7rstgen.nim.o \
c_code/1_1/stdlib_xmltree.nim.o \
c_code/1_1/stdlib_uri.nim.o \
c_code/1_1/stdlib_cgi.nim.o \
c_code/1_1/typesrenderer.nim.o \
c_code/1_1/docgen.nim.o \
c_code/1_1/sigmatch.nim.o \
c_code/1_1/importer.nim.o \
c_code/1_1/procfind.nim.o \
c_code/1_1/pragmas.nim.o \
c_code/1_1/saturate.nim.o \
c_code/1_1/guards.nim.o \
c_code/1_1/sighashes.nim.o \
c_code/1_1/sempass2.nim.o \
c_code/1_1/cgmeth.nim.o \
c_code/1_1/aliases.nim.o \
c_code/1_1/patterns.nim.o \
c_code/1_1/dfa.nim.o \
c_code/1_1/injectdestructors.nim.o \
c_code/1_1/liftlocals.nim.o \
c_code/1_1/lambdalifting.nim.o \
c_code/1_1/closureiters.nim.o \
c_code/1_1/transf.nim.o \
c_code/1_1/vmgen.nim.o \
c_code/1_1/vmdeps.nim.o \
c_code/1_1/vmmarshal.nim.o \
c_code/1_1/gorgeimpl.nim.o \
c_code/1_1/macrocacheimpl.nim.o \
c_code/1_1/evaltempl.nim.o \
c_code/1_1/vm.nim.o \
c_code/1_1/semmacrosanity.nim.o \
c_code/1_1/pluginsupport.nim.o \
c_code/1_1/plugins7locals.nim.o \
c_code/1_1/plugins7itersgen.nim.o \
c_code/1_1/plugins7active.nim.o \
c_code/1_1/semparallel.nim.o \
c_code/1_1/sem.nim.o \
c_code/1_1/ccgutils.nim.o \
c_code/1_1/ndi.nim.o \
c_code/1_1/cgendata.nim.o \
c_code/1_1/ccgmerge.nim.o \
c_code/1_1/enumtostr.nim.o \
c_code/1_1/cgen.nim.o \
c_code/1_1/passaux.nim.o \
c_code/1_1/depends.nim.o \
c_code/1_1/modules.nim.o \
c_code/1_1/jsgen.nim.o \
c_code/1_1/docgen2.nim.o \
c_code/1_1/main.nim.o \
c_code/1_1/scriptconfig.nim.o \
c_code/1_1/cmdlinehelper.nim.o \
c_code/1_1/nim.nim.o $LINK_FLAGS
;;
amd64)
set -x
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/stdlib_assertions.nim.c -o c_code/1_2/stdlib_assertions.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/stdlib_dollars.nim.c -o c_code/1_2/stdlib_dollars.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/stdlib_widestrs.nim.c -o c_code/1_2/stdlib_widestrs.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/stdlib_io.nim.c -o c_code/1_2/stdlib_io.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/stdlib_system.nim.c -o c_code/1_2/stdlib_system.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/stdlib_parseutils.nim.c -o c_code/1_2/stdlib_parseutils.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/stdlib_math.nim.c -o c_code/1_2/stdlib_math.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/stdlib_algorithm.nim.c -o c_code/1_2/stdlib_algorithm.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/stdlib_unicode.nim.c -o c_code/1_2/stdlib_unicode.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/stdlib_strutils.nim.c -o c_code/1_2/stdlib_strutils.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/stdlib_pathnorm.nim.c -o c_code/1_2/stdlib_pathnorm.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/stdlib_dynlib.nim.c -o c_code/1_2/stdlib_dynlib.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/stdlib_winlean.nim.c -o c_code/1_2/stdlib_winlean.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/stdlib_times.nim.c -o c_code/1_2/stdlib_times.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/stdlib_os.nim.c -o c_code/1_2/stdlib_os.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/stdlib_hashes.nim.c -o c_code/1_2/stdlib_hashes.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/stdlib_strtabs.nim.c -o c_code/1_2/stdlib_strtabs.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/stdlib_streams.nim.c -o c_code/1_2/stdlib_streams.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/stdlib_cpuinfo.nim.c -o c_code/1_2/stdlib_cpuinfo.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/stdlib_osproc.nim.c -o c_code/1_2/stdlib_osproc.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/stdlib_sets.nim.c -o c_code/1_2/stdlib_sets.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/pathutils.nim.c -o c_code/1_2/pathutils.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/ropes.nim.c -o c_code/1_2/ropes.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/stdlib_tables.nim.c -o c_code/1_2/stdlib_tables.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/lineinfos.nim.c -o c_code/1_2/lineinfos.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/platform.nim.c -o c_code/1_2/platform.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/prefixmatches.nim.c -o c_code/1_2/prefixmatches.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/stdlib_terminal.nim.c -o c_code/1_2/stdlib_terminal.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/options.nim.c -o c_code/1_2/options.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/msgs.nim.c -o c_code/1_2/msgs.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/wordrecg.nim.c -o c_code/1_2/wordrecg.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/idents.nim.c -o c_code/1_2/idents.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/condsyms.nim.c -o c_code/1_2/condsyms.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/stdlib_sha1.nim.c -o c_code/1_2/stdlib_sha1.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/stdlib_lexbase.nim.c -o c_code/1_2/stdlib_lexbase.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/stdlib_parsejson.nim.c -o c_code/1_2/stdlib_parsejson.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/stdlib_json.nim.c -o c_code/1_2/stdlib_json.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/extccomp.nim.c -o c_code/1_2/extccomp.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/nimblecmd.nim.c -o c_code/1_2/nimblecmd.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/stdlib_parseopt.nim.c -o c_code/1_2/stdlib_parseopt.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/commands.nim.c -o c_code/1_2/commands.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/llstream.nim.c -o c_code/1_2/llstream.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/nimlexbase.nim.c -o c_code/1_2/nimlexbase.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/lexer.nim.c -o c_code/1_2/lexer.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/nimconf.nim.c -o c_code/1_2/nimconf.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/stdlib_intsets.nim.c -o c_code/1_2/stdlib_intsets.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/idgen.nim.c -o c_code/1_2/idgen.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/ast.nim.c -o c_code/1_2/ast.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/rodutils.nim.c -o c_code/1_2/rodutils.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/astalgo.nim.c -o c_code/1_2/astalgo.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/parser.nim.c -o c_code/1_2/parser.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/renderer.nim.c -o c_code/1_2/renderer.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/filters.nim.c -o c_code/1_2/filters.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/filter__tmpl.nim.c -o c_code/1_2/filter__tmpl.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/syntaxes.nim.c -o c_code/1_2/syntaxes.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/trees.nim.c -o c_code/1_2/trees.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/types.nim.c -o c_code/1_2/types.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/treetab.nim.c -o c_code/1_2/treetab.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/incremental.nim.c -o c_code/1_2/incremental.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/btrees.nim.c -o c_code/1_2/btrees.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/stdlib_md5.nim.c -o c_code/1_2/stdlib_md5.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/modulegraphs.nim.c -o c_code/1_2/modulegraphs.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/magicsys.nim.c -o c_code/1_2/magicsys.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/bitsets.nim.c -o c_code/1_2/bitsets.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/nimsets.nim.c -o c_code/1_2/nimsets.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/semfold.nim.c -o c_code/1_2/semfold.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/modulepaths.nim.c -o c_code/1_2/modulepaths.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/reorder.nim.c -o c_code/1_2/reorder.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/passes.nim.c -o c_code/1_2/passes.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/vmdef.nim.c -o c_code/1_2/vmdef.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/semdata.nim.c -o c_code/1_2/semdata.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/linter.nim.c -o c_code/1_2/linter.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/nimfix7prettybase.nim.c -o c_code/1_2/nimfix7prettybase.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/lookups.nim.c -o c_code/1_2/lookups.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/semtypinst.nim.c -o c_code/1_2/semtypinst.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/parampatterns.nim.c -o c_code/1_2/parampatterns.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/lowerings.nim.c -o c_code/1_2/lowerings.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/_7lib7packages7docutils7rstast.nim.c -o c_code/1_2/_7lib7packages7docutils7rstast.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/_7lib7packages7docutils7rst.nim.c -o c_code/1_2/_7lib7packages7docutils7rst.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/_7lib7packages7docutils7highlite.nim.c -o c_code/1_2/_7lib7packages7docutils7highlite.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/_7lib7packages7docutils7rstgen.nim.c -o c_code/1_2/_7lib7packages7docutils7rstgen.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/stdlib_xmltree.nim.c -o c_code/1_2/stdlib_xmltree.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/stdlib_uri.nim.c -o c_code/1_2/stdlib_uri.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/stdlib_cgi.nim.c -o c_code/1_2/stdlib_cgi.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/typesrenderer.nim.c -o c_code/1_2/typesrenderer.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/docgen.nim.c -o c_code/1_2/docgen.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/sigmatch.nim.c -o c_code/1_2/sigmatch.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/importer.nim.c -o c_code/1_2/importer.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/procfind.nim.c -o c_code/1_2/procfind.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/pragmas.nim.c -o c_code/1_2/pragmas.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/saturate.nim.c -o c_code/1_2/saturate.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/guards.nim.c -o c_code/1_2/guards.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/sighashes.nim.c -o c_code/1_2/sighashes.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/sempass2.nim.c -o c_code/1_2/sempass2.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/cgmeth.nim.c -o c_code/1_2/cgmeth.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/aliases.nim.c -o c_code/1_2/aliases.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/patterns.nim.c -o c_code/1_2/patterns.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/dfa.nim.c -o c_code/1_2/dfa.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/injectdestructors.nim.c -o c_code/1_2/injectdestructors.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/liftlocals.nim.c -o c_code/1_2/liftlocals.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/lambdalifting.nim.c -o c_code/1_2/lambdalifting.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/closureiters.nim.c -o c_code/1_2/closureiters.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/transf.nim.c -o c_code/1_2/transf.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/vmgen.nim.c -o c_code/1_2/vmgen.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/vmdeps.nim.c -o c_code/1_2/vmdeps.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/vmmarshal.nim.c -o c_code/1_2/vmmarshal.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/gorgeimpl.nim.c -o c_code/1_2/gorgeimpl.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/macrocacheimpl.nim.c -o c_code/1_2/macrocacheimpl.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/evaltempl.nim.c -o c_code/1_2/evaltempl.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/vm.nim.c -o c_code/1_2/vm.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/semmacrosanity.nim.c -o c_code/1_2/semmacrosanity.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/pluginsupport.nim.c -o c_code/1_2/pluginsupport.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/plugins7locals.nim.c -o c_code/1_2/plugins7locals.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/plugins7itersgen.nim.c -o c_code/1_2/plugins7itersgen.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/plugins7active.nim.c -o c_code/1_2/plugins7active.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/semparallel.nim.c -o c_code/1_2/semparallel.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/sem.nim.c -o c_code/1_2/sem.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/ccgutils.nim.c -o c_code/1_2/ccgutils.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/ndi.nim.c -o c_code/1_2/ndi.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/cgendata.nim.c -o c_code/1_2/cgendata.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/ccgmerge.nim.c -o c_code/1_2/ccgmerge.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/enumtostr.nim.c -o c_code/1_2/enumtostr.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/cgen.nim.c -o c_code/1_2/cgen.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/passaux.nim.c -o c_code/1_2/passaux.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/depends.nim.c -o c_code/1_2/depends.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/modules.nim.c -o c_code/1_2/modules.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/jsgen.nim.c -o c_code/1_2/jsgen.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/docgen2.nim.c -o c_code/1_2/docgen2.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/main.nim.c -o c_code/1_2/main.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/scriptconfig.nim.c -o c_code/1_2/scriptconfig.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/cmdlinehelper.nim.c -o c_code/1_2/cmdlinehelper.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_2/nim.nim.c -o c_code/1_2/nim.nim.o
$CC -o $binDir/nim \
c_code/1_2/stdlib_assertions.nim.o \
c_code/1_2/stdlib_dollars.nim.o \
c_code/1_2/stdlib_widestrs.nim.o \
c_code/1_2/stdlib_io.nim.o \
c_code/1_2/stdlib_system.nim.o \
c_code/1_2/stdlib_parseutils.nim.o \
c_code/1_2/stdlib_math.nim.o \
c_code/1_2/stdlib_algorithm.nim.o \
c_code/1_2/stdlib_unicode.nim.o \
c_code/1_2/stdlib_strutils.nim.o \
c_code/1_2/stdlib_pathnorm.nim.o \
c_code/1_2/stdlib_dynlib.nim.o \
c_code/1_2/stdlib_winlean.nim.o \
c_code/1_2/stdlib_times.nim.o \
c_code/1_2/stdlib_os.nim.o \
c_code/1_2/stdlib_hashes.nim.o \
c_code/1_2/stdlib_strtabs.nim.o \
c_code/1_2/stdlib_streams.nim.o \
c_code/1_2/stdlib_cpuinfo.nim.o \
c_code/1_2/stdlib_osproc.nim.o \
c_code/1_2/stdlib_sets.nim.o \
c_code/1_2/pathutils.nim.o \
c_code/1_2/ropes.nim.o \
c_code/1_2/stdlib_tables.nim.o \
c_code/1_2/lineinfos.nim.o \
c_code/1_2/platform.nim.o \
c_code/1_2/prefixmatches.nim.o \
c_code/1_2/stdlib_terminal.nim.o \
c_code/1_2/options.nim.o \
c_code/1_2/msgs.nim.o \
c_code/1_2/wordrecg.nim.o \
c_code/1_2/idents.nim.o \
c_code/1_2/condsyms.nim.o \
c_code/1_2/stdlib_sha1.nim.o \
c_code/1_2/stdlib_lexbase.nim.o \
c_code/1_2/stdlib_parsejson.nim.o \
c_code/1_2/stdlib_json.nim.o \
c_code/1_2/extccomp.nim.o \
c_code/1_2/nimblecmd.nim.o \
c_code/1_2/stdlib_parseopt.nim.o \
c_code/1_2/commands.nim.o \
c_code/1_2/llstream.nim.o \
c_code/1_2/nimlexbase.nim.o \
c_code/1_2/lexer.nim.o \
c_code/1_2/nimconf.nim.o \
c_code/1_2/stdlib_intsets.nim.o \
c_code/1_2/idgen.nim.o \
c_code/1_2/ast.nim.o \
c_code/1_2/rodutils.nim.o \
c_code/1_2/astalgo.nim.o \
c_code/1_2/parser.nim.o \
c_code/1_2/renderer.nim.o \
c_code/1_2/filters.nim.o \
c_code/1_2/filter__tmpl.nim.o \
c_code/1_2/syntaxes.nim.o \
c_code/1_2/trees.nim.o \
c_code/1_2/types.nim.o \
c_code/1_2/treetab.nim.o \
c_code/1_2/incremental.nim.o \
c_code/1_2/btrees.nim.o \
c_code/1_2/stdlib_md5.nim.o \
c_code/1_2/modulegraphs.nim.o \
c_code/1_2/magicsys.nim.o \
c_code/1_2/bitsets.nim.o \
c_code/1_2/nimsets.nim.o \
c_code/1_2/semfold.nim.o \
c_code/1_2/modulepaths.nim.o \
c_code/1_2/reorder.nim.o \
c_code/1_2/passes.nim.o \
c_code/1_2/vmdef.nim.o \
c_code/1_2/semdata.nim.o \
c_code/1_2/linter.nim.o \
c_code/1_2/nimfix7prettybase.nim.o \
c_code/1_2/lookups.nim.o \
c_code/1_2/semtypinst.nim.o \
c_code/1_2/parampatterns.nim.o \
c_code/1_2/lowerings.nim.o \
c_code/1_2/_7lib7packages7docutils7rstast.nim.o \
c_code/1_2/_7lib7packages7docutils7rst.nim.o \
c_code/1_2/_7lib7packages7docutils7highlite.nim.o \
c_code/1_2/_7lib7packages7docutils7rstgen.nim.o \
c_code/1_2/stdlib_xmltree.nim.o \
c_code/1_2/stdlib_uri.nim.o \
c_code/1_2/stdlib_cgi.nim.o \
c_code/1_2/typesrenderer.nim.o \
c_code/1_2/docgen.nim.o \
c_code/1_2/sigmatch.nim.o \
c_code/1_2/importer.nim.o \
c_code/1_2/procfind.nim.o \
c_code/1_2/pragmas.nim.o \
c_code/1_2/saturate.nim.o \
c_code/1_2/guards.nim.o \
c_code/1_2/sighashes.nim.o \
c_code/1_2/sempass2.nim.o \
c_code/1_2/cgmeth.nim.o \
c_code/1_2/aliases.nim.o \
c_code/1_2/patterns.nim.o \
c_code/1_2/dfa.nim.o \
c_code/1_2/injectdestructors.nim.o \
c_code/1_2/liftlocals.nim.o \
c_code/1_2/lambdalifting.nim.o \
c_code/1_2/closureiters.nim.o \
c_code/1_2/transf.nim.o \
c_code/1_2/vmgen.nim.o \
c_code/1_2/vmdeps.nim.o \
c_code/1_2/vmmarshal.nim.o \
c_code/1_2/gorgeimpl.nim.o \
c_code/1_2/macrocacheimpl.nim.o \
c_code/1_2/evaltempl.nim.o \
c_code/1_2/vm.nim.o \
c_code/1_2/semmacrosanity.nim.o \
c_code/1_2/pluginsupport.nim.o \
c_code/1_2/plugins7locals.nim.o \
c_code/1_2/plugins7itersgen.nim.o \
c_code/1_2/plugins7active.nim.o \
c_code/1_2/semparallel.nim.o \
c_code/1_2/sem.nim.o \
c_code/1_2/ccgutils.nim.o \
c_code/1_2/ndi.nim.o \
c_code/1_2/cgendata.nim.o \
c_code/1_2/ccgmerge.nim.o \
c_code/1_2/enumtostr.nim.o \
c_code/1_2/cgen.nim.o \
c_code/1_2/passaux.nim.o \
c_code/1_2/depends.nim.o \
c_code/1_2/modules.nim.o \
c_code/1_2/jsgen.nim.o \
c_code/1_2/docgen2.nim.o \
c_code/1_2/main.nim.o \
c_code/1_2/scriptconfig.nim.o \
c_code/1_2/cmdlinehelper.nim.o \
c_code/1_2/nim.nim.o $LINK_FLAGS
;;
alpha)
set -x
$CC -o $binDir/nim $LINK_FLAGS
;;
powerpc64)
set -x
$CC -o $binDir/nim $LINK_FLAGS
;;
arm)
set -x
$CC -o $binDir/nim $LINK_FLAGS
;;
sparc)
set -x
$CC -o $binDir/nim $LINK_FLAGS
;;
sparc64)
set -x
$CC -o $binDir/nim $LINK_FLAGS
;;
m68k)
set -x
$CC -o $binDir/nim $LINK_FLAGS
;;
mips)
set -x
$CC -o $binDir/nim $LINK_FLAGS
;;
mipsel)
set -x
$CC -o $binDir/nim $LINK_FLAGS
;;
mips64)
set -x
$CC -o $binDir/nim $LINK_FLAGS
;;
mips64el)
set -x
$CC -o $binDir/nim $LINK_FLAGS
;;
powerpc)
set -x
$CC -o $binDir/nim $LINK_FLAGS
;;
powerpc64el)
set -x
$CC -o $binDir/nim $LINK_FLAGS
;;
arm64)
set -x
$CC -o $binDir/nim $LINK_FLAGS
;;
riscv64)
set -x
$CC -o $binDir/nim $LINK_FLAGS
;;
*)
echo 2>&1 "Error: no C code generated for: [$myos: $mycpu]"
exit 1
;;
esac
;;
linux)
case $mycpu in
i386)
set -x
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/stdlib_assertions.nim.c -o c_code/1_1/stdlib_assertions.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/stdlib_dollars.nim.c -o c_code/1_1/stdlib_dollars.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/2_1/stdlib_io.nim.c -o c_code/2_1/stdlib_io.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/2_1/stdlib_system.nim.c -o c_code/2_1/stdlib_system.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/2_1/stdlib_parseutils.nim.c -o c_code/2_1/stdlib_parseutils.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/2_1/stdlib_math.nim.c -o c_code/2_1/stdlib_math.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/stdlib_algorithm.nim.c -o c_code/1_1/stdlib_algorithm.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/2_1/stdlib_unicode.nim.c -o c_code/2_1/stdlib_unicode.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/2_1/stdlib_strutils.nim.c -o c_code/2_1/stdlib_strutils.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/2_1/stdlib_pathnorm.nim.c -o c_code/2_1/stdlib_pathnorm.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/2_1/stdlib_posix.nim.c -o c_code/2_1/stdlib_posix.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/2_1/stdlib_times.nim.c -o c_code/2_1/stdlib_times.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/2_1/stdlib_os.nim.c -o c_code/2_1/stdlib_os.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/stdlib_hashes.nim.c -o c_code/1_1/stdlib_hashes.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/stdlib_strtabs.nim.c -o c_code/1_1/stdlib_strtabs.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/2_1/stdlib_streams.nim.c -o c_code/2_1/stdlib_streams.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/2_1/stdlib_cpuinfo.nim.c -o c_code/2_1/stdlib_cpuinfo.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/2_1/stdlib_osproc.nim.c -o c_code/2_1/stdlib_osproc.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/stdlib_sets.nim.c -o c_code/1_1/stdlib_sets.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/2_1/pathutils.nim.c -o c_code/2_1/pathutils.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/ropes.nim.c -o c_code/1_1/ropes.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/stdlib_tables.nim.c -o c_code/1_1/stdlib_tables.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/lineinfos.nim.c -o c_code/1_1/lineinfos.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/2_1/platform.nim.c -o c_code/2_1/platform.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/prefixmatches.nim.c -o c_code/1_1/prefixmatches.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/2_1/stdlib_strformat.nim.c -o c_code/2_1/stdlib_strformat.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/2_1/stdlib_terminal.nim.c -o c_code/2_1/stdlib_terminal.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/2_1/options.nim.c -o c_code/2_1/options.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/2_1/msgs.nim.c -o c_code/2_1/msgs.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/wordrecg.nim.c -o c_code/1_1/wordrecg.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/idents.nim.c -o c_code/1_1/idents.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/condsyms.nim.c -o c_code/1_1/condsyms.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/stdlib_sha1.nim.c -o c_code/1_1/stdlib_sha1.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/2_1/stdlib_lexbase.nim.c -o c_code/2_1/stdlib_lexbase.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/stdlib_parsejson.nim.c -o c_code/1_1/stdlib_parsejson.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/stdlib_json.nim.c -o c_code/1_1/stdlib_json.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/2_1/extccomp.nim.c -o c_code/2_1/extccomp.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/2_1/nimblecmd.nim.c -o c_code/2_1/nimblecmd.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/2_1/stdlib_parseopt.nim.c -o c_code/2_1/stdlib_parseopt.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/commands.nim.c -o c_code/1_1/commands.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/llstream.nim.c -o c_code/1_1/llstream.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/nimlexbase.nim.c -o c_code/1_1/nimlexbase.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/lexer.nim.c -o c_code/1_1/lexer.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/2_1/nimconf.nim.c -o c_code/2_1/nimconf.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/stdlib_intsets.nim.c -o c_code/1_1/stdlib_intsets.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/idgen.nim.c -o c_code/1_1/idgen.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/ast.nim.c -o c_code/1_1/ast.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/rodutils.nim.c -o c_code/1_1/rodutils.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/2_1/astalgo.nim.c -o c_code/2_1/astalgo.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/parser.nim.c -o c_code/1_1/parser.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/renderer.nim.c -o c_code/1_1/renderer.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/filters.nim.c -o c_code/1_1/filters.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/filter__tmpl.nim.c -o c_code/1_1/filter__tmpl.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/syntaxes.nim.c -o c_code/1_1/syntaxes.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/trees.nim.c -o c_code/1_1/trees.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/types.nim.c -o c_code/1_1/types.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/treetab.nim.c -o c_code/1_1/treetab.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/incremental.nim.c -o c_code/1_1/incremental.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/btrees.nim.c -o c_code/1_1/btrees.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/stdlib_md5.nim.c -o c_code/1_1/stdlib_md5.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/modulegraphs.nim.c -o c_code/1_1/modulegraphs.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/magicsys.nim.c -o c_code/1_1/magicsys.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/bitsets.nim.c -o c_code/1_1/bitsets.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/nimsets.nim.c -o c_code/1_1/nimsets.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/semfold.nim.c -o c_code/1_1/semfold.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/modulepaths.nim.c -o c_code/1_1/modulepaths.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/reorder.nim.c -o c_code/1_1/reorder.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/passes.nim.c -o c_code/1_1/passes.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/vmdef.nim.c -o c_code/1_1/vmdef.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/semdata.nim.c -o c_code/1_1/semdata.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/linter.nim.c -o c_code/1_1/linter.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/nimfix7prettybase.nim.c -o c_code/1_1/nimfix7prettybase.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/lookups.nim.c -o c_code/1_1/lookups.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/semtypinst.nim.c -o c_code/1_1/semtypinst.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/parampatterns.nim.c -o c_code/1_1/parampatterns.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/lowerings.nim.c -o c_code/1_1/lowerings.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/_7lib7packages7docutils7rstast.nim.c -o c_code/1_1/_7lib7packages7docutils7rstast.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/_7lib7packages7docutils7rst.nim.c -o c_code/1_1/_7lib7packages7docutils7rst.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/_7lib7packages7docutils7highlite.nim.c -o c_code/1_1/_7lib7packages7docutils7highlite.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/2_1/_7lib7packages7docutils7rstgen.nim.c -o c_code/2_1/_7lib7packages7docutils7rstgen.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/stdlib_xmltree.nim.c -o c_code/1_1/stdlib_xmltree.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/stdlib_uri.nim.c -o c_code/1_1/stdlib_uri.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/stdlib_cgi.nim.c -o c_code/1_1/stdlib_cgi.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/typesrenderer.nim.c -o c_code/1_1/typesrenderer.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/2_1/docgen.nim.c -o c_code/2_1/docgen.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/sigmatch.nim.c -o c_code/1_1/sigmatch.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/importer.nim.c -o c_code/1_1/importer.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/procfind.nim.c -o c_code/1_1/procfind.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/2_1/pragmas.nim.c -o c_code/2_1/pragmas.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/saturate.nim.c -o c_code/1_1/saturate.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/guards.nim.c -o c_code/1_1/guards.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/sighashes.nim.c -o c_code/1_1/sighashes.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/sempass2.nim.c -o c_code/1_1/sempass2.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/cgmeth.nim.c -o c_code/1_1/cgmeth.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/aliases.nim.c -o c_code/1_1/aliases.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/patterns.nim.c -o c_code/1_1/patterns.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/dfa.nim.c -o c_code/1_1/dfa.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/injectdestructors.nim.c -o c_code/1_1/injectdestructors.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/liftlocals.nim.c -o c_code/1_1/liftlocals.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/lambdalifting.nim.c -o c_code/1_1/lambdalifting.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/closureiters.nim.c -o c_code/1_1/closureiters.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/transf.nim.c -o c_code/1_1/transf.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/vmgen.nim.c -o c_code/1_1/vmgen.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/vmdeps.nim.c -o c_code/1_1/vmdeps.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/vmmarshal.nim.c -o c_code/1_1/vmmarshal.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/2_1/gorgeimpl.nim.c -o c_code/2_1/gorgeimpl.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/macrocacheimpl.nim.c -o c_code/1_1/macrocacheimpl.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/evaltempl.nim.c -o c_code/1_1/evaltempl.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/2_1/vm.nim.c -o c_code/2_1/vm.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/semmacrosanity.nim.c -o c_code/1_1/semmacrosanity.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/pluginsupport.nim.c -o c_code/1_1/pluginsupport.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/plugins7locals.nim.c -o c_code/1_1/plugins7locals.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/plugins7itersgen.nim.c -o c_code/1_1/plugins7itersgen.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/plugins7active.nim.c -o c_code/1_1/plugins7active.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/semparallel.nim.c -o c_code/1_1/semparallel.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/sem.nim.c -o c_code/1_1/sem.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/ccgutils.nim.c -o c_code/1_1/ccgutils.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/ndi.nim.c -o c_code/1_1/ndi.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/cgendata.nim.c -o c_code/1_1/cgendata.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/ccgmerge.nim.c -o c_code/1_1/ccgmerge.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/enumtostr.nim.c -o c_code/1_1/enumtostr.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/2_1/stdlib_dynlib.nim.c -o c_code/2_1/stdlib_dynlib.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/cgen.nim.c -o c_code/1_1/cgen.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/passaux.nim.c -o c_code/1_1/passaux.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/depends.nim.c -o c_code/1_1/depends.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/modules.nim.c -o c_code/1_1/modules.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/jsgen.nim.c -o c_code/1_1/jsgen.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/docgen2.nim.c -o c_code/1_1/docgen2.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/1_1/main.nim.c -o c_code/1_1/main.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/2_1/scriptconfig.nim.c -o c_code/2_1/scriptconfig.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/2_1/cmdlinehelper.nim.c -o c_code/2_1/cmdlinehelper.nim.o
$CC $COMP_FLAGS -Ic_code -c c_code/2_1/nim.nim.c -o c_code/2_1/nim.nim.o
$CC -o $binDir/nim \
c_code/1_1/stdlib_assertions.nim.o \
c_code/1_1/stdlib_dollars.nim.o \
c_code/2_1/stdlib_io.nim.o \
c_code/2_1/stdlib_system.nim.o \
c_code/2_1/stdlib_parseutils.nim.o \
c_code/2_1/stdlib_math.nim.o \
c_code/1_1/stdlib_algorithm.nim.o \
c_code/2_1/stdlib_unicode.nim.o \
c_code/2_1/stdlib_strutils.nim.o \
c_code/2_1/stdlib_pathnorm.nim.o \
c_code/2_1/stdlib_posix.nim.o \
c_code/2_1/stdlib_times.nim.o \
c_code/2_1/stdlib_os.nim.o \
c_code/1_1/stdlib_hashes.nim.o \
c_code/1_1/stdlib_strtabs.nim.o \
c_code/2_1/stdlib_streams.nim.o \
c_code/2_1/stdlib_cpuinfo.nim.o \
c_code/2_1/stdlib_osproc.nim.o \
c_code/1_1/stdlib_sets.nim.o \
c_code/2_1/pathutils.nim.o \
c_code/1_1/ropes.nim.o \
c_code/1_1/stdlib_tables.nim.o \
c_code/1_1/lineinfos.nim.o \
c_code/2_1/platform.nim.o \
c_code/1_1/prefixmatches.nim.o \
c_code/2_1/stdlib_strformat.nim.o \
c_code/2_1/stdlib_terminal.nim.o \
c_code/2_1/options.nim.o \
c_code/2_1/msgs.nim.o \
c_code/1_1/wordrecg.nim.o \
c_code/1_1/idents.nim.o \
c_code/1_1/condsyms.nim.o \
c_code/1_1/stdlib_sha1.nim.o \
c_code/2_1/stdlib_lexbase.nim.o \
c_code/1_1/stdlib_parsejson.nim.o \
c_code/1_1/stdlib_json.nim.o \
c_code/2_1/extccomp.nim.o \
c_code/2_1/nimblecmd.nim.o \
c_code/2_1/stdlib_parseopt.nim.o \
c_code/1_1/commands.nim.o \
c_code/1_1/llstream.nim.o \
c_code/1_1/nimlexbase.nim.o \
c_code/1_1/lexer.nim.o \
c_code/2_1/nimconf.nim.o \
c_code/1_1/stdlib_intsets.nim.o \
c_code/1_1/idgen.nim.o \
c_code/1_1/ast.nim.o \
c_code/1_1/rodutils.nim.o \
c_code/2_1/astalgo.nim.o \
c_code/1_1/parser.nim.o \
c_code/1_1/renderer.nim.o \
c_code/1_1/filters.nim.o \
c_code/1_1/filter__tmpl.nim.o \
c_code/1_1/syntaxes.nim.o \
c_code/1_1/trees.nim.o \
c_code/1_1/types.nim.o \
c_code/1_1/treetab.nim.o \
c_code/1_1/incremental.nim.o \
c_code/1_1/btrees.nim.o \
c_code/1_1/stdlib_md5.nim.o \
c_code/1_1/modulegraphs.nim.o \
c_code/1_1/magicsys.nim.o \
c_code/1_1/bitsets.nim.o \
c_code/1_1/nimsets.nim.o \
c_code/1_1/semfold.nim.o \
c_code/1_1/modulepaths.nim.o \
c_code/1_1/reorder.nim.o \
c_code/1_1/passes.nim.o \