X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=docs%2Finstall.html;h=3962ea5c91e12ace2584412944c6d754f1515223;hb=c7f5c9a3dc6350252e73b541bb85ab3ed9e64a9c;hp=2d72506f67da86006af3a550c52bcbcf2815a3ee;hpb=e3734593aea202e99e77febea7b86c904080939f;p=mesa.git diff --git a/docs/install.html b/docs/install.html index 2d72506f67d..3962ea5c91e 100644 --- a/docs/install.html +++ b/docs/install.html @@ -21,6 +21,7 @@
  • Building OpenGL programs with pkg-config
  • Windows +
  • SCons
  • Other
    @@ -34,14 +35,15 @@

    1.1 Prerequisites for DRI and hardware acceleration

    -The following are required for DRI-based hardware acceleration with Mesa 7.3: +The following are required for DRI-based hardware acceleration with Mesa:

    @@ -327,13 +329,51 @@ For example, compiling and linking a GLUT application can be done with:

    2. Windows Compilation and Installation

    -Please see the README.WIN32 file. +Please see the instructions on building with SCons. +Alternatively see README.WIN32 file.

    + +

    3. Building with SCons

    + +

    +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. +

    + +

    +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
    +
    +

    +This will create: +

    + +

    +Put them all in the same directory to test them. +

    + +
    -

    3. Other systems

    +

    4. Other systems

    Documentation for other environments (some may be very out of date):