Hello everyone, I recently ported squeak to Syllable OS and it runs with
vm-display-null and 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 some 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 squeak module loader can’t find vm-display-custom anymore. I can
modify the file by adding some structures and functions local to the file but,
like I said, if 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. Thanks, K.Wilson 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. |
He Kelly,
(CC to the vm-dev list) I don't know the answer to your question, but there is a separate mailing list devoted to Squeak VM development that may be of some help. http://lists.squeakfoundation.org/mailman/listinfo/vm-dev - Dave 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 and > 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 some > 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 squeak > module loader can't find vm-display-custom anymore. I can modify the file by > adding some structures and functions local to the file but, like I said, if > 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. > > > > Thanks, > > K.Wilson > > > > 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. > > > > |
In reply to this post by Kelly Wilson-2
Hi Kelly,
--- In [hidden email], Kelly Wilson <wilsonkk@...> wrote: > > Hello everyone, > > > > I recently ported squeak to Syllable OS I was about to send a post to this group asking what the best OS would be for an old laptop that I want to just use for Squeak. It seems that you found the answer for me. I haven't tried Syllable on that laptop yet but it looks to fit the bill. I saw that you posted in the Squeak-vm group that you sloved the video problem. What is the status of the port now? Will you be making it available for general release? Would you like an alpha-tester ;-) Thanks Ted |
Free forum by Nabble | Edit this page |