blob: 67f8f2686099148afa40530e8fe6fc0ec1f2514e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include "cwrapper.h"
#include "getLocation.h"
#include <stddef.h>
int main(int argc, char** argv) {
char *binDir;
char *exePath;
binDir = getExecutablePath();
exePath = mkString("%s/ghc.exe", binDir);
run(exePath, 0, NULL, argc - 1, argv + 1);
}
|