Jeff Shepherd wrote:
Just a reply to forward it to the openoffice list, because it doesn't seem to apear from you there. Semms that you have to be on the lists.
Max Larsson wrote:
Hans-Joerg Frieden wrote:
Max Larsson wrote:
For my part i am trying to build the nspr under OS3.9 running inside UAE. By the way i am documneting how to set up a development
envirnoment
for OS3.9.
Isn't NSPR completed yet for AmiZilla?
It is pretty close to being complete. I haven't worked on it for a bit but functionally, it should be nearly there. The major differences which will have to be worked on for OS4 is shared library support. NSPR wants functions which can return pointers to functions or variables from a shared library. Obviously that isn't something that is standard for AmigaOS shared libraries. I hacked on a2ixlibrary to allow for shared library support without using ixemul.library. I also put support in a2ixlibrary for returning pointers to functions and variables as well.
The gcc patch was to support -L arguments to find shared components created by a2ixlibrary (the default was a fixed location). Those components shouldn't be needed for OS4 since it looks like it has better shared library support than OS 3.x.
I don't have a OS4 box to do any testing with it.
Max Larsson wrote:
It is pretty close to being complete. I haven't worked on it for a bit but functionally, it should be nearly there. The major differences which will have to be worked on for OS4 is shared library support. NSPR wants functions which can return pointers to functions or variables from a shared library. Obviously that isn't something that is standard for AmigaOS shared libraries.
It's quite easy to do, though. On OS 4, if push comes to shove, we have a link library that contains the usual set of dlopen/dlclose/dlsym that works directly with ELF object file. It doesn't work too much like Linux - the "library" isn't mapped as a shared object, i.e. it needs to be reloaded by every user - but it resolves its own symbols from the opener's symbol pool, and as such is sufficient for this purpose.
If the library can be compiled with baserel-code, things get even better.
I don't have a OS4 box to do any testing with it.
If he has a CyberStormPPC, I am sure we can get him into the beta programme ;-)
Regards,