Jan (janneke) Nieuwenhuizen
|
e6bfaae273
|
scaffold: Add global-array.c.
GCC gives
12:30:45 janneke@dundal:~/src/mes/wip-m2 [env]
$ gcc scaffold/global-array.c
12:31:53 janneke@dundal:~/src/mes/wip-m2 [env]
$ ./a.out
hello global
12:31:54 janneke@dundal:~/src/mes/wip-m2 [env]
M2-Planet gives
12:31:54 janneke@dundal:~/src/mes/wip-m2 [env]
$ kaem --verbose --strict --file scaffold/global-array.kaem
+> M2-Planet --debug --architecture x86 -f lib/mes/globals.c -f lib/linux/x86-mes-m2/mini.c -f lib/mes/mini-write.c -f lib/string/strlen.c -f lib/string/strcpy.c -f lib/mes/eputs.c -f scaffold/global-array.c -o scaffold/global-array.M1
scaffold/global-array.c:20:Received [ in program
Subprocess error 256
ABORTING HARD
[1]12:32:06 janneke@dundal:~/src/mes/wip-m2 [env]
* scaffold/global-array.c: New file.
* scaffold/global-array.kaem: New file.
|
2021-01-09 12:30:59 +01:00 |
|