[Vm-dev] new display driver for Syllable
wilsonkk at shaw.ca
Tue Mar 25 16:53:33 UTC 2008
I managed to figure this out. It seems that the vm-display-custom.la file
was not being properly output because of some Syllable weirdness. The -lSDL
library also wasn't being include correctly for the dynamic lib when being
Anyways, I just looked at what Linux was doing and tried to build the custom
display by hand...this worked.
P.S. I am sure other problems will pop up...I will post when appropriate.
On Sun, Mar 23, 2008 at 10:13:12AM -0600, Kelly Wilson wrote:
> Hello everyone,
> I recently ported squeak to Syllable OS and it runs with vm-display-null
> vm-sound-null just fine. Now I would like to develop the video driver for
> Syllable.unfortunately Syllable's windowing system is written in C++ and
> interfacing to it could be difficult (they may have a C interface set
> up.I'll check). As a backup I was wondering if I can just use SDL by
> modifying the vm-display-custom?
> I tried to modify the vm-display-custom code and it compiles fine with
> SDL functionality but I have one weird problem. If I add any external call
> into the sqUnixCustomWindow.c file then compile/link/install it, the
> module loader can't find vm-display-custom anymore. I can modify the file
> adding some structures and functions local to the file but, like I said,
> I call outside this file (and then include -lSDL or whatever when linking)
> then the loader just can't even see vm-display-custom.
> I can see display_custom and display_custom_itf with the 'nm' command and
> the format of the shared lib looks fine??? Does the loader look for
> something really specific about the libs size or something strange like
> that? I assume it dlopens() it.
> P.S. I am sure that I have all the libs and things in the correct places
> because I can just recompile by commenting out my single external function
> call, recompile, reinstall and things work fine.
More information about the Vm-dev