mes/scaffold
Jan (janneke) Nieuwenhuizen 4ca839a064
scaffold: Add local-static-array.c.
GCC gives

    12:35:54 janneke@dundal:~/src/mes/wip-m2 [env]
    $ gcc scaffold/local-static-array.c
    12:36:01 janneke@dundal:~/src/mes/wip-m2 [env]
    $ ./a.out
    hello local static
    hello local static
    12:36:04 janneke@dundal:~/src/mes/wip-m2 [env]

M2-Planet gives

    12:36:04 janneke@dundal:~/src/mes/wip-m2 [env]
    $ kaem --verbose --strict --file scaffold/local-static-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/local-static-array.c -o scaffold/local-static-array.M1
    scaffold/local-static-array.c:29:static is not a defined symbol
    Subprocess error 256
    ABORTING HARD
    [1]12:36:07 janneke@dundal:~/src/mes/wip-m2 [env]

* scaffold/local-static-array.c: New file.
* scaffold/local-static-array.kaem: New file.
2021-01-09 12:35:22 +01:00
..
boot tests: string-join: Be noisy. 2020-12-30 18:45:18 +01:00
lib/stdlib mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
argv.c kaem: scaffold/argv.kaem. 2020-07-15 22:15:36 +02:00
argv.kaem kaem: scaffold/argv.kaem. 2020-07-15 22:15:36 +02:00
cons-mes.c build: Uniquify config macros. 2019-07-26 18:20:32 +02:00
gc.scm Add missing copyright headers and READMEs. 2018-07-26 19:17:12 +02:00
global-array.c scaffold: Add global-array.c. 2021-01-09 12:30:59 +01:00
global-array.kaem scaffold: Add global-array.c. 2021-01-09 12:30:59 +01:00
hello.c kaem: scaffold/main.kaem. 2020-07-15 19:25:16 +02:00
hello.kaem kaem: scaffold/hello.kaem. 2020-07-15 21:12:12 +02:00
local-array.c scaffold: Add local-array.c. 2021-01-09 12:33:26 +01:00
local-array.kaem scaffold: Add local-array.c. 2021-01-09 12:33:26 +01:00
local-static-array.c scaffold: Add local-static-array.c. 2021-01-09 12:35:22 +01:00
local-static-array.kaem scaffold: Add local-static-array.c. 2021-01-09 12:35:22 +01:00
main.c kaem: scaffold/main.kaem. 2020-07-15 19:25:16 +02:00
main.kaem kaem: scaffold/main.kaem. 2020-07-15 19:25:16 +02:00
micro-mes.c mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00
read.c kaem: scaffold/read.kaem. 2020-07-15 22:27:57 +02:00
read.data test: Build initial scaffold tests without libc. 2018-08-15 17:47:03 +02:00
read.kaem kaem: scaffold/read.kaem. 2020-07-15 22:27:57 +02:00
tiny-mes.c mescc: Mes C Library: Use SYSTEM_LIBC [WAS: WITH_GLIBC]. 2019-05-29 16:15:12 +02:00