Path: utzoo!utgpu!water!watmath!clyde!att!rutgers!ucsd!ames!amdcad!sun!pitstop!sundc!seismo!uunet!mcvax!hp4nl!philmds!prle!cstw01!meulenbr
From: meulenbr@cstw01.UUCP (Frans Meulenbroeks)
Newsgroups: comp.sys.atari.st
Subject: Re: C++
Message-ID: <174@cstw01.UUCP>
Date: 19 Aug 88 07:10:58 GMT
References: <5006@pasteur.Berkeley.EDU> <690@cs.Buffalo.EDU>
Reply-To: meulenbr@cstw01.UUCP (Frans Meulenbroeks)
Organization: Centre for Software Technology, Philips Eindhoven
Lines: 38

In article <690@cs.Buffalo.EDU> leo@sunybcs.UUCP (Leo Wilson) writes:
>In article <5006@pasteur.Berkeley.EDU> landay@cory.Berkeley.EDU (James A. Landay) writes:
>>Does anyone know of a C++ translator or compiler for the ST (PD or commercial?)
>
>Good question! And is there anyone out there working on porting gcc to
>the ST? Please, I think this could be an interesting bit of PUBLIC news,
>interesting to quite a large part of the net...
>===
>Leo E. Wilson  364 West Delavan Avenue, Buffalo, NY 14213-1412 (716)883-7573
>(leo@gort.cs.Buffalo.EDU)    ...!sunybcs[!leow]!leo    leo@sunybcs.bitnet

Porting gcc to the ST can be done, given enough time.
I've taken a small peek into this in the past though, and I decided not
to try this.
My reasons:
- gcc must be compiled using 32 bit int. I'm not aware of any ST compiler
  which can cross compile this.
- the gcc executable is big. Forget this on a 520 and perhaps even on a 1040
- compiling gcc itself takes up more memory than my 1040 has
- but the catcher:
  gcc contains a library calls to routines not available on the C
  compilers/linkers I'm aware of. (think about things like system, fork
  and exec).
I tried to port cpp from gcc to Minix, and that was not a trivial task,
let alone porting gcc.

(By the way: it is quite simple to port gnuchess to Minix, assuming that
you can live with the "simple" display version (no curses) )

Of course, I'm also interested to know if someone is busy porting gcc (or
even better: g++). But as for now, I think I'll try to obtain the ST
version of Turbo C in Germany as soon as it comes out (rumour says
september).
-- 
Frans Meulenbroeks
	Centre for Software Technology
	...!mcvax!philmds!prle!cst!meulenbr   or   ...!uunet!prlb2!cst!meulenbr
        or perhaps   meulenbr@cst.prl.philips.nl