C++ Compiler?
25 messages in this thread
Hiya…of late, I've been having a love affair with C++, but it'd be great
if I can find a good C++ compiler for the Amiga. I have GNU C++ but it is
rather slow and kind of…I dunno….Unix-ized. I've been using Manx C for
years and would like something almost as fast as either Manx C or SAS/C. In
addition, I want to be able to use AmigaDOS calls and other library calls
as well, since I use those all the time.
Thanks in advance for any suggestions,
Angeli Wahlstedt
Angela,
Have you looked into Comeau C++ for the Amiga? It will work with Manx C
as a back end compiler.
Greg Comeau is online here and will likely notice this thead to give
answers to your specific questions.
David
>Comeau C++…
No, I haven't heard of it…is it commercial or shareware? How much does it
cost?
— Angeli
Angeli,
It's commercial, but needs to be ordered direct from:
Comeau Computing
91-34 120th Street
Richmond Hill, NY 11418
718-945-0009 (Voice)
718-441-2310 (FAX)
The product is Comeau C++ 3.0 with ANSI C++ Templates for AmigaDOS. It is
available for quite a number of platforms besides the Amiga. Greg's User
ID is 72331,3421 if you'd like to contact him via Compuserve Mail. The
information that I have is that cost for the AmigaDOS version is $250, but
I'm not certain if that's still current.
David
$250 sounds a bit lot, but thanks…I'll get in touch with Mr. Comeau.
— Angeli
Angeli,
One of the major reasons that the price is high is the license fee that
AT&T requires. (I not certain what it is, but Greg has indicated that it
represents a substantial part of the price.) Since this is a true AT&T
implementation, the license fee is a requirement.
David
I bought Comeau C++ a few months ago at $250. Since it is not a native C++
compiler (I think that's the terminology; I mean it mangles symbol names
and produces a C program) it is not nearly as fast as a straight C
compiler, but when you finish compiling without errors, your code will be
very clean. This will obviate a considerable amount of debugging.
One caution: I have had some trouble getting the new template feature
of AT&T's implementation, ported to the Amiga, to work the way I think it
should. I have communicated with Mr. Comeau about this on Compuserve and
BIX and he is looking into it. But templates are pretty new and, I think,
there are not a lot of implementations of them on any platform.
Tom
>One of the major reasons that the price is high is the license fee that
>AT&T requires. (I not certain what it is, but Greg has indicated that it
>represents a substantial part of the price.) Since this is a true AT&T
>implementation, the license fee is a requirement.
Correct again. In all practicalness, the price is as rockbottom as it can
get w/o us loosing money.
>$250 sounds a bit lot, but thanks…I'll get in touch with Mr. Comeau.
In all fairness, our prices are not abnormal. Do I smell a student? 😉
No, I think today is "customer from hell" day. We had so many wacky calls
this morning, I was glad I had appointments in the afternoon. One guy
didn't know how to run LightWave, was saving 3D Studio objects in a strange
way, and he said his boss was fuming because of his wasted time, and was
going to sue us and NewTek – it turns out it was all his fault, and I even
had a work-around for him within an hour. Another guy starts complaining
about the supposed treatment he received from our company *three years ago*
on the phone, and complained vociferously that our upgrade cost was too
high and our retail price too low, and that it was our fault that he didn't
register and receive notice of our upgrade path, and that he was somehow
forced to buy two sets of our products at more than retail price, and when
I offered him a free upgrade to make him happy, he refused.
>"customer from hell"
We get them too. And yeah, when it rains it pours. I really haven't the
slightest idea where some of them are coming from. And then it becomes a
loose-loose situation. But then ya hafta go with "the customer is always
right" and just sit there (most times).
I tried that with this particular guy – offered him the free upgrade, tried
to smooth the waters; but he remained miffed, and did the usual, like
threatening to write all the magazines and tell them how terrible I was.
Which to me leaves only one choice: give the person the phone numbers of the
magazines. 1/2 ;-).
A couple of years ago, we actually offered to buy someone a competitor's
product. That was a customer from hell. There are some people that can
never be pleased no matter what you do. I think that even the magaines
recognize that they exist.
>It's commercial, but needs to be ordered direct from:
>Comeau Computing
>91-34 120th Street
>Richmond Hill, NY 11418
>718-945-0009 (Voice)
>718-441-2310 (FAX)
>The product is Comeau C++ 3.0 with ANSI C++ Templates for AmigaDOS. It is
>available for quite a number of platforms besides the Amiga. Greg's User
>ID is 72331,3421 if you'd like to contact him via Compuserve Mail. The
>information that I have is that cost for the AmigaDOS version is $250, but
>I'm not certain if that's still current.
That information is current. The only addition is that a 3.0b is now
available (and was a free upgrade to all 3.0 customers) supporting
SAS/C 6.0 as yet another official backend.
Greg:
For those of us who missed it, can you tell us a bit about the 3.0
compiler? Is it a full compiler or just a front end?
Regards, Tom
>For those of us who missed it, can you tell us a bit about the 3.0 compiler?
>Is it a full compiler or just a front end?
Comeau C++ 3.0 With Templates is a full C++ compiler generating C as its
object code and hence needing a C compiler as a back end. Comeau C++ is the
most diversely ported C++ anywhere and more ports are still coming. Besides
our multi-platform touts, we are also very up-to-date, very robust, and
reasonably priced. If you have more specific questions, I'd be happy to
provide more specific responses.
Greg:
Thanks for the info!
Regards, Tom
Comeau C++ works very nicely with SAS 6.0 C. You can even use the
Codeprobe debugger with it. I haven't tried displaying class variables
yet, though. I have also set of a smake.def makefile which compiles the
C++ programs by clicking on the build icon on the workbench. Here is a
copy of that file
SC = SC:sc SCFLAGS = IDIR=INCLUDE: ASM = SC:asm LINK = SLINK:slink
DEFAULT
$(SC) $(SCFLAGS) $*
a.o:
$(ASM) $* -iinclude -o$*.o
c.o:
$(SC) $(SCFLAGS) $*
cp.o:
rx como $*
h.o:
delete $*.o
$(SC) $(SCFLAGS) $*
cp files are my default name for c++ source files.
Bill Roberts in Ellettsville In. via Whap!
Thanks for that tidbit. I think that others will find this useful.
Do you mean to say that you have a *port* of G++ for AmigaDOS? *Where* did
you get it? (eagerly waiting)
– via Whap!
Michael,
In Library 4 …
GPLUS.LHA/Bin Bytes:1999814, Count: 42, 20-Feb-92
Last:18-Nov-92
Title : GNU G++ (C++) compiler
Keywords: GNU G++ C++ OBJECT
This is the freely distributable GNU G++ (C++) compiler. The compiler
requires a large stack (try 150K) and LOTS of memory. This file is large
(2M) and will take about 1 hour at 9600 to download.
-sja
Neat!
The more GNU tools I see, the happier I am.
– via Whap!
GNU make and GNU (now) RCS are available also.
Is there any way I can order this program on disks, there's no way I am
going to download here in Germany when I only have 2400 Baud.
Unfortunately Howard Hughes isn't around to pay my phone bill!