N
Newb Newb
hi..
i just followed the peter cooper's tutorial on How to create a Ruby
extension in C in under 5 minutes in the rubyinside.com.
folowng the tutorial i create extconf.rb and MyTest.c .
i installed the cygwin.
in that command prompt i given command =>$ ruby extconf.rb
after giving the command it created the makefile in to my folder.
after that i given command => $ make
it creates MyTest.o file and mytest(this file type is Apache Loadable
Module)
and no errors...
it has not created the .so file into my folder...
In irb when i give require 'mytest'
the irb doesnot display anything...
what is the problem..and what i m doing wrong....
Kindly Help Me out...
i just followed the peter cooper's tutorial on How to create a Ruby
extension in C in under 5 minutes in the rubyinside.com.
folowng the tutorial i create extconf.rb and MyTest.c .
i installed the cygwin.
in that command prompt i given command =>$ ruby extconf.rb
after giving the command it created the makefile in to my folder.
after that i given command => $ make
it creates MyTest.o file and mytest(this file type is Apache Loadable
Module)
and no errors...
it has not created the .so file into my folder...
In irb when i give require 'mytest'
the irb doesnot display anything...
what is the problem..and what i m doing wrong....
Kindly Help Me out...