2006-09-08 14:09:14 +01:00
|
|
|
How to compile Scyther
|
|
|
|
|
|
|
|
Requirements expressed as Ubuntu packages where [name][location]
|
|
|
|
|
|
|
|
Needed:
|
|
|
|
|
2013-12-11 16:44:19 +00:00
|
|
|
[gcc]
|
|
|
|
The C compiler.
|
|
|
|
Note that the current default C compiler on Mac OS X, "clang",
|
|
|
|
will not work. The reason is that Scyther uses nested function
|
|
|
|
definitions, which are not supported by clang.
|
|
|
|
|
|
|
|
[flex]
|
|
|
|
[bison]
|
|
|
|
Two tools for the generation of parsers.
|
|
|
|
|
|
|
|
[build-essential]
|
|
|
|
This meta-package includes several development tools used by
|
|
|
|
Scyther.
|
|
|
|
|
|
|
|
[cmake]
|
2007-06-12 13:39:08 +01:00
|
|
|
A Makefile generator, available on almost any platform.
|
2006-09-08 14:09:14 +01:00
|
|
|
|
2014-02-18 10:53:24 +00:00
|
|
|
[gcc-multilib]
|
|
|
|
Some 64-bit platforms need this to enable 32-bit compilation.
|
|
|
|
|
2013-12-11 16:44:19 +00:00
|
|
|
|
2006-09-08 14:09:14 +01:00
|
|
|
For cross-compilation (Windows):
|
|
|
|
|
|
|
|
[mingw32][universe]
|
|
|
|
GCC variant to compile for windows + w32 binutils.
|
|
|
|
|
2007-06-12 13:39:08 +01:00
|
|
|
|
|
|
|
The best is to simply execute:
|
|
|
|
|
|
|
|
./build.sh
|
|
|
|
|
|
|
|
This should compile everything for your platform and will copy the
|
|
|
|
binaries into the correct location.
|
2006-09-08 14:09:14 +01:00
|
|
|
|