# Compiling Ruby Source on Win32

**URL:** <https://www.ruby-forum.com/t/compiling-ruby-source-on-win32/56069>\
**Category:** Ruby\
**Created:** [March 27, 2006, 10:13pm UTC](https://www.ruby-forum.com/t/compiling-ruby-source-on-win32/56069 "2006-03-27T22:13:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![peterk](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/7993a0/32.png) [@peterk](https://www.ruby-forum.com/u/peterk)\
**Post date:** [March 27, 2006, 10:13pm UTC](https://www.ruby-forum.com/t/compiling-ruby-source-on-win32/56069/1 "2006-03-27T22:13:50Z")

</div>

I want to compile the ruby source so I can have a play with the source  
and try creating some extensions 🙂

So far I have Eclipse IDE with CDT (C Development Tools) and SVN  
installed, as well as Mingw32 which contains gcc, g++ and mingw32-make.

1. Is this a reasonable setup for windows?

2. What should the makefile look like, I tried running the makefile.in  
but I get:

mingw32-make -f makefile.in clean all  
makefile.in:12: \*\*\* missing separator. Stop.

Looking at the readme I should use ./configure to generate a makefile,  
but of course it does not run on win32, I tried running it on Cygwin but  
it didnt make anything.

Many thanks, Pete.
