From ebe0796ba2d314202c30a1c9291a7e725c64b16a Mon Sep 17 00:00:00 2001
From: =?utf8?q?Jos=C3=A9=20Fonseca?=
-Please see the README.WIN32 file.
+Please see the instructions on building with SCons.
+Alternatively see README.WIN32 file.
+To build Mesa with SCons on Linux or Windows do
+
+The build output will be placed in
+build/platform-machine-debug/..., where platform is for
+example linux or windows, machine is x86 or x86_64, optionally followed
+by -debug for debug builds.
+
+The sample programs are built seperately. To build them do
+
@@ -328,13 +329,60 @@ For example, compiling and linking a GLUT application can be done with:
2. Windows Compilation and Installation
3. Building with SCons
+
+
+ scons
+
+
+ scons -C progs
+
+And the build output will be placed in progs/build/...
+
+To build Mesa with SCons for Windows on Linux using the MinGW crosscompiler toolchain do +
++ scons platform=windows toolchain=crossmingw machine=x86 statetrackers=mesa drivers=softpipe,trace winsys=gdi + scons -C progs platform=windows toolchain=crossmingw machine=x86 -k ++
+This will create: +
++Put them all in the same directory to test them. +
+ + -Documentation for other environments (some may be very out of date): -- 2.30.2