pas2CTutorial.wiki
author kyberneticist@gmail.com
Sat, 27 Oct 2012 14:42:08 +0000
changeset 263 afcb38bfd761
parent 245 2ccb51761986
child 330 74f23d3af091
permissions -rw-r--r--
Revert use of build dir. Nice idea, but breaks pas2c and confused people. Esp people who had done this before. For most people, a purge is adequate if they need to clean up. Heck, that's what unc0rr and I apparently do, or we would have noticed the pas2c thing earlier

#labels Phase-Implementation
Run from the `tools` folder
{{{
ghc -e "pas2C \"hwengine\"" pas2c.hs
}}}

You can replace "hwengine" with any other module.

Every pas file will be converted to a .c/.h version in the `hedgewars` folder. In case no output is produced something has gone wrong.

Use `clang` to compile, `gcc` compatibility is not yet achieved. We are curious to hear about `icc` and `msvc`.