Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zcc: +sms.asm.m4: No such file or directory #2225

Open
RodrigoDornelles opened this issue Apr 13, 2023 · 1 comment
Open

zcc: +sms.asm.m4: No such file or directory #2225

RodrigoDornelles opened this issue Apr 13, 2023 · 1 comment

Comments

@RodrigoDornelles
Copy link

RodrigoDornelles commented Apr 13, 2023

am using 5f3c2b7 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.

@suborb
Copy link
Member

suborb commented Apr 14, 2023

-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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants