X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com X-Received: by 10.50.163.41 with SMTP id yf9mr2080326igb.3.1361289643093; Tue, 19 Feb 2013 08:00:43 -0800 (PST) Path: glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.os.msdos.djgpp Date: Tue, 19 Feb 2013 08:00:42 -0800 (PST) In-Reply-To: <879d0ad5-af52-4f48-9361-1ad14d00cfd5@googlegroups.com> Complaints-To: groups-abuse AT google DOT com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=65.13.115.246; posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO NNTP-Posting-Host: 65.13.115.246 References: <43bcdb29-6ac3-4cdf-a0ca-e73adb60bf91 AT googlegroups DOT com> <9e1a0c67-16e6-4b5f-a629-5cde30153e8c AT googlegroups DOT com> <879d0ad5-af52-4f48-9361-1ad14d00cfd5 AT googlegroups DOT com> User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-IP: 65.13.115.246 MIME-Version: 1.0 Message-ID: Subject: Re: compilation of sqlite3 on dos using djgpp From: rugxulo AT gmail DOT com To: comp DOT os DOT msdos DOT djgpp AT googlegroups DOT com Cc: djgpp AT delorie DOT com Content-Type: text/plain; charset=ISO-8859-1 Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk Hi, On Tuesday, February 19, 2013 3:55:55 AM UTC-6, mahesh wrote: > > Thank you so much George ! > > But despite your good answer my problem is not solved ! > > I made the changes you suggested. libsq;ite3.a was built. Then > I was able to compile shell.c also. But when I tried to produce > sqlite3.exe, it gave me error ld cannot find -lgcc and -lc. Can you quote exactly what commandline invocation was used and what error message was reported? > I then tried to compile another example which is orking fine on > linux also gave the same error ! Then it's something local to your DOS installation, probably a minor installation error. > Now, libgcc.a and libc.a are already there in the lib directory. > As sugested in one article, I use DOSLFN for enabling long file > names. But the error remains same when I try to use libsqlite3.a ! If you're going to use DOSLFN, you have to install (unzip) with LFNs enabled too. > Now my actual problem is that my pc's IDE bus simply refuses to > recognise my HDD or CD drive, where as they work well on another > pc. > > I am using floppies to boot. I need a program which will work on > floppy. That is why I need sqlite binary or library badly. > > All my work is held up. I am trying to buy PCI-IDE card which > should solve my problem. But till then I have run software on > floppies only. You should be able to boot FreeDOS off of USB also, i.e. RUFUS: http://rufus.akeo.ie/ At least, it works for me, and gives much more space than a common 1.44 MB floppy.