From: Brian Candler Date: 2003-05-22T23:02:42+09:00 Subject: Re: OT: pickaxe chap 17 and gcc (ruby/c) On Thu, May 22, 2003 at 10:58:52PM +0900, Rasputin wrote: > > The best after is to create a file extconf.rb > > > > svg% cat extconf.rb > > #!/usr/bin/ruby > > require 'mkmf' > > create_makefile('Test') > > svg% > > > > Then > > > > svg% ruby extconf.rb > > creating Makefile > > svg% > > Aah, right, that's the steps I missed. Where did you get that from? > Is it documented anywhere? http://www.rubycentral.com/book/ext_ruby.html Creating an Extension Having written the source code for an extension, we now need to compile it so Ruby can use it. We can either do this as a shared object, which is dynamically loaded at runtime, or statically link the ... etc Cheers, Brian.