Hi all.

Honestly ? When I read "-- option to tcc", I laughed at lot !

I consider this particularly irrelevant, and Grishka's comment is right
("For example, not to support compilation of files such as -c.c is not a problem as long as we assume that such files do not exist.")

Considering other cases, I just tried a very simple test case :
#!/usr/bin/env -S tcc inc.o -run
#include <stdio.h>
#include "inc.h"
int main(int argc, const char* argv[]) {
  for (int i=0;i<argc;i++)
    printf("argv[%d]=%s\n",i,argv[i]);
  printf("Finally : %d\n",myNum()); // defined in inc.h
  return 0;
}

which runs perfectly fine.

So, no, IMHO, the 'end of args --" does not make any sense.

Regards.

Le 17/04/2023 à 10:18, grischka a écrit :
For example, not to support compilation of files such as -c.c is
--
İȃɲ ƝᵋᵃʳᶩỾ
--*menea...@gmail.com*
_______________________________________________
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to