B
Bootstrap Bill
Are there any open source C++ compilers that will produce C code? I
understand the first C++ compilers operated this way.
understand the first C++ compilers operated this way.
Are there any open source C++ compilers that will produce C code? I
understand the first C++ compilers operated this way.
Bootstrap Bill said:Are there any open source C++ compilers that will produce C code? I
understand the first C++ compilers operated this way.
You might want to have a look at Comeau - it's not open source, but
it's cheap, and AFAIK does exactly what you want
In said:in comp.lang.c i read:
but note that the code produced isn't intended for human consumption or
later use, so it's not necessarily maintainable (at least not directly).
You might want to have a look at Comeau - it's not open source, but
it's cheap, and AFAIK does exactly what you want
(www.comeaucomputing.com)
Well, Comeau C++ does produce C as an implementation detail.
But that's not supposed to be a user concerns per se,
so Bootstrap should probably elaborate upon his needs,
and we can re-advise him from there. In other words,
what it the underlying need for the request in the first place?
In said:The OP was also asking for C compiliers for the 6809,
so I suspect he is looking for a why to compile C++
code for one or more platforms for which no C++ compiler
exists.
Bootstrap Bill said:Are there any open source C++ compilers that will produce C code? I
understand the first C++ compilers operated this way.
Jack Klein said:C++ compilers are off-topic in comp.lang.c.
Yes, that is exactly what I want to do..Sheldon Simms said:The OP was also asking for C compiliers for the 6809,
so I suspect he is looking for a why to compile C++
code for one or more platforms for which no C++ compiler
exists.
That faq entry didn't even come close to answering my question. I want toTristan Miller said:Greetings.
This is mostly answered in the FAQ, wherein one should generally look before
posting:
http://www.eskimo.com/~scs/C-faq/q20.27.html
Bootstrap said:I asked about converting to C, so this is on topic.
Bootstrap said:Are there any open source C++ compilers that will produce C code?
No.
I understand the first C++ compilers operated this way.
E. Robert Tisdale said:Please ignore Jack Klein.
I asked about converting to C, so this is on topic.
E. Robert Tisdale said:Please ignore Jack Klein.
He gets cranky sometimes.
And is often short tempered with new subscribers.
But, when he feels like it, he can be one of the best contributors
to the comp.lang.c newsgroup. Just be patient.
Default said:Listen to Jack Klein.
E. Robert Tisdale said:Please ignore Jack Klein. He gets cranky sometimes.
And is often short tempered with new subscribers.
But, when he feels like it, he can be one of the best contributors
to the comp.lang.c newsgroup. Just be patient.
Not really. In CLC. the topic here is the C /language/ rather than
specific implementations of it. And converting one language to another
is certainly nontopical.
ISTR that you wanted an implementation for a PIC of some sort -
comp.arch.embedded might be a better place to ask.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.