[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] Any interest in #pragma(lib) and CGI extensions?
From: |
Sergey Korshunoff |
Subject: |
Re: [Tinycc-devel] Any interest in #pragma(lib) and CGI extensions? |
Date: |
Mon, 13 Apr 2015 06:32:22 +0300 |
>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.
- Re: [Tinycc-devel] Any interest in #pragma(lib) and CGI extensions?, (continued)
- Re: [Tinycc-devel] Any interest in #pragma(lib) and CGI extensions?, Steven G. Messervey, 2015/04/10
- Re: [Tinycc-devel] Any interest in #pragma(lib) and CGI extensions?, Sergey Korshunoff, 2015/04/10
- Re: [Tinycc-devel] Any interest in #pragma(lib) and CGI extensions?, Sergey Korshunoff, 2015/04/11
- Re: [Tinycc-devel] Any interest in #pragma(lib) and CGI extensions?, Sergey Korshunoff, 2015/04/11
- Re: [Tinycc-devel] Any interest in #pragma(lib) and CGI extensions?, Thomas Preud'homme, 2015/04/11
- Re: [Tinycc-devel] Any interest in #pragma(lib) and CGI extensions?, Sergey Korshunoff, 2015/04/11
- Re: [Tinycc-devel] Any interest in #pragma(lib) and CGI extensions?, Steven G. Messervey, 2015/04/11
- Re: [Tinycc-devel] Any interest in #pragma(lib) and CGI extensions?, Sergey Korshunoff, 2015/04/12
- Re: [Tinycc-devel] Any interest in #pragma(lib) and CGI extensions?, Sergey Korshunoff, 2015/04/12
- Re: [Tinycc-devel] Any interest in #pragma(lib) and CGI extensions?, Steven G. Messervey, 2015/04/12
- Re: [Tinycc-devel] Any interest in #pragma(lib) and CGI extensions?,
Sergey Korshunoff <=