X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Received: by 10.224.18.132 with SMTP id w4mr13910333qaa.1.1364471139796; Thu, 28 Mar 2013 04:45:39 -0700 (PDT) X-Received: by 10.49.127.145 with SMTP id ng17mr1406290qeb.9.1364471138616; Thu, 28 Mar 2013 04:45:38 -0700 (PDT) Newsgroups: comp.os.msdos.djgpp Date: Thu, 28 Mar 2013 04:45:38 -0700 (PDT) In-Reply-To: <858e8912-407b-4b7b-843a-8dff31d35068@googlegroups.com> Complaints-To: groups-abuse AT google DOT com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=188.25.61.255; posting-account=mQLKCgoAAAD2RZdG1lIZzaYT8n8V4Q8o NNTP-Posting-Host: 188.25.61.255 References: <858e8912-407b-4b7b-843a-8dff31d35068 AT googlegroups DOT com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Mmap() and modify_ldt() in DOS From: sahrian AT lavabit DOT com Injection-Date: Thu, 28 Mar 2013 11:45:39 +0000 Content-Type: text/plain; charset=ISO-8859-1 Bytes: 2422 Lines: 22 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id r2SC02w1009880 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 Precedence: bulk On Sunday, March 10, 2013 9:52:34 AM UTC+2, Napoleon80386 wrote: > Hello. In this topic https://groups.google.com/forum/#!topic/comp.os.msdos.djgpp/yjONXRu-eDw > > my friend asked you about some help for building Wine on DJGPP. > > I am also trying to do this. I have already compiled very old version of Wine (when Bob Amstadt was project leader). It runs, but only can show greeting of command line and check whether executable is NE. If I try to run sample app, SIGSERV stops this with error "Illegal parameter in syscall". I guess that problem is mmap() and modify_ldt(), both are only stubs now. > > I am using EMX - it implements more nesessary POSIX API. In 1990s some users tried to port alpha Wine on OS/2 using EMX (you can look into /documentation/wine_os2). They wrote that it is nesessary to implement mmap() and ldt. I wrote to email in this file, but mail server said that this adress no more exists :( > > DJGPP and EMX can live together - I am using bash and make from DJGPP. So, I want to ask you some help to implement these functions. You may also want to look on the source code of my mplayer DJGPP port, especially on the Windows DLL loading part.