Ref: #5732
When trying last to commit the proposal above there was an issue during the make build running the toolchain that its initialization was not listed in the makefile log. I expected at least some compilation error but it doesn't even return. Except when replacing the CC and CXX with ZCC and ZCXX there are some compilation errors on Config.mk file.
Would any further changes be required to add a new toolchain or did I forget some reference point?
output:
# [...]
CC: signal/sig_ppoll.c
make[3]: Entrando no diretório '/home/kassane/Code/nuttxspace/apps/examples/hello_zig'
CC: driver/fs_closeblockdriver.c
CC: signal/sig_fillset.c
CC: signal/sig_hold.c
CC: signal/sig_pselect.c
CC: driver/fs_blockpartition.c
CC: signal/sig_ignore.c
CC: task/task_create.c
CC: signal/sig_ismember.c
CC: driver/fs_findmtddriver.c
CC: signal/sig_pause.c
CC: task/task_init.c
CC: driver/fs_blockproxy.c
CC: signal/sig_psignal.c
CC: task/task_setup.c
CC: dirent/fs_closedir.c
CC: signal/sig_raise.c
AR (add): libapps.a
# Missing ZIG: examples/hello_zig/hello_zig_main.zig
make[3]: Saindo do diretório '/home/kassane/Code/nuttxspace/apps/examples/hello_zig'
# [...]
/usr/bin/ld: nuttx.rel:(.data.rel.ro.g_builtins+0x28): reference not defined for "hello_zig_main"
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:323: nuttx] Error 1
make: *** [tools/Unix.mk:509: nuttx] Error 2
Ref: #5732
When trying last to commit the proposal above there was an issue during the make build running the toolchain that its initialization was not listed in the makefile log. I expected at least some compilation error but it doesn't even return. Except when replacing the
CCandCXXwithZCCandZCXXthere are some compilation errors onConfig.mkfile.Would any further changes be required to add a new toolchain or did I forget some reference point?
output: