Hi,

I think it's better now. But since tcc.c will use the functions defined in
the libtcc.c, the un-linked functions will be automatically optimized out.
Why bother using the TCC_MAIN macro to exclude some functions not needed by
tcc.c?

On Mon, Apr 27, 2009 at 6:01 AM, grischka <[email protected]> wrote:

> So I renamed tcc.c to libtcc.c and tccmain.c to tcc.c.
>
> Such that now more intuitively libtcc is made from libtcc.c
> and tcc is made from tcc.c.
>
>
> http://repo.or.cz/w/tinycc.git?a=shortlog;h=bf4a40f504bd78380d10a1529bdd9b58a985f252
>
> How looks that?
>
> --- grischka
>
>
>
> grischka wrote:
>
>> While I was in refactoring mood I created 4 new files:
>>
>>    tcc.h
>>    tccpp.c
>>    tccgen.c
>>    tccmain.c
>>
>> That is tcc.c split into parts.
>>
>> http://repo.or.cz/w/tinycc.git?a=shortlog;h=35bb7a93
>>
>> Do we want this?
>>
>> --- grischka
>>
>
>
>
> _______________________________________________
> Tinycc-devel mailing list
> [email protected]
> http://lists.nongnu.org/mailman/listinfo/tinycc-devel
>
_______________________________________________
Tinycc-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to