pas2CTutorial.wiki
author unC0Rr@gmail.com
Tue, 01 May 2012 16:48:49 +0000
changeset 218 8c01e80cf77f
parent 217 78f6f4e9f358
child 245 2ccb51761986
permissions -rw-r--r--
Edited wiki page pas2CTutorial through web user interface.

#summary One-sentence summary of this page.
#labels Phase-Implementation

= Introduction =

this page is a stub


= Details =

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