pas2CTutorial.wiki
author Caironater@gmail.com
Tue, 04 Jun 2013 04:47:09 +0000
changeset 320 91a3a47a1615
parent 245 2ccb51761986
child 330 74f23d3af091
permissions -rw-r--r--
Clarity of object. (New lines need an extra new line to show as a new line)

#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`.