Hi! A worked version of the patch is attached. But it is not tested
well. And it is not a rigth one. A -xc or -xa option (only one) and a
source files must follow all libraries and object files. Currently I
consider to make a rigth patch which behavior will be like in gcc:
 * introduce a files type array in TCCState
 * tcc_parse_args: add a file type when adding a new file
 * use this type in tcc_add_file_internal

The best case if a files[] array can contain a struct and not a string

Attachment: 019-x-option.patch
Description: Binary data

_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to