On Mon, Apr 20, 2009 at 8:29 PM, grischka <[email protected]> wrote: > 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.
It will be better I think. Sorry for that I didn't express clearly. > >> On Mon, Apr 20, 2009 at 5:20 AM, grischka <[email protected] <mailto: >> [email protected]>> 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 [email protected] http://lists.nongnu.org/mailman/listinfo/tinycc-devel
