delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2013/02/20/08:45:22

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Received: by 10.224.189.78 with SMTP id dd14mr12909570qab.0.1361366954431;
Wed, 20 Feb 2013 05:29:14 -0800 (PST)
X-Received: by 10.49.116.1 with SMTP id js1mr1675195qeb.19.1361366954382; Wed,
20 Feb 2013 05:29:14 -0800 (PST)
Newsgroups: comp.os.msdos.djgpp
Date: Wed, 20 Feb 2013 05:29:14 -0800 (PST)
In-Reply-To: <43bcdb29-6ac3-4cdf-a0ca-e73adb60bf91@googlegroups.com>
Complaints-To: groups-abuse AT google DOT com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=120.60.27.115;
posting-account=-J4QYgoAAADixJ1fgJcNtE6XYdP2WoO_
NNTP-Posting-Host: 120.60.27.115
References: <43bcdb29-6ac3-4cdf-a0ca-e73adb60bf91 AT googlegroups DOT com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c1279d73-5396-47e0-9dd5-fb9f22285db7@googlegroups.com>
Subject: Re: compilation of sqlite3 on dos using djgpp
From: mahesh DOT s DOT chavan AT gmail DOT com
Injection-Date: Wed, 20 Feb 2013 13:29:14 +0000
X-Received-Bytes: 2329
Bytes: 2546
Lines: 28
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id r1KDj1jT008198
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

If I can not use current djgpp to compile sqlite3, I must get some old binaries from somebody.
Yuor suggestion of using pfix=nox is really good suggestion.
I have got Transced * GB pendrive which BIOS show as hard drive. But when I make it bootable, it is shown as pen drive and puppy puts grub on MBR assuming it is sda1. That is why I have to use linld.
You say Rufus worked for you, but can I use fat32 formmatted pendrive to make it bootable by DOS which uses 16 bit fat?
Thanking you.
-Mahesh

On Sunday, February 17, 2013 9:05:43 PM UTC+8, mahesh DOT  DOT  DOT  DOT  AT gmail DOT com wrote:
> Dear Sir,
> 
> 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.


- Raw text -


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