Gary-Hobson commented on PR #7076: URL: https://github.com/apache/incubator-nuttx/pull/7076#issuecomment-1306627372
It took me a while to find ez80cc in the old repository, confirmed that it can be used like this,Works fine with or without quotes However, this only works for stdinc , I tried specifying any path with usrinc to no avail https://github.com/CE-Programming/toolchain/releases/tag/v6.0 The latest (after v9.0) ez80cc has been based on llvm, and renamed to ez80-clang Should we also drop this ancient usage and use the latest ez80 toolchain ``` PS D:\CEdev\bin> cat main.c #include <inc.h> PS D:\CEdev\bin> cat ..\inc.h #error "Invalid" PS D:\CEdev\bin> .\ez80cc.exe -stdinc:".." main.c main.c ..\INC.H (1,7) : ERROR (38) ""Invalid" " MAIN.C (3,3) : WARNING (44) Empty file encountered PS D:\CEdev\bin> .\ez80cc.exe -stdinc:.. main.c main.c ..\INC.H (1,7) : ERROR (38) ""Invalid" " MAIN.C (3,3) : WARNING (44) Empty file encountered PS D:\CEdev\bin> .\ez80cc.exe -usrinc:".." main.c main.c MAIN.C (1,9) : ERROR (217) Cannot open include file "inc.h" ``` > Has anyone verified if the Z80 compilers (ez8cc, zneocc, ez80cc) still work after this PR? > > Asking because these compilers have a very different syntax that is not only a INCDIR_PREFIX or INCSYSDIR_PREFIX, but also includes other characters. > > For example, while GCC uses: > > ``` > -I<dir1> -I<dir2> -I<dir3> > ``` > > the Z80 compilers use: > > ``` > -usrinc:'dir1;dir2;dir3' > ``` > > or > > ``` > -stdinc:'dir1;dir2;dir3' > ``` > > depending if user or system header. > > With this PR, I think the command line will be: > > ``` > -stdinc:dir > ``` > > instead of: > > ``` > -stdinc:'dir' > ``` > > I don't know if that makes a difference. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org