delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2013/02/20/00:15:09

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Received: by 10.224.18.199 with SMTP id x7mr12265339qaa.1.1361336954095;
Tue, 19 Feb 2013 21:09:14 -0800 (PST)
X-Received: by 10.49.127.198 with SMTP id ni6mr1499812qeb.23.1361336953900;
Tue, 19 Feb 2013 21:09:13 -0800 (PST)
Newsgroups: comp.os.msdos.djgpp
Date: Tue, 19 Feb 2013 21:09:13 -0800 (PST)
In-Reply-To: <7711403b-42eb-4bfb-a428-a1a8a13668bc@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>
<CANvU5FzKq6CHZ+ndTNi+SMmoOp2_=a4f1PxCr29+Paz-AntZew AT mail DOT gmail DOT com>
<9e1a0c67-16e6-4b5f-a629-5cde30153e8c AT googlegroups DOT com> <879d0ad5-af52-4f48-9361-1ad14d00cfd5 AT googlegroups DOT com>
<1a6b7fa4-67fd-4656-8285-4f43e8ea9e82 AT googlegroups DOT com> <7711403b-42eb-4bfb-a428-a1a8a13668bc AT googlegroups DOT com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <358ee1a4-fa15-468f-bafa-9cd7e57f97a7@googlegroups.com>
Subject: Re: compilation of sqlite3 on dos using djgpp
From: rugxulo AT gmail DOT com
Cc: djgpp AT delorie DOT com
Injection-Date: Wed, 20 Feb 2013 05:09:14 +0000
Bytes: 3946
Lines: 58
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Hi,

On Tuesday, February 19, 2013 9:24:45 PM UTC-6, mahesh wrote:
> 
> The error I was getting for libgcc and libc was because I have not
> set files=50 on my floppy ( It was on my hdd) When I changed it to
> files=50 and buffers=40 that error disappeared.

Okay, good to know, though I'm sure some doc somewhere (I forget
exactly, FAQ?) mentions setting it to at least 40. (BUFFERS isn't 
necessary but probably loads faster. If you use a software cache
like UIDE, it's probably not necessary.)

> However I got new error undefined reference to DLopen.
> 
> I just got to know i have to link it with -ldl to get rid of
> these errors.

IIRC, DJGPP "current" 2.03p2 doesn't support dlopen(). In fact, only
with "beta" 2.04 DXE3 (and unofficial, third-party DJELF) can
you get it working, but it's usually too problematic for most users.

> I can not boot into my USB prndrive directly,

Have you tried? RUFUS works for me. Even UNetBootIn will work (but
won't save changes). Perhaps you can't "boot" with USB, but maybe
the BIOS still supports it as if it was a hard disk? You can then
"only boot" via floppy but store files on USB. Actually, for a
while, I used PLoP Boot Manager, on my old P4 via floppy, to boot
a USB frugal install of Puppy Linux.

http://www.plop.at/

> but I can bootd into DOS and then using linld.com I can load
> puppy linux. But I still prefer to work in DOS environment.

At least give RUFUS a try before giving up entirely. Or, worst
case, compress the heck out of your files with 7-Zip or UHarc
or whatever (paq8px?). Floppies need all the help they can get!

> If I boot into DOS and use sqlite binary it is much faster
> than using GUI.

"Faster"? Dunno, kinda doubt it. Easier and more convenient?
Yes, definitely. If you don't want GUI, just use something
like "puppy pfix=nox" at the Linux "boot:" loadup screen. Granted,
I'm using an older version, so maybe yours is different, but
that should work. Or use (old, 2.4.x) console-only-by-default
ZipSlack (Slackware 11). Or FreeBSD, which doesn't install X11
by default.

I'm not saying SQLite won't work in DOS, dunno, but sometimes
it's more trouble than it's worth doing things the hard way.

P.S. I had thought Dungeon Crawl: Stone Soup, which dropped DJGPP
support a few years ago, had used SQLite. Maybe it will offer some
tips, e.g. old version 0.5.2.

http://sourceforge.net/projects/crawl-ref/files/Stone%20Soup/0.5.2/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019