Re: [libxml-devel] Release and Windows Gem

2008-02-11 Thread Trans
On Feb 8, 6:31 pm, Charlie Savage <[EMAIL PROTECTED]> wrote: > > Oh? Hmm... I'm just going by what I've read others doing --cross > > compiling on Linux using mingw. I'm not sure at all about actually > > compiling on a WIndows platform, since I don't use Windows at all. > > I haven't tried that

Re: [libxml-devel] Release and Windows Gem

2008-02-10 Thread Charlie Savage
I just updated the extconf.rb, putting in the master if-condition. I added a Makefile template to the data section at the bottom of the file. For the win32 part it simply grabs the DATA and eval it in context to build the Makefile. The template currentlu is just a copy of what extconf.rb already g

Re: [libxml-devel] Release and Windows Gem

2008-02-10 Thread Trans
On Feb 9, 9:30 pm, Charlie Savage <[EMAIL PROTECTED]> wrote: > almost no one on Windows has a C/C++ > compiler installed so making extconf.rb/mkmf.rb work doesn't really buy > you much. Right, right. But just having the compile process be the same --for developers, whatever the platform, is the

Re: [libxml-devel] Release and Windows Gem

2008-02-09 Thread Charlie Savage
It occurs to me that extconf.rb is really nothing special. It is mkmf.rb, which extconf.rb uses, that is special. So then we should be able to simply put a master if-condition in there and do the mkmf.rb thing if on Linux, and generate our own Makefile instead if on Windows. Would that work ok? T

Re: [libxml-devel] Release and Windows Gem

2008-02-09 Thread Trans
On Feb 9, 5:03 pm, Charlie Savage <[EMAIL PROTECTED]> wrote: > > So this works for you to compile on Windows? I guess I'm a confused > > b/c you are using Config::CONFIG here. Isn't that what extconf.rb > > uses? But you said that's was why extconf.rb didn't work. > > Sorry, that might have been

Re: [libxml-devel] Release and Windows Gem

2008-02-09 Thread Charlie Savage
So this works for you to compile on Windows? I guess I'm a confused b/c you are using Config::CONFIG here. Isn't that what extconf.rb uses? But you said that's was why extconf.rb didn't work. Sorry, that might have been a bit confusing. I only pick out a few parts from it: ["archdir", "/lib

Re: [libxml-devel] Release and Windows Gem

2008-02-09 Thread Trans
2008/2/8 Charlie Savage <[EMAIL PROTECTED]>: > You need to call the correct make program (make vs nmake), link to the > right libraries, set up the correct include paths, etc. Also, what > about the depedency on libxml? How would that work in a cross-compiled > environment? > > > Yea, I'm not sur

Re: [libxml-devel] Release and Windows Gem

2008-02-08 Thread Charlie Savage
Oh? Hmm... I'm just going by what I've read others doing --cross compiling on Linux using mingw. I'm not sure at all about actually compiling on a WIndows platform, since I don't use Windows at all. I haven't tried that - you have some links I can look at? Just to be a bit more clear about th

Re: [libxml-devel] Release and Windows Gem

2008-02-08 Thread Trans
2008/2/8 Charlie Savage <[EMAIL PROTECTED]>: > > > > Rather then a one-off script, care to help me automate that > > functionality in Reap? > > Took a quick look, does it have any support for building c extensions? Yes, using extconf.rb and make. > The problem you'll run into is that you can't us

Re: [libxml-devel] Release and Windows Gem

2008-02-08 Thread Charlie Savage
Rather then a one-off script, care to help me automate that functionality in Reap? Took a quick look, does it have any support for building c extensions? The problem you'll run into is that you can't use extconf.rb on Windows with MinGW because all the CONFIG settings are based on VC++ and

Re: [libxml-devel] Release and Windows Gem

2008-02-08 Thread Trans
2008/2/7 Charlie Savage <[EMAIL PROTECTED]>: > And talking about releases, has a windows build system been setup yet? > If not, I'm happy to volunteer and create a windows gem. Rather then a one-off script, care to help me automate that functionality in Reap? I've just reached an early beta status