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: Hanzac Chen
Subject: Re: [Tinycc-devel] split tcc.c
Date: Wed, 29 Apr 2009 21:46:08 +0800

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



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
address@hidden
http://lists.nongnu.org/mailman/listinfo/tinycc-devel


reply via email to

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