Roy Tam wrote:
Hello,from an old thread ( https://lists.gnu.org/archive/html/tinycc-devel/2008-11/msg00024.html ) :Also would be nice to have some C++ support, but it could be very difficult, I lost the hope to have a superfast C++ compiler.I once have made some experiments with the historical "CFRONT AT&T C++ to C Translators", with TCC used for the PP and the C to OBJ part. It works quite well, with both cfront 1.0 (1986) and cfront 3.0.3 (1997). If someone is interested I can post more information. Note however that even the latter version is not about today's C++ (although close already).grischka, I wonder if you can give more details about this (and hopefully with source files). Thanks.
Historical cfront sources (1.0 and 3.0.3) are here: http://www.softwarepreservation.org/projects/c_plus_plus IIRC one thing that needs to be fixed are expanded "getc" macros in the bootstrap C files (scratch dir) as they refer to a struct FILE which likely is not what you have nowadays. A patch for 1.0 attached. All from 2007. no warranty whatsoever. -- gr
Regards, Roy
cf1.patch.tar.bz2
Description: Binary data
_______________________________________________ Tinycc-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/tinycc-devel
