On 19/02/2013 8:08 AM, Mahesh Chavan wrote:
My IDE bus is refusing to recognise my HDD or CDROM, I am compelled to
access my PC using floppy only.
I intend to run all my database software on floppy using sqlite3.
I need to develop the software on warfooting. I have already compiled some
programs in Puppy Linux previously.
It's been about 25 years since I last saw a DOS PC with no hard drive that ran everything from floppy....

Meta question: Maybe I'm missing something here, but why are you trying to do *anything* with the PC you describe, let alone run sqlite3? Even if it had an HDD with data worth recovering, you'd have to move it to a machine with working IDE bus to recover it.

When I tried to compile sqlite3 on DOS using Djgpp, the libsqlite3.a file
is produced when I removed references to mmap and munmap from original
source anf added stub for fchown.
But when I tried to produce sqlite3.exe from shell.o, it gave me error* ld
can not find lgcc and lc. However, libgcc.a anf libc.a are both there in
c:\djgpp\lib directory.*
The same problem arises when  I try to compile any program using
libsqlite3.a.
Please guide me how to gt binaries on DOS using  DJGPP
It sounds like you lack basic knowledge of how compilers, linkers, and operating systems work. If so, you'd probably be better off asking for help on a list that deals in those sorts of issues. In particular, removing calls to mmap/munmap from program sources might let you compile and link the code, but it is highly unlikely to produce a working executable (especially not on DOS, when the code assumes Linux conventions).

Ryan

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to