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: KHMan
Subject: Re: [Tinycc-devel] split tcc.c
Date: Fri, 08 May 2009 17:58:32 +0800
User-agent: Thunderbird 2.0.0.16 (Windows/20080708)

Philippe Ribet wrote:
KHMan wrote:
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?

I don't see why not, tiny is not really tiny anymore because there is some degree of gcc compatibility anyway. An "all.c" can always be added to cater for whole-program optimization aficionados...

"all.c" could be as simple as:
#include "tccpp.c"
#include "tccgen.c"
#include "tccmain.c"
#include "libtcc.c"
...

Not sure it was what you mean.

Yep, that's what I mean. :-) It may or may not require some additional #defines to get everything working in order, so I just talked about it in a general manner.

--
Cheers,
Kein-Hong Man (esq.)
Kuala Lumpur, Malaysia




reply via email to

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