summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2013-01-31 18:59:40 +0100
committerAraq <rumpf_a@web.de>2013-01-31 18:59:40 +0100
commitf96d612e980af065217cddaf0a8521189977a37b (patch)
treefbc2af6531dd07a1552f0f48223bfb1ab9004123
parent65fdd641a9cf72be36af750a70245ebc1f16bf21 (diff)
downloadNim-f96d612e980af065217cddaf0a8521189977a37b.tar.gz
rebuilt C sources for bootstrapping
-rwxr-xr-xbuild.bat42
-rw-r--r--build64.bat42
-rwxr-xr-xinstall.sh436
3 files changed, 480 insertions, 40 deletions
diff --git a/build.bat b/build.bat
index 88cd6ad50..952b128b2 100755
--- a/build.bat
+++ b/build.bat
@@ -7,22 +7,22 @@ SET LINK_FLAGS=
 

 REM call the compiler:

 

-ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_1\system.c -o build\1_1\system.o

-%CC% %COMP_FLAGS% -Ibuild -c build\1_1\system.c -o build\1_1\system.o

 ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_1\nimrod.c -o build\1_1\nimrod.o

 %CC% %COMP_FLAGS% -Ibuild -c build\1_1\nimrod.c -o build\1_1\nimrod.o

-ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_1\times.c -o build\1_1\times.o

-%CC% %COMP_FLAGS% -Ibuild -c build\1_1\times.c -o build\1_1\times.o

+ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_1\system.c -o build\1_1\system.o

+%CC% %COMP_FLAGS% -Ibuild -c build\1_1\system.c -o build\1_1\system.o

+ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_1\commands.c -o build\1_1\commands.o

+%CC% %COMP_FLAGS% -Ibuild -c build\1_1\commands.c -o build\1_1\commands.o

+ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_1\os.c -o build\1_1\os.o

+%CC% %COMP_FLAGS% -Ibuild -c build\1_1\os.c -o build\1_1\os.o

 ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_1\strutils.c -o build\1_1\strutils.o

 %CC% %COMP_FLAGS% -Ibuild -c build\1_1\strutils.c -o build\1_1\strutils.o

 ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_1\parseutils.c -o build\1_1\parseutils.o

 %CC% %COMP_FLAGS% -Ibuild -c build\1_1\parseutils.c -o build\1_1\parseutils.o

+ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_1\times.c -o build\1_1\times.o

+%CC% %COMP_FLAGS% -Ibuild -c build\1_1\times.c -o build\1_1\times.o

 ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_1\winlean.c -o build\1_1\winlean.o

 %CC% %COMP_FLAGS% -Ibuild -c build\1_1\winlean.c -o build\1_1\winlean.o

-ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_1\commands.c -o build\1_1\commands.o

-%CC% %COMP_FLAGS% -Ibuild -c build\1_1\commands.c -o build\1_1\commands.o

-ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_1\os.c -o build\1_1\os.o

-%CC% %COMP_FLAGS% -Ibuild -c build\1_1\os.c -o build\1_1\os.o

 ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_1\msgs.c -o build\1_1\msgs.o

 %CC% %COMP_FLAGS% -Ibuild -c build\1_1\msgs.c -o build\1_1\msgs.o

 ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_1\options.c -o build\1_1\options.o

@@ -39,18 +39,18 @@ ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_1\math.c -o build\1_1\math.o
 %CC% %COMP_FLAGS% -Ibuild -c build\1_1\math.c -o build\1_1\math.o

 ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_1\sockets.c -o build\1_1\sockets.o

 %CC% %COMP_FLAGS% -Ibuild -c build\1_1\sockets.c -o build\1_1\sockets.o

+ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_1\ropes.c -o build\1_1\ropes.o

+%CC% %COMP_FLAGS% -Ibuild -c build\1_1\ropes.c -o build\1_1\ropes.o

+ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_1\platform.c -o build\1_1\platform.o

+%CC% %COMP_FLAGS% -Ibuild -c build\1_1\platform.c -o build\1_1\platform.o

+ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_1\crc.c -o build\1_1\crc.o

+%CC% %COMP_FLAGS% -Ibuild -c build\1_1\crc.c -o build\1_1\crc.o

 ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_1\nversion.c -o build\1_1\nversion.o

 %CC% %COMP_FLAGS% -Ibuild -c build\1_1\nversion.c -o build\1_1\nversion.o

 ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_1\condsyms.c -o build\1_1\condsyms.o

 %CC% %COMP_FLAGS% -Ibuild -c build\1_1\condsyms.c -o build\1_1\condsyms.o

 ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_1\ast.c -o build\1_1\ast.o

 %CC% %COMP_FLAGS% -Ibuild -c build\1_1\ast.c -o build\1_1\ast.o

-ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_1\crc.c -o build\1_1\crc.o

-%CC% %COMP_FLAGS% -Ibuild -c build\1_1\crc.c -o build\1_1\crc.o

-ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_1\ropes.c -o build\1_1\ropes.o

-%CC% %COMP_FLAGS% -Ibuild -c build\1_1\ropes.c -o build\1_1\ropes.o

-ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_1\platform.c -o build\1_1\platform.o

-%CC% %COMP_FLAGS% -Ibuild -c build\1_1\platform.c -o build\1_1\platform.o

 ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_1\idents.c -o build\1_1\idents.o

 %CC% %COMP_FLAGS% -Ibuild -c build\1_1\idents.c -o build\1_1\idents.o

 ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_1\intsets.c -o build\1_1\intsets.o

@@ -69,6 +69,8 @@ ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_1\streams.c -o build\1_1\streams.o
 %CC% %COMP_FLAGS% -Ibuild -c build\1_1\streams.c -o build\1_1\streams.o

 ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_1\wordrecg.c -o build\1_1\wordrecg.o

 %CC% %COMP_FLAGS% -Ibuild -c build\1_1\wordrecg.c -o build\1_1\wordrecg.o

+ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_1\babelcmd.c -o build\1_1\babelcmd.o

+%CC% %COMP_FLAGS% -Ibuild -c build\1_1\babelcmd.c -o build\1_1\babelcmd.o

 ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_1\lexer.c -o build\1_1\lexer.o

 %CC% %COMP_FLAGS% -Ibuild -c build\1_1\lexer.c -o build\1_1\lexer.o

 ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_1\lexbase.c -o build\1_1\lexbase.o

@@ -145,10 +147,6 @@ ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_1\semtypinst.c -o build\1_1\semtypinst
 %CC% %COMP_FLAGS% -Ibuild -c build\1_1\semtypinst.c -o build\1_1\semtypinst.o

 ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_1\sigmatch.c -o build\1_1\sigmatch.o

 %CC% %COMP_FLAGS% -Ibuild -c build\1_1\sigmatch.c -o build\1_1\sigmatch.o

-ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_1\aliases.c -o build\1_1\aliases.o

-%CC% %COMP_FLAGS% -Ibuild -c build\1_1\aliases.c -o build\1_1\aliases.o

-ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_1\patterns.c -o build\1_1\patterns.o

-%CC% %COMP_FLAGS% -Ibuild -c build\1_1\patterns.c -o build\1_1\patterns.o

 ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_1\parampatterns.c -o build\1_1\parampatterns.o

 %CC% %COMP_FLAGS% -Ibuild -c build\1_1\parampatterns.c -o build\1_1\parampatterns.o

 ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_1\docgen.c -o build\1_1\docgen.o

@@ -161,6 +159,10 @@ ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_1\rstgen.c -o build\1_1\rstgen.o
 %CC% %COMP_FLAGS% -Ibuild -c build\1_1\rstgen.c -o build\1_1\rstgen.o

 ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_1\highlite.c -o build\1_1\highlite.o

 %CC% %COMP_FLAGS% -Ibuild -c build\1_1\highlite.c -o build\1_1\highlite.o

+ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_1\aliases.c -o build\1_1\aliases.o

+%CC% %COMP_FLAGS% -Ibuild -c build\1_1\aliases.c -o build\1_1\aliases.o

+ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_1\patterns.c -o build\1_1\patterns.o

+%CC% %COMP_FLAGS% -Ibuild -c build\1_1\patterns.c -o build\1_1\patterns.o

 ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_1\cgen.c -o build\1_1\cgen.o

 %CC% %COMP_FLAGS% -Ibuild -c build\1_1\cgen.c -o build\1_1\cgen.o

 ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_1\ccgutils.c -o build\1_1\ccgutils.o

@@ -182,8 +184,8 @@ ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_1\service.c -o build\1_1\service.o
 ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_1\parseopt.c -o build\1_1\parseopt.o

 %CC% %COMP_FLAGS% -Ibuild -c build\1_1\parseopt.c -o build\1_1\parseopt.o

 

-ECHO %LINKER% %LINK_FLAGS% -o bin\nimrod.exe  build\1_1\system.o build\1_1\nimrod.o build\1_1\times.o build\1_1\strutils.o build\1_1\parseutils.o build\1_1\winlean.o build\1_1\commands.o build\1_1\os.o build\1_1\msgs.o build\1_1\options.o build\1_1\lists.o build\1_1\strtabs.o build\1_1\hashes.o build\1_1\tables.o build\1_1\math.o build\1_1\sockets.o build\1_1\nversion.o build\1_1\condsyms.o build\1_1\ast.o build\1_1\crc.o build\1_1\ropes.o build\1_1\platform.o build\1_1\idents.o build\1_1\intsets.o build\1_1\idgen.o build\1_1\astalgo.o build\1_1\rodutils.o build\1_1\extccomp.o build\1_1\osproc.o build\1_1\streams.o build\1_1\wordrecg.o build\1_1\lexer.o build\1_1\lexbase.o build\1_1\llstream.o build\1_1\nimconf.o build\1_1\main.o build\1_1\syntaxes.o build\1_1\parser.o build\1_1\pbraces.o build\1_1\filters.o build\1_1\renderer.o build\1_1\filter_tmpl.o build\1_1\rodread.o build\1_1\types.o build\1_1\trees.o build\1_1\memfiles.o build\1_1\rodwrite.o build\1_1\passes.o build\1_1\magicsys.o build\1_1\nimsets.o build\1_1\bitsets.o build\1_1\semthreads.o build\1_1\importer.o build\1_1\lookups.o build\1_1\semdata.o build\1_1\treetab.o build\1_1\evals.o build\1_1\semfold.o build\1_1\saturate.o build\1_1\transf.o build\1_1\cgmeth.o build\1_1\sempass2.o build\1_1\lambdalifting.o build\1_1\evaltempl.o build\1_1\sem.o build\1_1\procfind.o build\1_1\pragmas.o build\1_1\semtypinst.o build\1_1\sigmatch.o build\1_1\aliases.o build\1_1\patterns.o build\1_1\parampatterns.o build\1_1\docgen.o build\1_1\rstast.o build\1_1\rst.o build\1_1\rstgen.o build\1_1\highlite.o build\1_1\cgen.o build\1_1\ccgutils.o build\1_1\cgendata.o build\1_1\ccgmerge.o build\1_1\ecmasgen.o build\1_1\passaux.o build\1_1\depends.o build\1_1\docgen2.o build\1_1\service.o build\1_1\parseopt.o

-%LINKER% %LINK_FLAGS% -o bin\nimrod.exe  build\1_1\system.o build\1_1\nimrod.o build\1_1\times.o build\1_1\strutils.o build\1_1\parseutils.o build\1_1\winlean.o build\1_1\commands.o build\1_1\os.o build\1_1\msgs.o build\1_1\options.o build\1_1\lists.o build\1_1\strtabs.o build\1_1\hashes.o build\1_1\tables.o build\1_1\math.o build\1_1\sockets.o build\1_1\nversion.o build\1_1\condsyms.o build\1_1\ast.o build\1_1\crc.o build\1_1\ropes.o build\1_1\platform.o build\1_1\idents.o build\1_1\intsets.o build\1_1\idgen.o build\1_1\astalgo.o build\1_1\rodutils.o build\1_1\extccomp.o build\1_1\osproc.o build\1_1\streams.o build\1_1\wordrecg.o build\1_1\lexer.o build\1_1\lexbase.o build\1_1\llstream.o build\1_1\nimconf.o build\1_1\main.o build\1_1\syntaxes.o build\1_1\parser.o build\1_1\pbraces.o build\1_1\filters.o build\1_1\renderer.o build\1_1\filter_tmpl.o build\1_1\rodread.o build\1_1\types.o build\1_1\trees.o build\1_1\memfiles.o build\1_1\rodwrite.o build\1_1\passes.o build\1_1\magicsys.o build\1_1\nimsets.o build\1_1\bitsets.o build\1_1\semthreads.o build\1_1\importer.o build\1_1\lookups.o build\1_1\semdata.o build\1_1\treetab.o build\1_1\evals.o build\1_1\semfold.o build\1_1\saturate.o build\1_1\transf.o build\1_1\cgmeth.o build\1_1\sempass2.o build\1_1\lambdalifting.o build\1_1\evaltempl.o build\1_1\sem.o build\1_1\procfind.o build\1_1\pragmas.o build\1_1\semtypinst.o build\1_1\sigmatch.o build\1_1\aliases.o build\1_1\patterns.o build\1_1\parampatterns.o build\1_1\docgen.o build\1_1\rstast.o build\1_1\rst.o build\1_1\rstgen.o build\1_1\highlite.o build\1_1\cgen.o build\1_1\ccgutils.o build\1_1\cgendata.o build\1_1\ccgmerge.o build\1_1\ecmasgen.o build\1_1\passaux.o build\1_1\depends.o build\1_1\docgen2.o build\1_1\service.o build\1_1\parseopt.o

+ECHO %LINKER% %LINK_FLAGS% -o bin\nimrod.exe  build\1_1\nimrod.o build\1_1\system.o build\1_1\commands.o build\1_1\os.o build\1_1\strutils.o build\1_1\parseutils.o build\1_1\times.o build\1_1\winlean.o build\1_1\msgs.o build\1_1\options.o build\1_1\lists.o build\1_1\strtabs.o build\1_1\hashes.o build\1_1\tables.o build\1_1\math.o build\1_1\sockets.o build\1_1\ropes.o build\1_1\platform.o build\1_1\crc.o build\1_1\nversion.o build\1_1\condsyms.o build\1_1\ast.o build\1_1\idents.o build\1_1\intsets.o build\1_1\idgen.o build\1_1\astalgo.o build\1_1\rodutils.o build\1_1\extccomp.o build\1_1\osproc.o build\1_1\streams.o build\1_1\wordrecg.o build\1_1\babelcmd.o build\1_1\lexer.o build\1_1\lexbase.o build\1_1\llstream.o build\1_1\nimconf.o build\1_1\main.o build\1_1\syntaxes.o build\1_1\parser.o build\1_1\pbraces.o build\1_1\filters.o build\1_1\renderer.o build\1_1\filter_tmpl.o build\1_1\rodread.o build\1_1\types.o build\1_1\trees.o build\1_1\memfiles.o build\1_1\rodwrite.o build\1_1\passes.o build\1_1\magicsys.o build\1_1\nimsets.o build\1_1\bitsets.o build\1_1\semthreads.o build\1_1\importer.o build\1_1\lookups.o build\1_1\semdata.o build\1_1\treetab.o build\1_1\evals.o build\1_1\semfold.o build\1_1\saturate.o build\1_1\transf.o build\1_1\cgmeth.o build\1_1\sempass2.o build\1_1\lambdalifting.o build\1_1\evaltempl.o build\1_1\sem.o build\1_1\procfind.o build\1_1\pragmas.o build\1_1\semtypinst.o build\1_1\sigmatch.o build\1_1\parampatterns.o build\1_1\docgen.o build\1_1\rstast.o build\1_1\rst.o build\1_1\rstgen.o build\1_1\highlite.o build\1_1\aliases.o build\1_1\patterns.o build\1_1\cgen.o build\1_1\ccgutils.o build\1_1\cgendata.o build\1_1\ccgmerge.o build\1_1\ecmasgen.o build\1_1\passaux.o build\1_1\depends.o build\1_1\docgen2.o build\1_1\service.o build\1_1\parseopt.o

+%LINKER% %LINK_FLAGS% -o bin\nimrod.exe  build\1_1\nimrod.o build\1_1\system.o build\1_1\commands.o build\1_1\os.o build\1_1\strutils.o build\1_1\parseutils.o build\1_1\times.o build\1_1\winlean.o build\1_1\msgs.o build\1_1\options.o build\1_1\lists.o build\1_1\strtabs.o build\1_1\hashes.o build\1_1\tables.o build\1_1\math.o build\1_1\sockets.o build\1_1\ropes.o build\1_1\platform.o build\1_1\crc.o build\1_1\nversion.o build\1_1\condsyms.o build\1_1\ast.o build\1_1\idents.o build\1_1\intsets.o build\1_1\idgen.o build\1_1\astalgo.o build\1_1\rodutils.o build\1_1\extccomp.o build\1_1\osproc.o build\1_1\streams.o build\1_1\wordrecg.o build\1_1\babelcmd.o build\1_1\lexer.o build\1_1\lexbase.o build\1_1\llstream.o build\1_1\nimconf.o build\1_1\main.o build\1_1\syntaxes.o build\1_1\parser.o build\1_1\pbraces.o build\1_1\filters.o build\1_1\renderer.o build\1_1\filter_tmpl.o build\1_1\rodread.o build\1_1\types.o build\1_1\trees.o build\1_1\memfiles.o build\1_1\rodwrite.o build\1_1\passes.o build\1_1\magicsys.o build\1_1\nimsets.o build\1_1\bitsets.o build\1_1\semthreads.o build\1_1\importer.o build\1_1\lookups.o build\1_1\semdata.o build\1_1\treetab.o build\1_1\evals.o build\1_1\semfold.o build\1_1\saturate.o build\1_1\transf.o build\1_1\cgmeth.o build\1_1\sempass2.o build\1_1\lambdalifting.o build\1_1\evaltempl.o build\1_1\sem.o build\1_1\procfind.o build\1_1\pragmas.o build\1_1\semtypinst.o build\1_1\sigmatch.o build\1_1\parampatterns.o build\1_1\docgen.o build\1_1\rstast.o build\1_1\rst.o build\1_1\rstgen.o build\1_1\highlite.o build\1_1\aliases.o build\1_1\patterns.o build\1_1\cgen.o build\1_1\ccgutils.o build\1_1\cgendata.o build\1_1\ccgmerge.o build\1_1\ecmasgen.o build\1_1\passaux.o build\1_1\depends.o build\1_1\docgen2.o build\1_1\service.o build\1_1\parseopt.o

 

 

 ECHO SUCCESS

diff --git a/build64.bat b/build64.bat
index 46bf0121b..1a40657d5 100644
--- a/build64.bat
+++ b/build64.bat
@@ -7,22 +7,22 @@ SET LINK_FLAGS=
 

 REM call the compiler:

 

-ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_2\system.c -o build\1_2\system.o

-%CC% %COMP_FLAGS% -Ibuild -c build\1_2\system.c -o build\1_2\system.o

 ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_2\nimrod.c -o build\1_2\nimrod.o

 %CC% %COMP_FLAGS% -Ibuild -c build\1_2\nimrod.c -o build\1_2\nimrod.o

-ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_2\times.c -o build\1_2\times.o

-%CC% %COMP_FLAGS% -Ibuild -c build\1_2\times.c -o build\1_2\times.o

+ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_2\system.c -o build\1_2\system.o

+%CC% %COMP_FLAGS% -Ibuild -c build\1_2\system.c -o build\1_2\system.o

+ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_2\commands.c -o build\1_2\commands.o

+%CC% %COMP_FLAGS% -Ibuild -c build\1_2\commands.c -o build\1_2\commands.o

+ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_2\os.c -o build\1_2\os.o

+%CC% %COMP_FLAGS% -Ibuild -c build\1_2\os.c -o build\1_2\os.o

 ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_2\strutils.c -o build\1_2\strutils.o

 %CC% %COMP_FLAGS% -Ibuild -c build\1_2\strutils.c -o build\1_2\strutils.o

 ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_2\parseutils.c -o build\1_2\parseutils.o

 %CC% %COMP_FLAGS% -Ibuild -c build\1_2\parseutils.c -o build\1_2\parseutils.o

+ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_2\times.c -o build\1_2\times.o

+%CC% %COMP_FLAGS% -Ibuild -c build\1_2\times.c -o build\1_2\times.o

 ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_2\winlean.c -o build\1_2\winlean.o

 %CC% %COMP_FLAGS% -Ibuild -c build\1_2\winlean.c -o build\1_2\winlean.o

-ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_2\commands.c -o build\1_2\commands.o

-%CC% %COMP_FLAGS% -Ibuild -c build\1_2\commands.c -o build\1_2\commands.o

-ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_2\os.c -o build\1_2\os.o

-%CC% %COMP_FLAGS% -Ibuild -c build\1_2\os.c -o build\1_2\os.o

 ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_2\msgs.c -o build\1_2\msgs.o

 %CC% %COMP_FLAGS% -Ibuild -c build\1_2\msgs.c -o build\1_2\msgs.o

 ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_2\options.c -o build\1_2\options.o

@@ -39,18 +39,18 @@ ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_2\math.c -o build\1_2\math.o
 %CC% %COMP_FLAGS% -Ibuild -c build\1_2\math.c -o build\1_2\math.o

 ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_2\sockets.c -o build\1_2\sockets.o

 %CC% %COMP_FLAGS% -Ibuild -c build\1_2\sockets.c -o build\1_2\sockets.o

+ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_2\ropes.c -o build\1_2\ropes.o

+%CC% %COMP_FLAGS% -Ibuild -c build\1_2\ropes.c -o build\1_2\ropes.o

+ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_2\platform.c -o build\1_2\platform.o

+%CC% %COMP_FLAGS% -Ibuild -c build\1_2\platform.c -o build\1_2\platform.o

+ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_2\crc.c -o build\1_2\crc.o

+%CC% %COMP_FLAGS% -Ibuild -c build\1_2\crc.c -o build\1_2\crc.o

 ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_2\nversion.c -o build\1_2\nversion.o

 %CC% %COMP_FLAGS% -Ibuild -c build\1_2\nversion.c -o build\1_2\nversion.o

 ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_2\condsyms.c -o build\1_2\condsyms.o

 %CC% %COMP_FLAGS% -Ibuild -c build\1_2\condsyms.c -o build\1_2\condsyms.o

 ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_2\ast.c -o build\1_2\ast.o

 %CC% %COMP_FLAGS% -Ibuild -c build\1_2\ast.c -o build\1_2\ast.o

-ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_2\crc.c -o build\1_2\crc.o

-%CC% %COMP_FLAGS% -Ibuild -c build\1_2\crc.c -o build\1_2\crc.o

-ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_2\ropes.c -o build\1_2\ropes.o

-%CC% %COMP_FLAGS% -Ibuild -c build\1_2\ropes.c -o build\1_2\ropes.o

-ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_2\platform.c -o build\1_2\platform.o

-%CC% %COMP_FLAGS% -Ibuild -c build\1_2\platform.c -o build\1_2\platform.o

 ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_2\idents.c -o build\1_2\idents.o

 %CC% %COMP_FLAGS% -Ibuild -c build\1_2\idents.c -o build\1_2\idents.o

 ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_2\intsets.c -o build\1_2\intsets.o

@@ -69,6 +69,8 @@ ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_2\streams.c -o build\1_2\streams.o
 %CC% %COMP_FLAGS% -Ibuild -c build\1_2\streams.c -o build\1_2\streams.o

 ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_2\wordrecg.c -o build\1_2\wordrecg.o

 %CC% %COMP_FLAGS% -Ibuild -c build\1_2\wordrecg.c -o build\1_2\wordrecg.o

+ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_2\babelcmd.c -o build\1_2\babelcmd.o

+%CC% %COMP_FLAGS% -Ibuild -c build\1_2\babelcmd.c -o build\1_2\babelcmd.o

 ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_2\lexer.c -o build\1_2\lexer.o

 %CC% %COMP_FLAGS% -Ibuild -c build\1_2\lexer.c -o build\1_2\lexer.o

 ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_2\lexbase.c -o build\1_2\lexbase.o

@@ -145,10 +147,6 @@ ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_2\semtypinst.c -o build\1_2\semtypinst
 %CC% %COMP_FLAGS% -Ibuild -c build\1_2\semtypinst.c -o build\1_2\semtypinst.o

 ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_2\sigmatch.c -o build\1_2\sigmatch.o

 %CC% %COMP_FLAGS% -Ibuild -c build\1_2\sigmatch.c -o build\1_2\sigmatch.o

-ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_2\aliases.c -o build\1_2\aliases.o

-%CC% %COMP_FLAGS% -Ibuild -c build\1_2\aliases.c -o build\1_2\aliases.o

-ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_2\patterns.c -o build\1_2\patterns.o

-%CC% %COMP_FLAGS% -Ibuild -c build\1_2\patterns.c -o build\1_2\patterns.o

 ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_2\parampatterns.c -o build\1_2\parampatterns.o

 %CC% %COMP_FLAGS% -Ibuild -c build\1_2\parampatterns.c -o build\1_2\parampatterns.o

 ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_2\docgen.c -o build\1_2\docgen.o

@@ -161,6 +159,10 @@ ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_2\rstgen.c -o build\1_2\rstgen.o
 %CC% %COMP_FLAGS% -Ibuild -c build\1_2\rstgen.c -o build\1_2\rstgen.o

 ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_2\highlite.c -o build\1_2\highlite.o

 %CC% %COMP_FLAGS% -Ibuild -c build\1_2\highlite.c -o build\1_2\highlite.o

+ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_2\aliases.c -o build\1_2\aliases.o

+%CC% %COMP_FLAGS% -Ibuild -c build\1_2\aliases.c -o build\1_2\aliases.o

+ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_2\patterns.c -o build\1_2\patterns.o

+%CC% %COMP_FLAGS% -Ibuild -c build\1_2\patterns.c -o build\1_2\patterns.o

 ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_2\cgen.c -o build\1_2\cgen.o

 %CC% %COMP_FLAGS% -Ibuild -c build\1_2\cgen.c -o build\1_2\cgen.o

 ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_2\ccgutils.c -o build\1_2\ccgutils.o

@@ -182,8 +184,8 @@ ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_2\service.c -o build\1_2\service.o
 ECHO %CC% %COMP_FLAGS% -Ibuild -c build\1_2\parseopt.c -o build\1_2\parseopt.o

 %CC% %COMP_FLAGS% -Ibuild -c build\1_2\parseopt.c -o build\1_2\parseopt.o

 

-ECHO %LINKER% %LINK_FLAGS% -o bin\nimrod.exe  build\1_2\system.o build\1_2\nimrod.o build\1_2\times.o build\1_2\strutils.o build\1_2\parseutils.o build\1_2\winlean.o build\1_2\commands.o build\1_2\os.o build\1_2\msgs.o build\1_2\options.o build\1_2\lists.o build\1_2\strtabs.o build\1_2\hashes.o build\1_2\tables.o build\1_2\math.o build\1_2\sockets.o build\1_2\nversion.o build\1_2\condsyms.o build\1_2\ast.o build\1_2\crc.o build\1_2\ropes.o build\1_2\platform.o build\1_2\idents.o build\1_2\intsets.o build\1_2\idgen.o build\1_2\astalgo.o build\1_2\rodutils.o build\1_2\extccomp.o build\1_2\osproc.o build\1_2\streams.o build\1_2\wordrecg.o build\1_2\lexer.o build\1_2\lexbase.o build\1_2\llstream.o build\1_2\nimconf.o build\1_2\main.o build\1_2\syntaxes.o build\1_2\parser.o build\1_2\pbraces.o build\1_2\filters.o build\1_2\renderer.o build\1_2\filter_tmpl.o build\1_2\rodread.o build\1_2\types.o build\1_2\trees.o build\1_2\memfiles.o build\1_2\rodwrite.o build\1_2\passes.o build\1_2\magicsys.o build\1_2\nimsets.o build\1_2\bitsets.o build\1_2\semthreads.o build\1_2\importer.o build\1_2\lookups.o build\1_2\semdata.o build\1_2\treetab.o build\1_2\evals.o build\1_2\semfold.o build\1_2\saturate.o build\1_2\transf.o build\1_2\cgmeth.o build\1_2\sempass2.o build\1_2\lambdalifting.o build\1_2\evaltempl.o build\1_2\sem.o build\1_2\procfind.o build\1_2\pragmas.o build\1_2\semtypinst.o build\1_2\sigmatch.o build\1_2\aliases.o build\1_2\patterns.o build\1_2\parampatterns.o build\1_2\docgen.o build\1_2\rstast.o build\1_2\rst.o build\1_2\rstgen.o build\1_2\highlite.o build\1_2\cgen.o build\1_2\ccgutils.o build\1_2\cgendata.o build\1_2\ccgmerge.o build\1_2\ecmasgen.o build\1_2\passaux.o build\1_2\depends.o build\1_2\docgen2.o build\1_2\service.o build\1_2\parseopt.o

-%LINKER% %LINK_FLAGS% -o bin\nimrod.exe  build\1_2\system.o build\1_2\nimrod.o build\1_2\times.o build\1_2\strutils.o build\1_2\parseutils.o build\1_2\winlean.o build\1_2\commands.o build\1_2\os.o build\1_2\msgs.o build\1_2\options.o build\1_2\lists.o build\1_2\strtabs.o build\1_2\hashes.o build\1_2\tables.o build\1_2\math.o build\1_2\sockets.o build\1_2\nversion.o build\1_2\condsyms.o build\1_2\ast.o build\1_2\crc.o build\1_2\ropes.o build\1_2\platform.o build\1_2\idents.o build\1_2\intsets.o build\1_2\idgen.o build\1_2\astalgo.o build\1_2\rodutils.o build\1_2\extccomp.o build\1_2\osproc.o build\1_2\streams.o build\1_2\wordrecg.o build\1_2\lexer.o build\1_2\lexbase.o build\1_2\llstream.o build\1_2\nimconf.o build\1_2\main.o build\1_2\syntaxes.o build\1_2\parser.o build\1_2\pbraces.o build\1_2\filters.o build\1_2\renderer.o build\1_2\filter_tmpl.o build\1_2\rodread.o build\1_2\types.o build\1_2\trees.o build\1_2\memfiles.o build\1_2\rodwrite.o build\1_2\passes.o build\1_2\magicsys.o build\1_2\nimsets.o build\1_2\bitsets.o build\1_2\semthreads.o build\1_2\importer.o build\1_2\lookups.o build\1_2\semdata.o build\1_2\treetab.o build\1_2\evals.o build\1_2\semfold.o build\1_2\saturate.o build\1_2\transf.o build\1_2\cgmeth.o build\1_2\sempass2.o build\1_2\lambdalifting.o build\1_2\evaltempl.o build\1_2\sem.o build\1_2\procfind.o build\1_2\pragmas.o build\1_2\semtypinst.o build\1_2\sigmatch.o build\1_2\aliases.o build\1_2\patterns.o build\1_2\parampatterns.o build\1_2\docgen.o build\1_2\rstast.o build\1_2\rst.o build\1_2\rstgen.o build\1_2\highlite.o build\1_2\cgen.o build\1_2\ccgutils.o build\1_2\cgendata.o build\1_2\ccgmerge.o build\1_2\ecmasgen.o build\1_2\passaux.o build\1_2\depends.o build\1_2\docgen2.o build\1_2\service.o build\1_2\parseopt.o

+ECHO %LINKER% %LINK_FLAGS% -o bin\nimrod.exe  build\1_2\nimrod.o build\1_2\system.o build\1_2\commands.o build\1_2\os.o build\1_2\strutils.o build\1_2\parseutils.o build\1_2\times.o build\1_2\winlean.o build\1_2\msgs.o build\1_2\options.o build\1_2\lists.o build\1_2\strtabs.o build\1_2\hashes.o build\1_2\tables.o build\1_2\math.o build\1_2\sockets.o build\1_2\ropes.o build\1_2\platform.o build\1_2\crc.o build\1_2\nversion.o build\1_2\condsyms.o build\1_2\ast.o build\1_2\idents.o build\1_2\intsets.o build\1_2\idgen.o build\1_2\astalgo.o build\1_2\rodutils.o build\1_2\extccomp.o build\1_2\osproc.o build\1_2\streams.o build\1_2\wordrecg.o build\1_2\babelcmd.o build\1_2\lexer.o build\1_2\lexbase.o build\1_2\llstream.o build\1_2\nimconf.o build\1_2\main.o build\1_2\syntaxes.o build\1_2\parser.o build\1_2\pbraces.o build\1_2\filters.o build\1_2\renderer.o build\1_2\filter_tmpl.o build\1_2\rodread.o build\1_2\types.o build\1_2\trees.o build\1_2\memfiles.o build\1_2\rodwrite.o build\1_2\passes.o build\1_2\magicsys.o build\1_2\nimsets.o build\1_2\bitsets.o build\1_2\semthreads.o build\1_2\importer.o build\1_2\lookups.o build\1_2\semdata.o build\1_2\treetab.o build\1_2\evals.o build\1_2\semfold.o build\1_2\saturate.o build\1_2\transf.o build\1_2\cgmeth.o build\1_2\sempass2.o build\1_2\lambdalifting.o build\1_2\evaltempl.o build\1_2\sem.o build\1_2\procfind.o build\1_2\pragmas.o build\1_2\semtypinst.o build\1_2\sigmatch.o build\1_2\parampatterns.o build\1_2\docgen.o build\1_2\rstast.o build\1_2\rst.o build\1_2\rstgen.o build\1_2\highlite.o build\1_2\aliases.o build\1_2\patterns.o build\1_2\cgen.o build\1_2\ccgutils.o build\1_2\cgendata.o build\1_2\ccgmerge.o build\1_2\ecmasgen.o build\1_2\passaux.o build\1_2\depends.o build\1_2\docgen2.o build\1_2\service.o build\1_2\parseopt.o

+%LINKER% %LINK_FLAGS% -o bin\nimrod.exe  build\1_2\nimrod.o build\1_2\system.o build\1_2\commands.o build\1_2\os.o build\1_2\strutils.o build\1_2\parseutils.o build\1_2\times.o build\1_2\winlean.o build\1_2\msgs.o build\1_2\options.o build\1_2\lists.o build\1_2\strtabs.o build\1_2\hashes.o build\1_2\tables.o build\1_2\math.o build\1_2\sockets.o build\1_2\ropes.o build\1_2\platform.o build\1_2\crc.o build\1_2\nversion.o build\1_2\condsyms.o build\1_2\ast.o build\1_2\idents.o build\1_2\intsets.o build\1_2\idgen.o build\1_2\astalgo.o build\1_2\rodutils.o build\1_2\extccomp.o build\1_2\osproc.o build\1_2\streams.o build\1_2\wordrecg.o build\1_2\babelcmd.o build\1_2\lexer.o build\1_2\lexbase.o build\1_2\llstream.o build\1_2\nimconf.o build\1_2\main.o build\1_2\syntaxes.o build\1_2\parser.o build\1_2\pbraces.o build\1_2\filters.o build\1_2\renderer.o build\1_2\filter_tmpl.o build\1_2\rodread.o build\1_2\types.o build\1_2\trees.o build\1_2\memfiles.o build\1_2\rodwrite.o build\1_2\passes.o build\1_2\magicsys.o build\1_2\nimsets.o build\1_2\bitsets.o build\1_2\semthreads.o build\1_2\importer.o build\1_2\lookups.o build\1_2\semdata.o build\1_2\treetab.o build\1_2\evals.o build\1_2\semfold.o build\1_2\saturate.o build\1_2\transf.o build\1_2\cgmeth.o build\1_2\sempass2.o build\1_2\lambdalifting.o build\1_2\evaltempl.o build\1_2\sem.o build\1_2\procfind.o build\1_2\pragmas.o build\1_2\semtypinst.o build\1_2\sigmatch.o build\1_2\parampatterns.o build\1_2\docgen.o build\1_2\rstast.o build\1_2\rst.o build\1_2\rstgen.o build\1_2\highlite.o build\1_2\aliases.o build\1_2\patterns.o build\1_2\cgen.o build\1_2\ccgutils.o build\1_2\cgendata.o build\1_2\ccgmerge.o build\1_2\ecmasgen.o build\1_2\passaux.o build\1_2\depends.o build\1_2\docgen2.o build\1_2\service.o build\1_2\parseopt.o

 

 

 ECHO SUCCESS

diff --git a/install.sh b/install.sh
index dce8f7497..24e95730d 100755
--- a/install.sh
+++ b/install.sh
@@ -203,14 +203,446 @@ if [ $# -eq 1 ] ; then
     cp doc/tut2.txt $docdir/tut2.txt
     chmod 644 $docdir/tut2.txt
   fi
+  if [ -f doc/actors.html ]; then
+    cp doc/actors.html $docdir/actors.html
+    chmod 644 $docdir/actors.html
+  fi
+  if [ -f doc/algorithm.html ]; then
+    cp doc/algorithm.html $docdir/algorithm.html
+    chmod 644 $docdir/algorithm.html
+  fi
+  if [ -f doc/apis.html ]; then
+    cp doc/apis.html $docdir/apis.html
+    chmod 644 $docdir/apis.html
+  fi
+  if [ -f doc/asyncio.html ]; then
+    cp doc/asyncio.html $docdir/asyncio.html
+    chmod 644 $docdir/asyncio.html
+  fi
+  if [ -f doc/base64.html ]; then
+    cp doc/base64.html $docdir/base64.html
+    chmod 644 $docdir/base64.html
+  fi
+  if [ -f doc/browsers.html ]; then
+    cp doc/browsers.html $docdir/browsers.html
+    chmod 644 $docdir/browsers.html
+  fi
+  if [ -f doc/c2nim.html ]; then
+    cp doc/c2nim.html $docdir/c2nim.html
+    chmod 644 $docdir/c2nim.html
+  fi
+  if [ -f doc/cgi.html ]; then
+    cp doc/cgi.html $docdir/cgi.html
+    chmod 644 $docdir/cgi.html
+  fi
+  if [ -f doc/channels.html ]; then
+    cp doc/channels.html $docdir/channels.html
+    chmod 644 $docdir/channels.html
+  fi
+  if [ -f doc/colors.html ]; then
+    cp doc/colors.html $docdir/colors.html
+    chmod 644 $docdir/colors.html
+  fi
+  if [ -f doc/complex.html ]; then
+    cp doc/complex.html $docdir/complex.html
+    chmod 644 $docdir/complex.html
+  fi
+  if [ -f doc/cookies.html ]; then
+    cp doc/cookies.html $docdir/cookies.html
+    chmod 644 $docdir/cookies.html
+  fi
+  if [ -f doc/critbits.html ]; then
+    cp doc/critbits.html $docdir/critbits.html
+    chmod 644 $docdir/critbits.html
+  fi
+  if [ -f doc/db_mongo.html ]; then
+    cp doc/db_mongo.html $docdir/db_mongo.html
+    chmod 644 $docdir/db_mongo.html
+  fi
+  if [ -f doc/db_mysql.html ]; then
+    cp doc/db_mysql.html $docdir/db_mysql.html
+    chmod 644 $docdir/db_mysql.html
+  fi
+  if [ -f doc/db_postgres.html ]; then
+    cp doc/db_postgres.html $docdir/db_postgres.html
+    chmod 644 $docdir/db_postgres.html
+  fi
+  if [ -f doc/db_sqlite.html ]; then
+    cp doc/db_sqlite.html $docdir/db_sqlite.html
+    chmod 644 $docdir/db_sqlite.html
+  fi
+  if [ -f doc/dom.html ]; then
+    cp doc/dom.html $docdir/dom.html
+    chmod 644 $docdir/dom.html
+  fi
+  if [ -f doc/dynlib.html ]; then
+    cp doc/dynlib.html $docdir/dynlib.html
+    chmod 644 $docdir/dynlib.html
+  fi
+  if [ -f doc/encodings.html ]; then
+    cp doc/encodings.html $docdir/encodings.html
+    chmod 644 $docdir/encodings.html
+  fi
+  if [ -f doc/endb.html ]; then
+    cp doc/endb.html $docdir/endb.html
+    chmod 644 $docdir/endb.html
+  fi
+  if [ -f doc/endians.html ]; then
+    cp doc/endians.html $docdir/endians.html
+    chmod 644 $docdir/endians.html
+  fi
+  if [ -f doc/estp.html ]; then
+    cp doc/estp.html $docdir/estp.html
+    chmod 644 $docdir/estp.html
+  fi
+  if [ -f doc/events.html ]; then
+    cp doc/events.html $docdir/events.html
+    chmod 644 $docdir/events.html
+  fi
+  if [ -f doc/filters.html ]; then
+    cp doc/filters.html $docdir/filters.html
+    chmod 644 $docdir/filters.html
+  fi
+  if [ -f doc/fsmonitor.html ]; then
+    cp doc/fsmonitor.html $docdir/fsmonitor.html
+    chmod 644 $docdir/fsmonitor.html
+  fi
+  if [ -f doc/ftpclient.html ]; then
+    cp doc/ftpclient.html $docdir/ftpclient.html
+    chmod 644 $docdir/ftpclient.html
+  fi
+  if [ -f doc/gc.html ]; then
+    cp doc/gc.html $docdir/gc.html
+    chmod 644 $docdir/gc.html
+  fi
+  if [ -f doc/graphics.html ]; then
+    cp doc/graphics.html $docdir/graphics.html
+    chmod 644 $docdir/graphics.html
+  fi
+  if [ -f doc/hashes.html ]; then
+    cp doc/hashes.html $docdir/hashes.html
+    chmod 644 $docdir/hashes.html
+  fi
+  if [ -f doc/htmlgen.html ]; then
+    cp doc/htmlgen.html $docdir/htmlgen.html
+    chmod 644 $docdir/htmlgen.html
+  fi
+  if [ -f doc/htmlparser.html ]; then
+    cp doc/htmlparser.html $docdir/htmlparser.html
+    chmod 644 $docdir/htmlparser.html
+  fi
+  if [ -f doc/httpclient.html ]; then
+    cp doc/httpclient.html $docdir/httpclient.html
+    chmod 644 $docdir/httpclient.html
+  fi
+  if [ -f doc/httpserver.html ]; then
+    cp doc/httpserver.html $docdir/httpserver.html
+    chmod 644 $docdir/httpserver.html
+  fi
+  if [ -f doc/intern.html ]; then
+    cp doc/intern.html $docdir/intern.html
+    chmod 644 $docdir/intern.html
+  fi
+  if [ -f doc/intsets.html ]; then
+    cp doc/intsets.html $docdir/intsets.html
+    chmod 644 $docdir/intsets.html
+  fi
+  if [ -f doc/irc.html ]; then
+    cp doc/irc.html $docdir/irc.html
+    chmod 644 $docdir/irc.html
+  fi
+  if [ -f doc/json.html ]; then
+    cp doc/json.html $docdir/json.html
+    chmod 644 $docdir/json.html
+  fi
+  if [ -f doc/lexbase.html ]; then
+    cp doc/lexbase.html $docdir/lexbase.html
+    chmod 644 $docdir/lexbase.html
+  fi
+  if [ -f doc/lib.html ]; then
+    cp doc/lib.html $docdir/lib.html
+    chmod 644 $docdir/lib.html
+  fi
+  if [ -f doc/lists.html ]; then
+    cp doc/lists.html $docdir/lists.html
+    chmod 644 $docdir/lists.html
+  fi
+  if [ -f doc/locks.html ]; then
+    cp doc/locks.html $docdir/locks.html
+    chmod 644 $docdir/locks.html
+  fi
+  if [ -f doc/macros.html ]; then
+    cp doc/macros.html $docdir/macros.html
+    chmod 644 $docdir/macros.html
+  fi
   if [ -f doc/manual.html ]; then
     cp doc/manual.html $docdir/manual.html
     chmod 644 $docdir/manual.html
   fi
+  if [ -f doc/marshal.html ]; then
+    cp doc/marshal.html $docdir/marshal.html
+    chmod 644 $docdir/marshal.html
+  fi
+  if [ -f doc/matchers.html ]; then
+    cp doc/matchers.html $docdir/matchers.html
+    chmod 644 $docdir/matchers.html
+  fi
+  if [ -f doc/math.html ]; then
+    cp doc/math.html $docdir/math.html
+    chmod 644 $docdir/math.html
+  fi
+  if [ -f doc/memfiles.html ]; then
+    cp doc/memfiles.html $docdir/memfiles.html
+    chmod 644 $docdir/memfiles.html
+  fi
+  if [ -f doc/mimetypes.html ]; then
+    cp doc/mimetypes.html $docdir/mimetypes.html
+    chmod 644 $docdir/mimetypes.html
+  fi
+  if [ -f doc/nimgrep.html ]; then
+    cp doc/nimgrep.html $docdir/nimgrep.html
+    chmod 644 $docdir/nimgrep.html
+  fi
+  if [ -f doc/niminst.html ]; then
+    cp doc/niminst.html $docdir/niminst.html
+    chmod 644 $docdir/niminst.html
+  fi
+  if [ -f doc/nimprof.html ]; then
+    cp doc/nimprof.html $docdir/nimprof.html
+    chmod 644 $docdir/nimprof.html
+  fi
   if [ -f doc/nimrodc.html ]; then
     cp doc/nimrodc.html $docdir/nimrodc.html
     chmod 644 $docdir/nimrodc.html
   fi
+  if [ -f doc/oids.html ]; then
+    cp doc/oids.html $docdir/oids.html
+    chmod 644 $docdir/oids.html
+  fi
+  if [ -f doc/os.html ]; then
+    cp doc/os.html $docdir/os.html
+    chmod 644 $docdir/os.html
+  fi
+  if [ -f doc/osproc.html ]; then
+    cp doc/osproc.html $docdir/osproc.html
+    chmod 644 $docdir/osproc.html
+  fi
+  if [ -f doc/overview.html ]; then
+    cp doc/overview.html $docdir/overview.html
+    chmod 644 $docdir/overview.html
+  fi
+  if [ -f doc/parsecfg.html ]; then
+    cp doc/parsecfg.html $docdir/parsecfg.html
+    chmod 644 $docdir/parsecfg.html
+  fi
+  if [ -f doc/parsecsv.html ]; then
+    cp doc/parsecsv.html $docdir/parsecsv.html
+    chmod 644 $docdir/parsecsv.html
+  fi
+  if [ -f doc/parseopt.html ]; then
+    cp doc/parseopt.html $docdir/parseopt.html
+    chmod 644 $docdir/parseopt.html
+  fi
+  if [ -f doc/parsesql.html ]; then
+    cp doc/parsesql.html $docdir/parsesql.html
+    chmod 644 $docdir/parsesql.html
+  fi
+  if [ -f doc/parseutils.html ]; then
+    cp doc/parseutils.html $docdir/parseutils.html
+    chmod 644 $docdir/parseutils.html
+  fi
+  if [ -f doc/parsexml.html ]; then
+    cp doc/parsexml.html $docdir/parsexml.html
+    chmod 644 $docdir/parsexml.html
+  fi
+  if [ -f doc/pegs.html ]; then
+    cp doc/pegs.html $docdir/pegs.html
+    chmod 644 $docdir/pegs.html
+  fi
+  if [ -f doc/queues.html ]; then
+    cp doc/queues.html $docdir/queues.html
+    chmod 644 $docdir/queues.html
+  fi
+  if [ -f doc/rdstdin.html ]; then
+    cp doc/rdstdin.html $docdir/rdstdin.html
+    chmod 644 $docdir/rdstdin.html
+  fi
+  if [ -f doc/re.html ]; then
+    cp doc/re.html $docdir/re.html
+    chmod 644 $docdir/re.html
+  fi
+  if [ -f doc/redis.html ]; then
+    cp doc/redis.html $docdir/redis.html
+    chmod 644 $docdir/redis.html
+  fi
+  if [ -f doc/ropes.html ]; then
+    cp doc/ropes.html $docdir/ropes.html
+    chmod 644 $docdir/ropes.html
+  fi
+  if [ -f doc/scgi.html ]; then
+    cp doc/scgi.html $docdir/scgi.html
+    chmod 644 $docdir/scgi.html
+  fi
+  if [ -f doc/sdl.html ]; then
+    cp doc/sdl.html $docdir/sdl.html
+    chmod 644 $docdir/sdl.html
+  fi
+  if [ -f doc/sdl_gfx.html ]; then
+    cp doc/sdl_gfx.html $docdir/sdl_gfx.html
+    chmod 644 $docdir/sdl_gfx.html
+  fi
+  if [ -f doc/sdl_image.html ]; then
+    cp doc/sdl_image.html $docdir/sdl_image.html
+    chmod 644 $docdir/sdl_image.html
+  fi
+  if [ -f doc/sdl_mixer.html ]; then
+    cp doc/sdl_mixer.html $docdir/sdl_mixer.html
+    chmod 644 $docdir/sdl_mixer.html
+  fi
+  if [ -f doc/sdl_mixer_nosmpeg.html ]; then
+    cp doc/sdl_mixer_nosmpeg.html $docdir/sdl_mixer_nosmpeg.html
+    chmod 644 $docdir/sdl_mixer_nosmpeg.html
+  fi
+  if [ -f doc/sdl_net.html ]; then
+    cp doc/sdl_net.html $docdir/sdl_net.html
+    chmod 644 $docdir/sdl_net.html
+  fi
+  if [ -f doc/sdl_ttf.html ]; then
+    cp doc/sdl_ttf.html $docdir/sdl_ttf.html
+    chmod 644 $docdir/sdl_ttf.html
+  fi
+  if [ -f doc/sequtils.html ]; then
+    cp doc/sequtils.html $docdir/sequtils.html
+    chmod 644 $docdir/sequtils.html
+  fi
+  if [ -f doc/sets.html ]; then
+    cp doc/sets.html $docdir/sets.html
+    chmod 644 $docdir/sets.html
+  fi
+  if [ -f doc/smpeg.html ]; then
+    cp doc/smpeg.html $docdir/smpeg.html
+    chmod 644 $docdir/smpeg.html
+  fi
+  if [ -f doc/smtp.html ]; then
+    cp doc/smtp.html $docdir/smtp.html
+    chmod 644 $docdir/smtp.html
+  fi
+  if [ -f doc/sockets.html ]; then
+    cp doc/sockets.html $docdir/sockets.html
+    chmod 644 $docdir/sockets.html
+  fi
+  if [ -f doc/sphinx.html ]; then
+    cp doc/sphinx.html $docdir/sphinx.html
+    chmod 644 $docdir/sphinx.html
+  fi
+  if [ -f doc/ssl.html ]; then
+    cp doc/ssl.html $docdir/ssl.html
+    chmod 644 $docdir/ssl.html
+  fi
+  if [ -f doc/streams.html ]; then
+    cp doc/streams.html $docdir/streams.html
+    chmod 644 $docdir/streams.html
+  fi
+  if [ -f doc/strtabs.html ]; then
+    cp doc/strtabs.html $docdir/strtabs.html
+    chmod 644 $docdir/strtabs.html
+  fi
+  if [ -f doc/strutils.html ]; then
+    cp doc/strutils.html $docdir/strutils.html
+    chmod 644 $docdir/strutils.html
+  fi
+  if [ -f doc/subexes.html ]; then
+    cp doc/subexes.html $docdir/subexes.html
+    chmod 644 $docdir/subexes.html
+  fi
+  if [ -f doc/system.html ]; then
+    cp doc/system.html $docdir/system.html
+    chmod 644 $docdir/system.html
+  fi
+  if [ -f doc/tables.html ]; then
+    cp doc/tables.html $docdir/tables.html
+    chmod 644 $docdir/tables.html
+  fi
+  if [ -f doc/terminal.html ]; then
+    cp doc/terminal.html $docdir/terminal.html
+    chmod 644 $docdir/terminal.html
+  fi
+  if [ -f doc/theindex.html ]; then
+    cp doc/theindex.html $docdir/theindex.html
+    chmod 644 $docdir/theindex.html
+  fi
+  if [ -f doc/threads.html ]; then
+    cp doc/threads.html $docdir/threads.html
+    chmod 644 $docdir/threads.html
+  fi
+  if [ -f doc/times.html ]; then
+    cp doc/times.html $docdir/times.html
+    chmod 644 $docdir/times.html
+  fi
+  if [ -f doc/tools.html ]; then
+    cp doc/tools.html $docdir/tools.html
+    chmod 644 $docdir/tools.html
+  fi
+  if [ -f doc/trmacros.html ]; then
+    cp doc/trmacros.html $docdir/trmacros.html
+    chmod 644 $docdir/trmacros.html
+  fi
+  if [ -f doc/tut1.html ]; then
+    cp doc/tut1.html $docdir/tut1.html
+    chmod 644 $docdir/tut1.html
+  fi
+  if [ -f doc/tut2.html ]; then
+    cp doc/tut2.html $docdir/tut2.html
+    chmod 644 $docdir/tut2.html
+  fi
+  if [ -f doc/typeinfo.html ]; then
+    cp doc/typeinfo.html $docdir/typeinfo.html
+    chmod 644 $docdir/typeinfo.html
+  fi
+  if [ -f doc/unicode.html ]; then
+    cp doc/unicode.html $docdir/unicode.html
+    chmod 644 $docdir/unicode.html
+  fi
+  if [ -f doc/unidecode.html ]; then
+    cp doc/unidecode.html $docdir/unidecode.html
+    chmod 644 $docdir/unidecode.html
+  fi
+  if [ -f doc/unsigned.html ]; then
+    cp doc/unsigned.html $docdir/unsigned.html
+    chmod 644 $docdir/unsigned.html
+  fi
+  if [ -f doc/uri.html ]; then
+    cp doc/uri.html $docdir/uri.html
+    chmod 644 $docdir/uri.html
+  fi
+  if [ -f doc/web.html ]; then
+    cp doc/web.html $docdir/web.html
+    chmod 644 $docdir/web.html
+  fi
+  if [ -f doc/xmldom.html ]; then
+    cp doc/xmldom.html $docdir/xmldom.html
+    chmod 644 $docdir/xmldom.html
+  fi
+  if [ -f doc/xmldomparser.html ]; then
+    cp doc/xmldomparser.html $docdir/xmldomparser.html
+    chmod 644 $docdir/xmldomparser.html
+  fi
+  if [ -f doc/xmlparser.html ]; then
+    cp doc/xmlparser.html $docdir/xmlparser.html
+    chmod 644 $docdir/xmlparser.html
+  fi
+  if [ -f doc/xmltree.html ]; then
+    cp doc/xmltree.html $docdir/xmltree.html
+    chmod 644 $docdir/xmltree.html
+  fi
+  if [ -f doc/zipfiles.html ]; then
+    cp doc/zipfiles.html $docdir/zipfiles.html
+    chmod 644 $docdir/zipfiles.html
+  fi
+  if [ -f doc/zmq.html ]; then
+    cp doc/zmq.html $docdir/zmq.html
+    chmod 644 $docdir/zmq.html
+  fi
   if [ -f doc/mytest.cfg ]; then
     cp doc/mytest.cfg $docdir/mytest.cfg
     chmod 644 $docdir/mytest.cfg
@@ -287,6 +719,8 @@ if [ $# -eq 1 ] ; then
   chmod 644 $libdir/system/excpt.nim
   cp lib/system/gc.nim $libdir/system/gc.nim
   chmod 644 $libdir/system/gc.nim
+  cp lib/system/gc2.nim $libdir/system/gc2.nim
+  chmod 644 $libdir/system/gc2.nim
   cp lib/system/hti.nim $libdir/system/hti.nim
   chmod 644 $libdir/system/hti.nim
   cp lib/system/inclrtl.nim $libdir/system/inclrtl.nim
@@ -495,6 +929,8 @@ if [ $# -eq 1 ] ; then
   chmod 644 $libdir/wrappers/joyent_http_parser.nim
   cp lib/wrappers/libcurl.nim $libdir/wrappers/libcurl.nim
   chmod 644 $libdir/wrappers/libcurl.nim
+  cp lib/wrappers/libffi.nim $libdir/wrappers/libffi.nim
+  chmod 644 $libdir/wrappers/libffi.nim
   cp lib/wrappers/libsvm.nim $libdir/wrappers/libsvm.nim
   chmod 644 $libdir/wrappers/libsvm.nim
   cp lib/wrappers/libuv.nim $libdir/wrappers/libuv.nim