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-- |
214 | 1 |
#summary One-sentence summary of this page. |
2 |
#labels Phase-Implementation |
|
3 |
||
4 |
= Introduction = |
|
5 |
||
6 |
this page is a stub |
|
7 |
||
8 |
||
9 |
= Details = |
|
10 |
||
217
78f6f4e9f358
Edited wiki page pas2CTutorial through web user interface.
vittorio.giovara@gmail.com
parents:
214
diff
changeset
|
11 |
Run from the `tools` folder |
78f6f4e9f358
Edited wiki page pas2CTutorial through web user interface.
vittorio.giovara@gmail.com
parents:
214
diff
changeset
|
12 |
{{{ |
218
8c01e80cf77f
Edited wiki page pas2CTutorial through web user interface.
unC0Rr@gmail.com
parents:
217
diff
changeset
|
13 |
ghc -e "pas2C \"hwengine\"" pas2c.hs |
217
78f6f4e9f358
Edited wiki page pas2CTutorial through web user interface.
vittorio.giovara@gmail.com
parents:
214
diff
changeset
|
14 |
}}} |
214 | 15 |
|
217
78f6f4e9f358
Edited wiki page pas2CTutorial through web user interface.
vittorio.giovara@gmail.com
parents:
214
diff
changeset
|
16 |
You can replace "hwengine" with any other module. |
78f6f4e9f358
Edited wiki page pas2CTutorial through web user interface.
vittorio.giovara@gmail.com
parents:
214
diff
changeset
|
17 |
|
78f6f4e9f358
Edited wiki page pas2CTutorial through web user interface.
vittorio.giovara@gmail.com
parents:
214
diff
changeset
|
18 |
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. |
78f6f4e9f358
Edited wiki page pas2CTutorial through web user interface.
vittorio.giovara@gmail.com
parents:
214
diff
changeset
|
19 |
|
78f6f4e9f358
Edited wiki page pas2CTutorial through web user interface.
vittorio.giovara@gmail.com
parents:
214
diff
changeset
|
20 |
Use `clang` to compile, `gcc` compatibility is not yet achieved. We are curious to hear about `icc` and `msvc`. |