Dear  Sir,
I am in computer field since 1988 and I have started my career with pc with
two 360k floppy drivers.
I have some accounting package I have written using sqlite as a back end
and even though my pc is not accepting hard disk I have to run this
software any how.
I am on Windows platform and do not have in deth knowledge about Linux.
Regarding remving reference og mmap and munmap one gentlmen
fromcomp.os.msdos.djgpp claimed, he has compiled sqlite bu removing these
references and that he is using the library without any problem.  I have
got othersuch replies from stackoverflow too. I have used malloc function
instead and I shall be replacing it with memory allocation routines for
DPMI.
In my about 25 years carrer in software I have developed many commercial
applications which fit on a single floppy. Although I m used to Microsoft
Vista and bulky software, I still love the immediate startup though floppy.
I certainly lack knowledge of linux architecture although I am using
puppylinux for some years now.
I shall be thankful to you, if you kindly guide me in compiling sqlite3 in
proper way.
Thanking you.
-Mahesh Chavan
On Tue, Feb 19, 2013 at 10:52 PM, Ryan Johnson
<ryan.john...@cs.utoronto.ca>wrote:

> 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<http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users>
>
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to