Page 3 of 3

Re: SQLite

Posted: Fri Mar 11, 2022 8:04 pm
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.

Re: SQLite

Posted: Fri Mar 11, 2022 10:02 pm
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.