summaryrefslogtreecommitdiff
path: root/dist/Mesa/docs/README.MINGW32
blob: 2b39f120908a0a040386b2d88acc6a11f491bd59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
			     Mesa 6.1 for MinGW32
			     ~~~~~~~~~~~~~~~~~~~~



Quick & dirty start:
--------------------

	mingw32-make -f Makefile.mgw [OPTIONS...]

   Look into the corresponding makefiles for further information.
   Check README.3DFX to find out how to compile Mesa Glide3 driver
   with MinGW32!



*******************************************************************************
The Mingw port for Mesa 3-D Graphics Library was created August 30, 1998 by Paul Garceau.

Updated January 13, 2000; June 3, 2005 -- Paul Garceau <pgarceau@users.sourceforge.net>

DISCLAIMER:  I make this port of the Mesa 3-D Graphics Library as a service
to the general public.  I can, in no way support or make any guarantee that the
build will work for your system.

Acknowledgements:

	Daniel Borca, whose work and commitment to maintaining the Mingw port of the Mesa 3-D Graphics Library has been, and will continue to be greatly appreciated by an overworked and underpaid developer such as myself.
	Without the creative inspiration and personal commitment provided by Mumit Khan, Jan-Jaap Vanderhagen and Colin Peters, Mingw would never have existed.  	Acknowledgements also need to be given to all of the developers who have worked on Mingw, Mesa and Msys over the years.
	Last, but certainly far from the least, Brian Paul, who has dedicated at least the last seven or eight years of his life to making Mesa 3-D Graphics Library what it is today and managing the development for all of those years.
*********************************************************************************

Greetings,

	Feel free to modify or change things related to the Mingw build as you see fit, just remember that, the author of the current build may not be able to support any modifications you might want to make to the files which have been included for the build.

Mesa core components are licensed under XFree-86 (for more on licensing of Mesa 3-D Graphics Library, check out the Mesa homepage (http://www.mesa3d.org).

The Mingw generated libraries themselves are licensed under the GNU-LGPL license.  Source code for Mingw can be found at http://www.mingw.org.  For licensing terms on Mingw, please visit http://www.mingw.org.

	It is recommended that you use the latest "stable" release of Mingw.  "Candidates" are beta testing distributions for Mingw.  Mingw is available at http://www.mingw.org.

	This build has been tested under WinNT4/SP6.  Win9x and WinNT5 remain untested by me.  I have not tested any of the demos included with Mesa3d.

Installation:

	This readme assumes that you already have extracted the necessary files to a working directory/folder that Mingw can use to build the Mesa3D libraries and that you know where that directory/folder is located on your Windows system.  If you have any questions about how to set things up properly which is specific to Mesa3D, the folks on the Mesa3D mailing lists (http://www.mesa3d.org) would probably be happy to assist you.  Also you can probably ask anyone on the Mingw mailing lists for any questions specific to Mingw (http://www.mingw.org)

Targets and Environment variables used for Mingw build:

	Before going into the actual build of the libraries, here is a list of available targets for the make process:

	"all" or "libgl"  -- this target will build libopengl.a, a static library.  It will not build the demos, etc.

	clean -- this target will clean up most of the Mesa 3-D Graphics Library/object code from your hard drive.

	realclean -- this target will clean up all of the Mesa 3D Graphics Library and the Mesa object code that it can find.

	Environment Variables:

	The environment variables are used to determine what sort of graphics driver support needs to be included in the finished Mesa 3-D Graphics Library.

	GLIDE		path to Glide3 SDK; used with FX.
			default = $(TOP)/glide3
	FX=1		build for 3dfx Glide3. Note that this disables
			compilation of most WMesa code and requires fxMesa.
			As a consequence, you'll need the Win32 Glide3
			library to build any application.
			default = no
	ICD=1		build the installable client driver interface
			(windows opengl driver interface)
			default = no
	X86=1		optimize for x86 (if possible, use MMX, SSE, 3DNow).
			default = no

	
Running the Build:

	Launch Mingw.
	From the Windows Command Prompt:
	Set Environment Variables (as needed).
	"cd" to your Mesa3D 'root' directory.
	Enter "mingw32-make -f makefile.mgw <target>

	That's all there is to it.

	Enjoy!

		Paul G. <pgarceau@users.sourceforge.net>
		Daniel Borca <dborca@users.sourceforge.net>