blob: b3374ea2326022ea72d7597464a4cec170923f69 [file] [log] [blame]
Brian Paule713e631999-05-17 22:06:46 +00001 README for port of Mesa 3.x to XFree86 on OS/2 (X/2)
2 (as of 19990514)
Brian Paulecc88c11999-02-23 03:41:13 +00003
4
Brian Paule713e631999-05-17 22:06:46 +00005 Contents:
Brian Paulecc88c11999-02-23 03:41:13 +00006
Brian Paule713e631999-05-17 22:06:46 +00007 1) Binary release
8 2) Building from sources
9 3) History
Brian Pauldbf13dd1999-05-25 01:17:28 +000010 4) Todo
11 5) Mesa Home Page
Brian Paulecc88c11999-02-23 03:41:13 +000012
13
Brian Paule713e631999-05-17 22:06:46 +0000141) Binary release
15
Brian Pauldbf13dd1999-05-25 01:17:28 +000016 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 Paule713e631999-05-17 22:06:46 +000018 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 Pauldbf13dd1999-05-25 01:17:28 +000035 demos/examples and a quite small number of third-party apps.
Brian Paule713e631999-05-17 22:06:46 +000036 No warranty ... as usual ... ;-)
37
38
392) 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 Pauldbf13dd1999-05-25 01:17:28 +000052 on all platforms in Mesa 3.x.
Brian Paule713e631999-05-17 22:06:46 +000053
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
603) 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 Pauldbf13dd1999-05-25 01:17:28 +0000794) Todo
Brian Paule713e631999-05-17 22:06:46 +000080
Brian Pauldbf13dd1999-05-25 01:17:28 +000081 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
865) Mesa Home Page
Brian Paule713e631999-05-17 22:06:46 +000087
88 You can get the source code and more information about Mesa from
89 http://www.mesa3d.org/
90
Brian Pauldbf13dd1999-05-25 01:17:28 +000091 The OS/2 ports should be available from
Brian Paule713e631999-05-17 22:06:46 +000092 http://r350.ee.ntu.edu.tw/~hcchu/os2/ports
93
94--
Brian Paulecc88c11999-02-23 03:41:13 +000095Alexander Mai
Brian Paulecc88c11999-02-23 03:41:13 +000096st002279@hrzpub.tu-darmstadt.de