# HG changeset patch # User vittorio.giovara@gmail.com # Date 1335790165 0 # Node ID 78f6f4e9f358152b7881155aa854946b96fddb83 # Parent 6f7c0c72bd12f5e035622d002c5cd45500f351b2 Edited wiki page pas2CTutorial through web user interface. diff -r 6f7c0c72bd12 -r 78f6f4e9f358 pas2CTutorial.wiki --- a/pas2CTutorial.wiki Mon Apr 30 08:44:57 2012 +0000 +++ b/pas2CTutorial.wiki Mon Apr 30 12:49:25 2012 +0000 @@ -8,8 +8,15 @@ = Details = -ghci (from the tools folder) +Run from the `tools` folder +{{{ +ghci :load pas2c.hs -pas2C "hwengine" (or any other module) +pas2C "hwengine" +}}} -then use clang to compile \ No newline at end of file +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`. \ No newline at end of file