This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: front-end that translate C++ to C
>>>>> "Dan" == Daniel Berlin <dberlin@dberlin.org> writes:
Dan> You can't take the output of the gcc llvm frontend on one platform, and
Dan> run it on another, like cfront could.
Dan> The sizes, alignments, etc, of things will be different, where people
Dan> use sizeof(x), etc, in their code.
Dan> Unless you hacked up the C frontend to give you sizeof_expr, etc.
Even then you would run into '#if WORDS_BIGENDIAN' and the like...
Tom