tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] Any interest in #pragma(lib) and CGI extensions?


From: Steven G. Messervey
Subject: Re: [Tinycc-devel] Any interest in #pragma(lib) and CGI extensions?
Date: Sun, 12 Apr 2015 13:53:28 -0400

>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.

Thanks!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]