public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* c++ to c conversion
@ 2004-01-15 14:57 Massimiliano Cialdi
  2004-01-15 16:53 ` Eljay Love-Jensen
  0 siblings, 1 reply; 5+ messages in thread
From: Massimiliano Cialdi @ 2004-01-15 14:57 UTC (permalink / raw)
  To: gcc help

there exist a command line parameter to convert a c++ source in a c one?

thanks

-- 
Massimiliano Cialdi
cialdi@firenze.net
m.cialdi@oksys.it

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: c++ to c conversion
  2004-01-15 14:57 c++ to c conversion Massimiliano Cialdi
@ 2004-01-15 16:53 ` Eljay Love-Jensen
  2004-01-15 17:03   ` Massimiliano Cialdi
  0 siblings, 1 reply; 5+ messages in thread
From: Eljay Love-Jensen @ 2004-01-15 16:53 UTC (permalink / raw)
  To: Massimiliano Cialdi, gcc help

Hi Massimiliano,

AT&T CFront and Comeau C++ converts C++ source into C code.  There may be others, too.

GCC does not do that.

HTH,
--Eljay


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: c++ to c conversion
  2004-01-15 16:53 ` Eljay Love-Jensen
@ 2004-01-15 17:03   ` Massimiliano Cialdi
  2004-01-15 17:13     ` Jacob Smith
  2004-01-15 17:29     ` Eljay Love-Jensen
  0 siblings, 2 replies; 5+ messages in thread
From: Massimiliano Cialdi @ 2004-01-15 17:03 UTC (permalink / raw)
  To: gcc-help; +Cc: Eljay Love-Jensen

On Thu, 15 Jan 2004 10:52:53 -0600
Eljay Love-Jensen <eljay@adobe.com> wrote:

> AT&T CFront and Comeau C++ converts C++ source into C code.  There may
Are they free tools? Where can I dowload them?

> GCC does not do that.


thanks

-- 
Massimiliano Cialdi
cialdi@firenze.net
m.cialdi@oksys.it

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: c++ to c conversion
  2004-01-15 17:03   ` Massimiliano Cialdi
@ 2004-01-15 17:13     ` Jacob Smith
  2004-01-15 17:29     ` Eljay Love-Jensen
  1 sibling, 0 replies; 5+ messages in thread
From: Jacob Smith @ 2004-01-15 17:13 UTC (permalink / raw)
  To: gcc-help

CFront is owned by Lucent ($US300). Comeau C++ is owned by comeau 
computing ($US50). Older versions of CFront maybe free to download -- 
you'd have to do a search. To find them, do a google search for CFront 
or for Comeau. You may consider doing a Google to see if anyone has 
written a C++ to C backend for GCC -- this is technically possible.

Alternatively you could use Sun's GPLed "GCC2C Converter", the Google 
cache is here:
http://216.239.53.104/search?q=cache:QbeX_5BqMpIJ:www.sun.com/migration/linux/gcc2c_tool.html+C%2B%2B+to+C+converter+GCC&hl=en&ie=UTF-8
Or can be downloaded from here:
http://jsecom16b.sun.com/ECom/EComActionServlet?StoreId=8&PartDetailId=GCC2C-1.0-MP-G-F&TransactionId=Try&LMLoadBalanced=

Massimiliano Cialdi wrote:

>On Thu, 15 Jan 2004 10:52:53 -0600
>Eljay Love-Jensen <eljay@adobe.com> wrote:
>
>  
>
>>AT&T CFront and Comeau C++ converts C++ source into C code.  There may
>>    
>>
>Are they free tools? Where can I dowload them?
>
>  
>
>>GCC does not do that.
>>    
>>
>
>
>thanks
>
>  
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: c++ to c conversion
  2004-01-15 17:03   ` Massimiliano Cialdi
  2004-01-15 17:13     ` Jacob Smith
@ 2004-01-15 17:29     ` Eljay Love-Jensen
  1 sibling, 0 replies; 5+ messages in thread
From: Eljay Love-Jensen @ 2004-01-15 17:29 UTC (permalink / raw)
  To: Massimiliano Cialdi, gcc-help

Hi Massimiliano,

>Are they free tools?

I do not believe that they are free tools.

>Where can I dowload them?

Solbourne's AT&T C++ Cfront is US$1895
<http://www.desy.de/user/projects/C++/products/solbourne.html>

Comeau C++ 4.3.3 for US$43.30 (for 43.3 day use)
<http://www.comeaucomputing.com/>

I have the Comeau C++ (for Amiga OS) compiler, and I've been quite happy with it.

You may be able to find out more options via Google.
<http://www.google.com/>

HTH,
--Eljay


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-01-15 17:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-15 14:57 c++ to c conversion Massimiliano Cialdi
2004-01-15 16:53 ` Eljay Love-Jensen
2004-01-15 17:03   ` Massimiliano Cialdi
2004-01-15 17:13     ` Jacob Smith
2004-01-15 17:29     ` Eljay Love-Jensen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).