[comp.sys.atari.st] C++ AVAILABILITY...

glk01126@uxa.cso.uiuc.edu (09/02/89)

	I remember some talk of C++ on here before,
	is a compiler available?  How about a C++ to
	C converter?

	Thanks.

			-Spieu!

xhans@dna.lth.se (Hans Grankvist - Exjobb EA/GF) (09/04/89)

In article <111500026@uxa.cso.uiuc.edu> glk01126@uxa.cso.uiuc.edu writes:
> How about a C++ to C converter?
How about a Modula-2 to BASIC converter? :-)

----
tos #35

roeder@sbsvax.UUCP (Edgar Roeder) (09/05/89)

In article <111500026@uxa.cso.uiuc.edu>, glk01126@uxa.cso.uiuc.edu writes:
> 	I remember some talk of C++ on here before,
> 	is a compiler available?  How about a C++ to
> 	C converter?
> 

I am currently working on G++ for the ST. Because it's only an alternative
front end for GCC, it's not so much work for the compiler itself. This tool
will probably never compile more than "Hello world" on a 1 MB machine. The
pass 1 of the compiler (gcc-c++) is about 650 kB large and i don't think that
this could be reduced very much.
Perhaps somebody else has already finished this port (JRD ?) but for this last
reason has not announced it here...
I have already cross-compiled G++ 1.34 (i think i'll get 1.35 this week) on our
Sun and will now try to compile the library on my Mega 2 at home.

The original AT&T C++ is a "C++ to C converter" (plus ...) because it generates
C-code from C++ source. It should be no problem porting this to the ST (it
would also be much smaller), since it reads text files and generates new text as
output. BUT the original AT&T C++ is NOT PD. And i don't think that they would
think about porting to the ST.

> 	Thanks.
> 
> 			-Spieu!

Hope this helps
	- Edgar