X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=docs%2Finstall.html;h=8c24cee7a3e87242cd3469b81ec48a5e72d5cea0;hb=639e7a140e430aa8839c652459eddc9a4b79f9c6;hp=be61ef304335f86990e658300dbc1bf9f568882c;hpb=53116910b10e3b8a05f42970eff311c21808699f;p=mesa.git diff --git a/docs/install.html b/docs/install.html index be61ef30433..8c24cee7a3e 100644 --- a/docs/install.html +++ b/docs/install.html @@ -21,6 +21,7 @@
-The following are required for DRI-based hardware acceleration with Mesa 7.3: +The following are required for DRI-based hardware acceleration with Mesa:
-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 +
++ scons ++
+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 +
+ 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):