pas2CTutorial.wiki
author vittorio.giovara@gmail.com
Mon, 30 Apr 2012 12:49:25 +0000
changeset 217 78f6f4e9f358
parent 214 2c30f10b37a9
child 218 8c01e80cf77f
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
{{{
ghci
:load pas2c.hs
pas2C "hwengine"
}}}

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