On Tue, Mar 31, 2009 at 1:37 PM, Roger Pack <rogerdpack at gmail.com>
wrote:> Question for anybody.
> So...currently in ruby on windows it seems that it handles .so files
> quite nicely [in 1.9, .dll is actually no longer handled--only .so]
> Typical windows programs use .dll''s, while Ruby uses
.so''s. ?How is
> this possible? ?Is it special?
Actually is just the DLL name. they used to put that since there are
extensions like zlib that shared the exact same name with the DLL
(zlib.dll back in 1.x times, now is zlib1.dll).
There are others, like readline and maybe others (that I don''t
remember right now).
So looking just for .so is like Python looking for .pyd files instead
of plain DLL ones.
Inside of these files, there is just one exported function
"Init_[extension_name]"
> Thanks!
Cheers,
--
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exup?ry