New user problems with OSLib

Mark Beerling beerling at freenet.de
Wed Dec 31 17:37:55 GMT 2008


In message <256c4f1650.druck at druck.freeuk.net>
          "David J. Ruck" <druck at druck.org.uk> wrote:

> 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.

Possibly I've got a LibFile tool conflict. I've got Castles C/C++ 
Version 5.54. The Castle LibFile tool just hangs & doesn't list the 
contents of the 6.90 library. The GCCbin:LibFile does list the 
contents of the library but, as I wrote, not all the functions are 
found.

Both versions of LibFile can list the contents of version 6.70 of 
OSLibSupport. This version of OSLibSupport also links & runs with my 
program.

> 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.

I can't recompile OSLib because I only have AMU from version 5.54 of 
Castles C/C++. Version 6 is required.

I'm trying to move away from Castles C/C++ because its no longer 
supported. It would be good if a GCC version of the library were 
available.


> Cheers
> ---Dave

Thanks for your help.


-- 
Mark Beerling



More information about the oslib-user mailing list