charliesome/racer — pull request #8 by luislavena (2012-08-05 16:44:01+00:00)
Title: Improve portability

Hello!

This pull request integrates a series of changes that make Racer compile on both Windows and Linux platforms and make it more easy generate gems for it.

This is in answer to #7 I proposed before.

I haven't tested OSX yet, added some notes about `-fPIC` usage and perhaps it needs a bit of cleanup on that area, but I think the foundation for this is set.

I've also avoided shelling out in the gemspec and during extension configuration to make things a bit faster.

At this time it compiles on Windows, but it segfaults (needs to investigate). Tested on both Ruby 1.9.3 and trunk.

Let me know your thoughts.

Cheers! :smiley: