mobi phil wrote:
I see two solutions:
1.
* write a pair dynarray_insert for dynarray_add, and insert all what
comes with -L in the coresponding order
* write a pair tcc_insert_library_path, and call dynarray_insert
2.
* reset the dynarray before calling tcc_insert_library_path from parse_args
Please tell me if anybody has any preference, would be happy to push
the patch... regards
Hm? Basically you propose to write a "tcc_insert_library_path" function
for solution (1) but want to use it in solution (2)?
Then again I don't have to understand this really because I'll not write
the patch.
If I may propose something else then maybe you could just move the
default system path settings from tcc_new to tcc_set_output_type
(to where it happens for TCC_TARGET_PE) which is when the command
line was already parsed.
--- grischka
_______________________________________________
Tinycc-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/tinycc-devel