Hello everyone!
After almost more than 5 months, we have finally release version 0.12.0!
Check it out: http://nim-lang.org/news.html#Z2015-10-27-version-0-12-0-released
YAYYYYYYYYYYYYY Good job nim team! good job!
Now Go-Lang killer is rising!
This is how you can get nim to compile on cygwin
Make the following changes
$ ls -l build.sh
-rwxr-xr-x 1 ssiew Domain Users 241 May 14 10:16 build.sh
$ diff -u build.sh.steven.backup.20150515 build.sh
--- build.sh.steven.backup.20150515 2015-05-15 14:33:58.334121400 +1000
+++ build.sh 2015-05-15 14:34:35.685856200 +1000
@@ -28,7 +28,7 @@
CC="gcc"
LINKER="gcc"
-COMP_FLAGS="-w -O3 -fno-strict-aliasing$extraBuildArgs"
+COMP_FLAGS="-w -O3 -fno-strict-aliasing$extraBuildArgs -D MAP_POPULATE=0"
LINK_FLAGS=""
# platform detection
ucpu=`uname -m`
@@ -49,6 +49,10 @@
uos=`echo $uos | tr "[:upper:]" "[:lower:]"`
case $uos in
+ *cygwin* )
+ myos="linux"
+ LINK_FLAGS="$LINK_FLAGS -ldl -lm"
+ ;;
*linux* )
myos="linux"
LINK_FLAGS="$LINK_FLAGS -ldl -lm"
$ ls -l config/nim.cfg
-rw-r--r-- 1 ssiew Domain Users 4890 May 15 11:31 config/nim.cfg
$ diff -u nim.cfg.steven.backup.20150515 nim.cfg
--- nim.cfg.steven.backup.20150515 2015-05-15 14:37:07.333019400 +1000
+++ nim.cfg 2015-05-15 11:31:58.591190500 +1000
@@ -108,7 +108,7 @@
gcc.options.always = "-w"
gcc.cpp.options.always = "-w -fpermissive"
@else:
- gcc.options.always = "-w"
+ gcc.options.always = "-w -D MAP_POPULATE=0"
gcc.cpp.options.always = "-w -fpermissive"
@end