Keith Whitwell
222d7841e9
scons: mingw is broken with -O1 and higher
17 jaren geleden
Keith Whitwell
5f5181021e
scons: mingw is broken with -O1 and higher
17 jaren geleden
José Fonseca
56c2cd7ae2
scons: Cleanup.
17 jaren geleden
José Fonseca
71793e0f79
scons: Support winddk 6001.18002.
17 jaren geleden
José Fonseca
5ccbccb3c1
scons: Recent Windows DDK do not include LIB.EXE.
Have to use LINK /LIB instead. The biggest problem is when the command
line is very long and all the options are included in a argument file --
link doesn't like if /LIB is included in the argument file.
17 jaren geleden
José Fonseca
a20bae3d17
scons: Get python extensions building correctly on windows.
17 jaren geleden
José Fonseca
b3e03ede3e
scons: Move MSVC specific away from Mingw builds.
17 jaren geleden
José Fonseca
26e27ba308
scons: Support building with the Windows SDK.
x86_64 is also supported.
17 jaren geleden
José Fonseca
102cb5c9cd
scons: Promote declaration-after-statement to error. Detect more warnings.
17 jaren geleden
José Fonseca
f22574be95
scons: Use -Wdeclaration-after-statement
17 jaren geleden
José Fonseca
34e719c9b3
scons: Don't build the DRI drivers in a seperate dir.
DRI drivers can be build side by side with other non-DRI drivers, therefore
there is no need to build gallium twice.
17 jaren geleden
José Fonseca
af3ab2d9f3
scons: Use a cache for built files.
Like ccache, but works on all OSes.
17 jaren geleden
José Fonseca
46728037a0
scons: Produce map files for debug builds too.
17 jaren geleden
José Fonseca
6fe421cf46
scons: Unbreak mingw builds.
17 jaren geleden
José Fonseca
73ccabc124
scons: Build DLLs/EXEs with more memory debugger friendlier settings.
17 jaren geleden
José Fonseca
1e8177ee17
scons: Use parallel builds by default.
17 jaren geleden
José Fonseca
9aa73cfae8
progs: Get more samples building on windows.
17 jaren geleden
Keith Whitwell
9a7aeac49c
scons: remove pedantic flag
17 jaren geleden
José Fonseca
3d607ef37f
scons: Request the stabs debug info format for Mingw.
Mingw gdb apparently chokes on dwarf debug info.
17 jaren geleden
José Fonseca
9bf83fb016
scons: Build the progs into seperate dirs as well.
17 jaren geleden
José Fonseca
017892636a
scons: Use --enable-stdcall-fixup only when building DLLs.
17 jaren geleden
José Fonseca
9bd39eb3af
scons: Don't build the DRI drivers in a seperate dir.
DRI drivers can be build side by side with other non-DRI drivers, therefore
there is no need to build gallium twice.
17 jaren geleden
José Fonseca
18170bb51b
scons: Use a cache for built files.
Like ccache, but works on all OSes.
17 jaren geleden
José Fonseca
de29f5781a
scons: Allow to specify the MSVS version on command line.
17 jaren geleden
José Fonseca
42be0104a2
scons: Don't define UNICODE on windows builds.
It creates problems in many libraries (glut, glew) which are not unicode
aware.
17 jaren geleden
José Fonseca
47ca0234dc
scons: Use -std=gnu99
It a scary world out there: people use all sort of non standard C stuff,
and we must enable support for that in here in order to build.
-pedantic still warn us when we use that nonstandard though.
17 jaren geleden
José Fonseca
83155aa11f
scons: Use .a suffix for MinGW.
This allows to build MinGW and MSVC within the same dir.
17 jaren geleden
José Fonseca
1781d7fa38
scons: Choose the appropriate MSVC CRT.
17 jaren geleden
José Fonseca
26ba5ce0e8
scons: Choose the appropriate MSVC CRT.
17 jaren geleden
José Fonseca
8ee1df0652
scons: Specify C99 throughout all the tree.
MSVC may not support full C99, but supports more than plain C90. And
-pedantic without -std=c99 generates too many spurious warnings
(specially C++ style comments) to be of any use.
Note that using certain C99 features in the cross-platform parts of Gallium
is still not possible; namely mid-of-scope variable declarations and named
structure initializers will break MSVC builds.
17 jaren geleden
José Fonseca
975e58499a
scons: Specify C99 throughout all the tree.
MSVC may not support full C99, but supports more than plain C90. And
-pedantic without -std=c99 generates too many spurious warnings
(specially C++ style comments) to be of any use.
Note that using certain C99 features in the cross-platform parts of Gallium
is still not possible; namely mid-of-scope variable declarations and named
structure initializers will break MSVC builds.
17 jaren geleden
José Fonseca
500b304463
scons: Build progs.
Just demos and trivial dirs for starters.
Conflicts:
.gitignore
17 jaren geleden
José Fonseca
129c6ed678
scons: Target Windows XP on userspace.
17 jaren geleden
José Fonseca
72ebf4fd03
scons: Build progs.
Just demos and trivial dirs for starters.
17 jaren geleden
Michal Krol
79bfe372f2
scons: Fix toolchain selection.
17 jaren geleden
José Fonseca
15b92b09e0
scons: Support MinGW32 cross compiler.
To build an alternative opengl32.dll with Gallium's software-rasterizer from a
debian-based distribution run:
sudo apt-get install mingw32
scons platform=windows toolchain=crossmingw machine=x86 winsys=gdi dri=no
17 jaren geleden
Michal Krol
4f3dcf3864
scons: Fix toolchain selection.
17 jaren geleden
José Fonseca
6cf59e1293
scons: Support MinGW32 cross compiler.
To build an alternative opengl32.dll with Gallium's software-rasterizer from a
debian-based distribution run:
sudo apt-get install mingw32
scons platform=windows toolchain=crossmingw machine=x86 winsys=gdi dri=no
17 jaren geleden
José Fonseca
40b3bb0407
gallium: Yet another WinCE portability fix.
17 jaren geleden
Michel Dänzer
6b69e3c717
scons: ppc support.
17 jaren geleden
José Fonseca
7cfc294c70
scons: Install shared libs in the right subdir.
17 jaren geleden
José Fonseca
52c2dd1f73
scons: Install libGL.so and respective symlinks.
17 jaren geleden
José Fonseca
a6c7258394
scons: Optimize for speed, not size, with MSVC.
17 jaren geleden
José Fonseca
4ec4ea14a5
scons: Lookup WINDDK and WINCE SDK directories in the registry.
17 jaren geleden
José Fonseca
c76787a1dc
scons: Set default LIBS env var.
17 jaren geleden
José Fonseca
381e3489c2
scons: Convert tabs to spaces.
17 jaren geleden
Jonathan White
e4f3770690
mesa: WinCE fixes
17 jaren geleden
José Fonseca
9a99b19949
python: Don't use python cflags as they conflict with existing flags.
18 jaren geleden
José Fonseca
2c4349aa3a
python: Move the python scons code to a separate tool module.
18 jaren geleden
José Fonseca
194cfc7a4e
scons: Enable gcc SSE2 intrinsics on x86.
18 jaren geleden