Hi,
the build scripts generate results/vm-display-null, results/vm-display-X11 etc. Would it be possible to add the *.so extension to all of these in the build script? That would help the debian/ubuntu packaging which is looking for extensions.
On 11 April 2013 16:32, Damien Cassou damien.cassou@gmail.com wrote:
Hi,
the build scripts generate results/vm-display-null, results/vm-display-X11 etc. Would it be possible to add the *.so extension to all of these in the build script? That would help the debian/ubuntu packaging which is looking for extensions.
are all unix-based systems using .so extension for dynamic libs? i guess these modules left without extension on purpose to not pollute VM code with dealing with unix dialect-specificness.
-- Damien Cassou http://damiencassou.seasidehosting.st
"Success is the ability to go from one failure to another without losing enthusiasm." Winston Churchill
On Thu, Apr 11, 2013 at 10:28 PM, Igor Stasenko siguctua@gmail.com wrote:
are all unix-based systems using .so extension for dynamic libs? i guess these modules left without extension on purpose to not pollute VM code with dealing with unix dialect-specificness.
all the ones I've heard of do. Wikipedia says " In Unix-like operating systems using ELF, dynamically-loaded shared libraries can be identified by the filename suffix .so (shared object)." Solaris also uses this extension http://docs.oracle.com/cd/E26505_01/html/816-5165/ld.so.1-1.html. There is also this page which says that "In most modern Unix-like systems [...] the filenames always start with lib, and end with .a (archivehttp://en.wikipedia.org/wiki/Ar_%28file_format%29, static library) or .so (shared object, dynamically linked library)". http://en.wikipedia.org/wiki/Library_%28computing%29#File_naming
On 12 April 2013 07:44, Damien Cassou damien.cassou@gmail.com wrote:
On Thu, Apr 11, 2013 at 10:28 PM, Igor Stasenko siguctua@gmail.com wrote:
are all unix-based systems using .so extension for dynamic libs? i guess these modules left without extension on purpose to not pollute VM code with dealing with unix dialect-specificness.
all the ones I've heard of do. Wikipedia says " In Unix-like operating systems using ELF, dynamically-loaded shared libraries can be identified by the filename suffix .so (shared object)." Solaris also uses this extension http://docs.oracle.com/cd/E26505_01/html/816-5165/ld.so.1-1.html. There is also this page which says that "In most modern Unix-like systems [...] the filenames always start with lib, and end with .a (archive, static library) or .so (shared object, dynamically linked library)". http://en.wikipedia.org/wiki/Library_%28computing%29#File_naming
Then i do not see why..
The code to manage those modules is under /*** modules ***/ section in platforms/unix/vm/sqUnixMain.c
but at the end it using a common ioLoadModule() function which also used for loading plugins. And since plugins having .so extension and work well, then perhaps those ones should also work. But i remember i had problems with it when was first working on CMakeVMMaker configs, and i found that for some reason they are not found/cannot be loaded if i use .so extension.. so maybe there's nothing in C code which would prevent it from working, but my ignorance :)
-- Damien Cassou http://damiencassou.seasidehosting.st
"Success is the ability to go from one failure to another without losing enthusiasm." Winston Churchill
On Fri, Apr 12, 2013 at 8:22 AM, Igor Stasenko siguctua@gmail.com wrote:
and i found that for some reason they are not found/cannot be loaded if i use .so extension.. so maybe there's nothing in C code which would prevent it from working, but my ignorance :)
in my Ubuntu package I renamed all files to get the .so extension and things are working fine.
On 12 April 2013 12:12, Damien Cassou damien.cassou@gmail.com wrote:
On Fri, Apr 12, 2013 at 8:22 AM, Igor Stasenko siguctua@gmail.com wrote:
and i found that for some reason they are not found/cannot be loaded if i use .so extension.. so maybe there's nothing in C code which would prevent it from working, but my ignorance :)
in my Ubuntu package I renamed all files to get the .so extension and things are working fine.
if so, then it will be very easy to change it in config.
-- Damien Cassou http://damiencassou.seasidehosting.st
"Success is the ability to go from one failure to another without losing enthusiasm." Winston Churchill
vm-dev@lists.squeakfoundation.org