Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Dynamic linking boost and C++ libraries in GCC 4.7 build for windows.

  • Loading branch information...
commit 1bffcae216e628518b409800fbd25f261019e566 1 parent b4a43b4
@acaudwell authored
Showing with 8 additions and 4 deletions.
  1. +1 −0  .gitignore
  2. +4 −0 dev/bin/build_win32.pl
  3. +3 −4 gource.win32.cbp
View
1  .gitignore
@@ -11,6 +11,7 @@ debug.log
Makefile
Makefile.in
*.dll
+*.dll.a
logs/*
/aclocal.m4
/autom4te.cache
View
4 dev/bin/build_win32.pl
@@ -71,6 +71,10 @@ sub dosify {
doit("cp dev/win32/zlib1.dll $WINBUILD");
doit("cp dev/win32/glew32.dll $WINBUILD");
doit("cp dev/win32/freetype6.dll $WINBUILD");
+doit("cp dev/win32/libboost_filesystem-mgw47-1_52.dll $WINBUILD");
+doit("cp dev/win32/libboost_system-mgw47-1_52.dll $WINBUILD");
+doit("cp dev/win32/libgcc_s_dw2-1.dll $WINBUILD");
+doit("cp dev/win32/libstdc++-6.dll $WINBUILD");
chdir($WINBUILD);
doit("zip -r gource-$VERSION.win32.zip *");
View
7 gource.win32.cbp
@@ -23,8 +23,7 @@
</Compiler>
<Linker>
<Add option="glew32.dll" />
- <Add option="-static-libstdc++" />
- <Add option="-static-libgcc" />
+ <Add option="-L." />
<Add library="mingw32" />
<Add library="pcre" />
<Add library="SDLmain" />
@@ -34,8 +33,8 @@
<Add library="glu32" />
<Add library="glew32" />
<Add library="freetype" />
- <Add library="boost_filesystem-mgw46-mt-1_48" />
- <Add library="libboost_system-mgw46-mt-1_48" />
+ <Add library="libboost_filesystem-mgw47-1_52.dll.a" />
+ <Add library="libboost_system-mgw47-1_52.dll.a" />
</Linker>
<Unit filename="data\shaders\bloom.frag" />
<Unit filename="data\shaders\bloom.vert" />
Please sign in to comment.
Something went wrong with that request. Please try again.