Re: Porting Cfront to Linux

From: Greg Comeau (comeau_at_panix.com)
Date: 09/20/05


Date: 20 Sep 2005 16:14:27 -0400

In article <pqYXe.7169$0u2.1053444@news20.bellglobal.com>,
Christopher Browne <cbbrowne@acm.org> wrote:
>> napi@axiomsol.com,
>> In a message on 19 Sep 2005 22:04:17 -0700, wrote :
>> n> John writes:
>> n> >I suppose someone may have long ago. >Have you asked Google about it?
>> n>
>> n> I Googled but found nothing. I need to use
>> n> Cfront to convert C++ source into C source.
>> n> This C source is then fed to a C compiler
>> n> for a non-common platform. Have you any
>> n> tips? Thanks.
>>
>> "Non-common platform". If it is a 32-bit or 64-bit processor, Gcc/G++
>> probably supports it (or can be made to support it -- gcc can be made
>> to support a new platform fairly easily, so long as the target
>> processor is already supported). I believe gcc/g++ already supports
>> all 32 and 64 bit processors currently in production as well as a bunch
>> of 'obsolete' (out of production) processor types. What platform,
>> exactly?
>
>If there's some *real* reason for wanting this sort of thing, it's
>probably better to look into Greg Comeau's C++ compiler:
><http://www.comeaucomputing.com/>

I agree... of course :)

>That uses a similar model to CFront, with the merit that it conforms
>to more modern standards...

Either way, we're the answer :) Especially if C99, C++, C90,
and "wierd stuff" is involved.

-- 
Greg Comeau /     Celebrating 20 years of Comeauity!
Comeau C/C++ ONLINE ==>     http://www.comeaucomputing.com/tryitout
World Class Compilers:  Breathtaking C++, Amazing C99, Fabulous C90.
Comeau C/C++ with Dinkumware's Libraries... Have you tried it?


Relevant Pages

  • Re: unresolved external symbol
    ... >I don't see template export as one of them. ... >somewhat bending it towards support for a specific platform. ... ISO/IEC FDIS 14882:1998 aka C++98. ... Comeau C/C++ with Dinkumware's Libraries... ...
    (comp.lang.cpp)
  • Re: c99 on Microsoft Visual Studio
    ... Current VC has no purposeful support of C99, ... To the best of my knowledge, their plan is a wait and see plan: ... Comeau C/C++ with Dinkumware's Libraries... ...
    (comp.lang.c)
  • Re: C and only C language has a standard 64 bit integer type ?
    ... >I've read here that only C language has a standard 64bit integer. ... as a minimum (so for instance, it may support 128 bits too). ... Comeau C/C++ with Dinkumware's Libraries... ...
    (comp.lang.cpp)
  • Re: Information on migration of DMS2200 to relational databases
    ... application infrastructure is available on the possible target ... DML for DMS 2200 access and currency are very important as the ... Make sure every function including paging support, line I/O, ... Staying on the existing platform is always an option, ...
    (comp.sys.unisys)
  • Re: Debug mode
    ... I know the eVC 3 IDE is very fussy about platform mismatches; ... maybe VS 2003 won't support the mismatch when the actual target is WM ...
    (microsoft.public.pocketpc.developer)