Brian Paul | e713e63 | 1999-05-17 22:06:46 +0000 | [diff] [blame] | 1 | README for port of Mesa 3.x to XFree86 on OS/2 (X/2) |
| 2 | (as of 19990514) |
Brian Paul | ecc88c1 | 1999-02-23 03:41:13 +0000 | [diff] [blame] | 3 | |
| 4 | |
Brian Paul | e713e63 | 1999-05-17 22:06:46 +0000 | [diff] [blame] | 5 | Contents: |
Brian Paul | ecc88c1 | 1999-02-23 03:41:13 +0000 | [diff] [blame] | 6 | |
Brian Paul | e713e63 | 1999-05-17 22:06:46 +0000 | [diff] [blame] | 7 | 1) Binary release |
| 8 | 2) Building from sources |
| 9 | 3) History |
Brian Paul | dbf13dd | 1999-05-25 01:17:28 +0000 | [diff] [blame] | 10 | 4) Todo |
| 11 | 5) Mesa Home Page |
Brian Paul | ecc88c1 | 1999-02-23 03:41:13 +0000 | [diff] [blame] | 12 | |
| 13 | |
Brian Paul | e713e63 | 1999-05-17 22:06:46 +0000 | [diff] [blame] | 14 | 1) Binary release |
| 15 | |
Brian Paul | dbf13dd | 1999-05-25 01:17:28 +0000 | [diff] [blame] | 16 | Though the Mesa sources should build in a quite reasonable time even on |
| 17 | a 585 class machine a binary relase is available (check topic 4) for an URL) |
Brian Paul | e713e63 | 1999-05-17 22:06:46 +0000 | [diff] [blame] | 18 | This package includes: |
| 19 | |
| 20 | - lib/MesaGL.dll, MesaGL.a |
| 21 | - lib/MesaGLU.dll, MesaGLU.a |
| 22 | - lib/glut.dll, glut.a |
| 23 | - include/GL/*.h |
| 24 | |
| 25 | Installing this in your XFree86 tree will enable you to build and |
| 26 | run all applications compatible with Mesa (and the current DLL |
| 27 | interface, of course ;-) |
| 28 | As usual the OMF-style libraries can be created using emxomf. |
| 29 | (e.g. "emxomf foo.a" creates the foo.lib omf-style library). |
| 30 | The static libraries are rarely used and you have to rebuild |
| 31 | Mesa to get them. They're a supported target, so you get |
| 32 | them in a straightforward way (see below). |
| 33 | |
| 34 | The testing of these libraries was limited to the supplied |
Brian Paul | dbf13dd | 1999-05-25 01:17:28 +0000 | [diff] [blame] | 35 | demos/examples and a quite small number of third-party apps. |
Brian Paul | e713e63 | 1999-05-17 22:06:46 +0000 | [diff] [blame] | 36 | No warranty ... as usual ... ;-) |
| 37 | |
| 38 | |
| 39 | 2) Instructions to build Mesa 3.x for XFree86/OS2 from sources: |
| 40 | |
| 41 | Except the official Mesa source distribution you need: |
| 42 | - a recent version of XFree86 (3.3.x or above) including |
| 43 | the programming libraries |
| 44 | - EMX 0.9c (0.9d might work, never checked) |
| 45 | - GNU make |
| 46 | - REXX (!) |
| 47 | |
| 48 | The creation of the DLLs as well as of the static libraries |
| 49 | (if you want to have them) is handled in "mklib-emx.cmd", |
| 50 | a small REXX script. Perhaps not the best idea, but this |
| 51 | way it fits best in the scheme used to build libraries |
Brian Paul | dbf13dd | 1999-05-25 01:17:28 +0000 | [diff] [blame] | 52 | on all platforms in Mesa 3.x. |
Brian Paul | e713e63 | 1999-05-17 22:06:46 +0000 | [diff] [blame] | 53 | |
| 54 | To actually build the libraries and demos, check mklib-emx.cmd |
| 55 | and modify it as desired. Then type |
| 56 | make os2-x11 |
| 57 | and wait for completion ;-) |
| 58 | |
| 59 | |
| 60 | 3) History |
| 61 | |
| 62 | Initially Darren Abbott (abbott@hiwaay.net) ported Mesa versions 2.x |
| 63 | to XFree86 OS/2. This port might still be available from |
| 64 | http://fly.HiWAAY.net/~abbott/xfree86-os2/xfree86.html |
| 65 | |
| 66 | The current port picked up things during the beta test for 3.0. |
| 67 | No major changes in the source were done. The build mechanism under OS/2 |
| 68 | has been made very similar to other platforms (if you treat mklib-emx.cmd |
| 69 | as a "black box"). |
| 70 | Advantage is that X/2 is now a valid target and all files are |
| 71 | integrated in the official source distribution. |
| 72 | Disadvantage is that this port (i.e. the DLLs' interface itself) is |
| 73 | definitly NOT COMPATIBLE to those of version 2.x. |
| 74 | It's uncertain whether this would be at all possible but since there |
| 75 | a _very_ few those apps it's not worth to find out anyway. |
| 76 | Also some libs (MesaTK, MesaAUX) are withdrawn from the Mesa distribution, |
| 77 | and accordingly from the OS/2 port. |
| 78 | |
Brian Paul | dbf13dd | 1999-05-25 01:17:28 +0000 | [diff] [blame] | 79 | 4) Todo |
Brian Paul | e713e63 | 1999-05-17 22:06:46 +0000 | [diff] [blame] | 80 | |
Brian Paul | dbf13dd | 1999-05-25 01:17:28 +0000 | [diff] [blame] | 81 | By now binary compatiblity is ensured by using the function names |
| 82 | as entry points instead of ordinals. This might cost performance and |
| 83 | is subject to change in future. In addition the supplied X86 assembler |
| 84 | source is not used yet. |
| 85 | |
| 86 | 5) Mesa Home Page |
Brian Paul | e713e63 | 1999-05-17 22:06:46 +0000 | [diff] [blame] | 87 | |
| 88 | You can get the source code and more information about Mesa from |
| 89 | http://www.mesa3d.org/ |
| 90 | |
Brian Paul | dbf13dd | 1999-05-25 01:17:28 +0000 | [diff] [blame] | 91 | The OS/2 ports should be available from |
Brian Paul | e713e63 | 1999-05-17 22:06:46 +0000 | [diff] [blame] | 92 | http://r350.ee.ntu.edu.tw/~hcchu/os2/ports |
| 93 | |
| 94 | -- |
Brian Paul | ecc88c1 | 1999-02-23 03:41:13 +0000 | [diff] [blame] | 95 | Alexander Mai |
Brian Paul | ecc88c1 | 1999-02-23 03:41:13 +0000 | [diff] [blame] | 96 | st002279@hrzpub.tu-darmstadt.de |