New user problems with OSLib

David J. Ruck druck at druck.org.uk
Wed Dec 31 12:54:34 GMT 2008


On 31 Dec 2008 Mark Beerling <beerling at freenet.de> wrote:
> I examined the contents of the library OSLibSupport (using LibFile -s)
> and found that the event_* functions required are not in the library.
> They are not in Version 6.80 but are in version 6.70 (APCS-R (26-bit))
> which is obsolete. I'm now a bit confused.

6.90 is the currently latest version of OSLib and the functions are 
definitely in o.OSLibSupport32 of that.

> Is not the library without the '32'  extension the version for APCS-R?

It is the 26 bit only version. All software should be compiled with 
the 32bit neutral versions these days.

> Why are the event_* functions not in the library.

I'm not going to try to download an old version to check, but I ssume 
they are there, and should link. However, I would be wary of using the 
OSLibSupport functions which are compiled Norcroft C code in a GCC 
project, there can be serious issues maxing code from the compilers.

The rest of OSLib is assembler functions so are ok. The OSLibSupport 
source does have GNU makefile, and I would rebuild with your chosen 
GCC version, before using in a GCC project.

Cheers
---Dave

-- 
______________________________________________________________________

David J. Ruck   Phone: +44- (0)7974 108301   Email: druck at druck.org.uk
______________________________________________________________________



More information about the oslib-user mailing list