z88dk
z88dk copied to clipboard
zcc: +sms.asm.m4: No such file or directory
am using 5f3c2b7420536bff80781992973b0d65563ae219 nighty build.
[ 1%] Building C object CMakeFiles/tbc_cpu_std.dir/src/cpu/cpu_boolean.c.obj
export ZCCCFG=/Users/rodrigo/projetos/z88dk/lib/config && export PATH=/Users/rodrigo/projetos/z88dk/bin:$PATH && /Users/rodrigo/projetos/z88dk/bin/zcc +sms -I/Users/rodrigo/projetos/3bc-lang/src -I/Users/rodrigo/projetos/3bc-lang/src/bus -I/Users/rodrigo/projetos/3bc-lang/src/cpu -I/Users/rodrigo/projetos/3bc-lang/src/ds -I/Users/rodrigo/projetos/3bc-lang/src/pkg -I/Users/rodrigo/projetos/3bc-lang/src/sys -I/Users/rodrigo/projetos/3bc-lang/src/i18n -I/Users/rodrigo/projetos/3bc-lang/src/types -I/Users/rodrigo/projetos/3bc-lang/src/interpreter +sms -o CMakeFiles/tbc_cpu_std.dir/src/cpu/cpu_boolean.c.obj -c /Users/rodrigo/projetos/3bc-lang/src/cpu/cpu_boolean.c
sh: +sms.asm.m4: No such file or directory
make[2]: *** [CMakeFiles/tbc_cpu_std.dir/src/cpu/cpu_boolean.c.obj] Error 1
make[1]: *** [CMakeFiles/tbc_cpu_std.dir/all] Error 2
make: *** [all] Error 2
PS. this problem only occurs in my os x, not in my linux.
-lang/src/interpreter +sms -o CMakeFiles/tbc_cpu_std.dir/src/cpu/cpu_boolean.c.obj -c /Users/rodrigo/projetos/3bc-lang/src/cpu/cpu_boolean.c
What's interesting here is the double space before +sms. I can simulate a similar issue with this:
zcc +test bar.c " +test"
sh: +test.asm.m4: No such file or directory
Note that the error line, elides the leading space here, so it does match your output.
Can you post the relevant bit of the generated makefile?