Date: Mon, 19 Oct 1998 08:53:54 +0200 From: Alexander Bokovoy X-Mailer: The Bat! (v1.012) S/N 137834AC Organization: BSPU named after Maxim Tank Message-ID: <14370.981019@bspu.unibel.by> To: Ilya Ryzhenkov CC: djgpp AT delorie DOT com Subject: Re[2]: MESA/OpenGL used with DJGPP References: <362A446C DOT FB3E9105 AT inetlab DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Ilya wrote: >> However, the Mesa package comes with DJ makefiles, so that tells me >> it can be done. I tried to compile the mesa libs, but got a lot of >> errors such as these: > It compiled well for me with slightly changed native makefiles and > djgpp v2.02 (gcc 2.8.1) except that include/mgl/mglver.h file was > missed from the package for some reason. However it seems that it > doesn't conatain any vital information, so it compiled. But was > failed to work ;) The problem seems to be in pmode lib, which uses > (seems to) incompatible with djgpp usage of DPMI host. It doesn't > use native djgpp DPMI funcs except one - enable near ptr - which > itself can cause problems ... Instead, it issues direct 0x33 > interrupts and seems to be inaccurate. I have used MGL 4.05 for my diploma work with DJGPP 2.01+GCC 2.8.1. All library working good except some problems with bank's detection under several video cards. As for Mesa/MGL, it works fine for me. I have able to compile and run all tests for MESA - even Dolphin test and Fractal Surface. There is no problem with PMode for DJGPP 2.01. >> Has anyone compiled this on DJ 2 , gcc 2.8.1 ? The errors mean, to >> me, that either this DJGPP or Mesa version is incompatible with the >> other. > I'm working extensively on djgpp port of MGL (i use it as a test > project for DLMs http://www.iis.nsk.su/orangy/dlm/) and plan to > contact SciTech Soft to work in coord. If you wish to help, email > me. There also will separate hell with porting MGL to support not > only dos host, but also windows host under djgpp with RSXNTDJ, but > this is plans for far future. I have already contacted with MGL author (Kendall Bennet) and described him problems with DJGPP port known to me. He said that they are working on better DJGPP support. In particular, MGL 4.1alpha compiled on DJGPP 2.01+GCC 2.8.1 without problems. For the next version of MGL it will be default behavior. But next version will have different internal organization and many new features such as TTF support, multilanguage keyboard layouts, Linux version, multimonitor support, etc, so probably you'll need to contact with Scitech Software now to avoid reinventing the wheel on the old version of library. MGL 4.1a is accessible on their FTP as /devel/beta/mgl41a1.zip. Also /devel/beta contains inc.zip which includes many useful headers and implementation of PE DLL loading for any Intel-based 32bit operating system (it includes DOS too), and dj20lib.zip which contains precompiled MGL 4.1a for DJGPP 2.01+GCC 2.8.1. Best regards, Alexander Bokovoy, = Linux ============================================================== Though it is always possible to have a look at the world through the Windows, people usually prefer not only to look but live in it too. ============================================================== Linux =