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: Philippe Ribet
Subject: Re: [Tinycc-devel] split tcc.c
Date: Fri, 08 May 2009 08:56:28 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040413 Debian/1.6-5

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.

--

            Philippe Ribet


SmartEiffel:
one methodoology, one language,
highest quality kept secret.
Visit http://smarteiffel.loria.fr
My web site: http://p.ribet.free.fr





reply via email to

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