From: Gavin Sinclair Date: 2003-02-13T23:15:31+09:00 Subject: Re: Windows support On Thursday, February 13, 2003, 7:40:35 AM, Daniel wrote: > Hello, > Suppose I write a Ruby module with some C code in it. This is no > problem under Unix, Linux and Mac, but it makes things harder under > Windows. What is the best way to support Windows? Look into MinGW. I don't use it at the moment myself, but I understand that the binary objects that it produces are compatible with the pragprog Windows Ruby distribution. MinGW feels like Unix (gcc/make), so it should work as is for your code. It's free, obviously, which is one big advantage over VC++. Packaging-wise, look at the Wiki for a QuickGuideToPackaging. There should be a standard way to bundle the C code and have it built with the correct tools on the target platform, without you needing to even write a Makefile. Gavin