Beginning with the May 12 build, zcc will be able to accept list files as part of the source code input on the compile line.
List files are indicated on the compile line by a leading '@' character in their filenames. This tells zcc that it should open the file and read a list of files inside to add to the compile. The list file must contain one filename per line. These filenames can themselves be list files (with leading '@'); the recursion depth is determined by the system's max allowed number of simultaneously open files.
zcc +cpm -vn -clib=sdcc_iy --max-allocs-per-node200000 @source.lst routines.asm mylib.c -o wordpro
Three files are listed for compiling into an output binary "wordpro": "@source.lst", "routines.asm" and "mylib.c". Because "source.lst" is a list file, zcc will open the file "source.lst" and read a list of more source files to add to the compile.
If file "source.lst" contains:
Then zcc will also compile "foo.asm", "bar.c" and "zeet.c" into the output binary.
New features and project activity between releases
2 posts • Page 1 of 1