tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] split tcc.c


From: grischka
Subject: Re: [Tinycc-devel] split tcc.c
Date: Sat, 02 May 2009 13:43:00 +0200
User-agent: Thunderbird 1.5.0.10 (Windows/20070221)

Hanzac Chen wrote:
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?

Thanks for looking at it.  The TCC_MAIN is just to keep the code
logically identical to how it was before the split.  Of course
this can go away later.

--- grischka

On Mon, Apr 27, 2009 at 6:01 AM, grischka <address@hidden <mailto:address@hidden>> 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






reply via email to

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