This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]