-
Notifications
You must be signed in to change notification settings - Fork 3
/
HowToCompile.txt
29 lines (18 loc) · 1.06 KB
/
HowToCompile.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Ok, here's a little tutorial on how to compile.
You will need development and standard packages for the following:
libpopt, yacc, bison, physfs, libogg, libvorbis,
automake 1.10 or above, autoconf 2.59 or above, flex, libpng, glew, zip and unzip,
and of course gcc, make, etc.
If I missed something, drop me a line at [email protected]. -Subsentient
Now, for the compiling. We only support MinGW/Windows and *nix systems right now, btw.
Linux/BSD/Solaris:
./autogen.sh (If building the microwave branch from git)
./configure --prefix=/usr CFLAGS="-march=native -mtune=native -O4 -g3" CXXFLAGS="-march=native -mtune=native -O4 -g3"
make
Windows with MinGW and MSYS, or Linux with MinGW:
./autogen.sh (If building the microwave branch from git)
./configure --enable-static --enable-installer --with-installer-version=derp --with-installer-extdir=/path/to/your/usr/bin/ \
--with-distributor="Whoever." --host=i686-pc-mingw32 PKGCONFIG="i686-pc-mingw32-pkg-config" \
CFLAGS="-march=i686 -mtune=core2 -O4 -g3" CXXFLAGS="-march=i686 -mtune=core2 -O4 -g3"
make
Enjoy!