Statistics
| Branch: | Tag: | Revision:

root / fon-flash / build-static-wx.sh @ master

History | View | Annotate | Download (525 Bytes)

1
osname=$(uname)
2
macflags=""
3
if [ "$osname" = "Darwin" ] ; then
4
	macflags="CC=gcc-4.0 CXX=g++-4.0 LD=g++-4.0"
5
fi
6
7
#sudo apt-get install libgtk2.0-dev libgnome2-dev
8
mkdir static-wx
9
cd static-wx
10
wget "http://downloads.sourceforge.net/wxwindows/wxWidgets-2.8.9.tar.gz"
11
tar xvzf wxWidgets-2.8.9.tar.gz
12
cd wxWidgets-2.8.9
13
./configure $macflags --enable-optimise --enable-stl --enable-unicode --enable-threads --enable-static --disable-shared --enable-monolithic
14
make
15
cd ..
16
cd ..
17
ln -s static-wx/wxWidgets-2.8.9/wx-config wx-config