>Hi! There is patch partialy related with the previous one. It adds the ability >to compile a > multiple source files with the -c switch like > tcc -c ex2.c ex5.c -xc ex7.cgi -xn ex8.c ex9.cgi >PS: I used it to test the previous patch
> Both patches work nicely, but there is wrinkle with multiple input files: > multiple definitions of > main. In my quick and dirty testing, the first file to define main gets its > definition used, which > may not be expected nor desired The example is somehow wrong. A correct one is: tcc -c ex2.c ex5.c tcc -o ex2 ex2.o tcc -o ex5 ex5.o ./ex2 ./ex5 Both programs work Ok. _______________________________________________ Tinycc-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/tinycc-devel
