compiling sqlite3 on dos using djgpp

426 Views Asked by At

I want to compile Sqlite latest version on DOS. When I tried, I was able to make libsqlite3.a To make it work I have used fchown-stub.c But when I tried to link it to shell.o to make exe, it gave me error mmap undefined and munmap undefined. Both of them are defined in sys/stat.h I think mmap and munmap are specific to linux and there is no equ. in dos. While porting unix to dos many programmers should be facing the same problem. Please let me know, how to solve this problem. Thanking you.

0

There are 0 best solutions below