Next Previous Contents

2. Usage

grc accepts the following options:

-f         force the writing of the output files
-o name    name the .c output file
-s name    name the .s output file
-l name    name the ld65 output file
-h         show this help
When used as a VLIR linker, the correct syntax is:
 grc -vlir output.cvt header.bin vlir0.bin vlir1.bin ...
Default output names are made from input names with extensions replaced by .h and .s. grc will not overwrite existing files unless forced to do so. That is done to avoid situations where you have test.c and test.grc files. Both would put their output into test.s. For that reason, you should name your resource-files differently than sources, e.g., resource.grc or apphead.grc.


Next Previous Contents