Building rdiscount on Windows in Cygwin

$ gcc -D HAVE_SRAND -D HAVE_RAND -D _MSC_VER=1200
 -mno-cygwin  -mdll -o rdiscount.dll
 -I . -I C:/Ruby/lib/ruby/1.8/i386-mswin32/ *.c C:/Ruby/bin/msvcrt-ruby18.dll

About this entry