X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Received: by 10.224.172.200 with SMTP id m8mr490886qaz.0.1364506626472; Thu, 28 Mar 2013 14:37:06 -0700 (PDT) X-Received: by 10.49.3.129 with SMTP id c1mr15105qec.40.1364506626450; Thu, 28 Mar 2013 14:37:06 -0700 (PDT) Newsgroups: comp.os.msdos.djgpp Date: Thu, 28 Mar 2013 14:37:06 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse AT google DOT com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2.173.27.66; posting-account=v5xbdQoAAAAOGc9Ccc-kLZyobvPlN3Qr NNTP-Posting-Host: 2.173.27.66 References: <858e8912-407b-4b7b-843a-8dff31d35068 AT googlegroups DOT com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <09547ed1-eb44-4a04-bed9-11e609a0bc2d@googlegroups.com> Subject: Re: Mmap() and modify_ldt() in DOS From: Georg Potthast Injection-Date: Thu, 28 Mar 2013 21:37:06 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Received-Bytes: 2722 Bytes: 2939 Lines: 39 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 r2SLj2aN018171 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 Am Donnerstag, 28. März 2013 12:45:38 UTC+1 schrieb Khusraw: > 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. Do you mean the "ELFDLL_LoadLibraryExA" in elfdll.c? The file includes wine header files but I see no mmap. Georg