From 2fb39c00d5a75f5bd3462a8b3f7f556367dfc71a Mon Sep 17 00:00:00 2001 From: Detlev Casanova Date: Tue, 6 Jul 2010 14:03:43 +0200 Subject: Add compile command line --- src/interpreter.c | 4 ++++ src/runner.c | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/interpreter.c b/src/interpreter.c index 2e2f7b9..dd0ebd3 100644 --- a/src/interpreter.c +++ b/src/interpreter.c @@ -1,3 +1,7 @@ +/* + * Compile command : + * gcc -o interpreter -W -Wall -g --std=c99 -I/usr/include/python3.1/ -lpython3.1 interpreter.c + */ #include #include #include diff --git a/src/runner.c b/src/runner.c index ddf20d2..628ac9a 100644 --- a/src/runner.c +++ b/src/runner.c @@ -1,3 +1,7 @@ +/* + * Compile command : + * gcc -o runner -W -Wall -g --std=c99 runner.c + */ #include #include #include @@ -117,7 +121,7 @@ int execute(Runner *r, char *args) } dup2(fd, STDOUT_FILENO); - ret = execl("/home/detlev/src/c-portage/src/test.py", "test.py", "app-portage/kuroo4-4.2", "app-portage/kuroo4-4.3", NULL); + ret = execl("./test.py", "test.py", "app-portage/kuroo4-4.2", "app-portage/kuroo4-4.3", NULL); printf("execl: (%d) %s\n", errno, strerror(errno)); return ret; } -- cgit v1.2.3-1-g7c22