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: Mon, 20 Apr 2009 14:29:50 +0200
User-agent: Thunderbird 1.5.0.10 (Windows/20070221)

Hanzac Chen wrote:
Actually, I don't like tccmain.c. It seems that it's only for the existence of libtcc, but while not moving out the commonly shared code for libtcc & tcc?

Not sure what you mean.  The point of tccmain.c is that it does
NOT share code with libtcc, and that tcc can be build by linking
tccmain.o with libtcc.a (.so/.dll).

We could rename tcc.c to libtcc.c and tccmain.c to tcc.c.  It would
make sense, just then tcc.c would #include libtcc.h, while libtcc.c
would #include tcc.h, unless we rename tcc.h to something else.


On Mon, Apr 20, 2009 at 5:20 AM, grischka <address@hidden <mailto:address@hidden>> 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
    address@hidden <mailto:address@hidden>
    http://lists.nongnu.org/mailman/listinfo/tinycc-devel



------------------------------------------------------------------------

_______________________________________________
Tinycc-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/tinycc-devel










reply via email to

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