SQLite

Anything QL Software or Programming Related.
User avatar
XorA
Site Admin
Posts: 1358
Joined: Thu Jun 02, 2011 11:31 am
Location: Shotts, North Lanarkshire, Scotland, UK

Re: SQLite

Post by XorA »

Derek_Stewart wrote:Hi,

I tried to compile sqlite-amalgamation 3380000 with qdos-gcc in the docker implementation of qdos-gcc, which gave 2 error messages saying some libraries are missing:

sys/resources.h
sys/mman.h

since the sqlite amalgation compiles in the modern GCC, I assume the the above libraries are missing from GCC 2.93 and added the GCC later on in its life span.

Can the above libraries be added to qdos-gcc ?
They are headers, and they only really make sense on POSIX based OSes, so you'll need to replace with QDOS equivalents.


Derek_Stewart
Font of All Knowledge
Posts: 3928
Joined: Mon Dec 20, 2010 11:40 am
Location: Sunny Runcorn, Cheshire, UK

Re: SQLite

Post by Derek_Stewart »

Hi,

Thanks, I forgot that qdos-gcc is really C68.

I will have learn POSIX programming, seems I am always learning new topics.


Regards,

Derek
Post Reply