Topic: Available compilers for C++ Standards ...
Author: comeau@panix.com (Greg Comeau)
Date: 1998/12/04 Raw View
In article <MWRon-0212981123470001@dyn1-tnt1-78.kalamazoo.mi.ameritech.net> MWRon@metrowerks.com (MW Ron) writes:
>In article <741b8v$q2s$1@nnrp1.dejanews.com>, sandrosa@dcc.ufba.br wrote:
>> What are the available compiler that supports this new C++ features ?
>
>I assume you are looking for UNIX compilers but since the question is
>about compilers for C++ standards I'd like to tout Metrowerks CodeWarrior.
>
>While not 100% compliant I believe it is one of if not the most compliant
>C++ compilers for Macintosh and Windows (32 bit x86) and this spring Linux
>(x86./PPC) Our Sun hosted CodeWarrior uses GCC.
>
>For more information check out our web site <www.metrowerks.com>
As long as we're touting ;-}......
It's worth pointing out that the upgrades are now available for the next
Comeau C++ 4.2.38, including ports to SCO, LINUX/ELF, SunOS, Solaris/SPARC,
a spanking new port for MS-Windows, etc.
I agree with your point about compliancy. We wouldn't be so bold as to
say we were 100% compliant either (as <gasp> some vendors have), but we've
a very strong and well featured front-end at a good price.
In general, I'm rather pleased about the offering from this year from
all the vendors. For instance, HP seems to keep nice track and
IBM is beginning a much waited for new release.
- Greg
--
Comeau Computing, 91-34 120th Street, Richmond Hill, NY, 11418-3214
Producers of Comeau C/C++ 4.2.38 -- New Release! We now do Windows too.
Email: comeau@comeaucomputing.com / Voice:718-945-0009 / Fax:718-441-2310
*** WEB: http://www.comeaucomputing.com ***
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html ]
Author: jcoffin@taeus.com (Jerry Coffin)
Date: 1998/12/02 Raw View
In article <741b8v$q2s$1@nnrp1.dejanews.com>, sandrosa@dcc.ufba.br
says...
[ ... ]
> I'm a new member and I already have a question.
> Do the widely available compilers (gcc, cc, etc) have support for
> C++ Standards ? I had tried to compile some programs (using cc) that has the
> namespace keyword and the bool type and I have no success.
> What are the available compiler that supports this new C++ features ?
It would be a great deal of help to know the specific platform you're
developing for. For example, HP and IBM both have compilers that do
quite well in terms of standards conformance, but each is restricted
to a platforms from the same vendor (HP-UX and AIX respectively).
There are compilers available for a number of different platforms that
are also quite good (e.g. KAI's) but again, without knowing the
platform that interests you, it's hard to say which ones will be
useful to you.
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html ]
Author: Igor Rafienko <igorr@ifi.uio.no>
Date: 1998/12/02 Raw View
Alexandre Oliva <oliva@dcc.unicamp.br> writes:
| On Dec 1, 1998, sandrosa@dcc.ufba.br wrote:
|
| > Do the widely available compilers (gcc, cc, etc) have support for
| > C++ Standards?
|
| cc is only a C compiler. gcc, on the other hand, is a compilation
| driver for various languages, and it will select the compiler for
| the appropriate language based on the extension of the source file.
| So, if you ask it to compile a file named .cc or .cpp, it will run
| the C++ compiler, but if the file is named .c, your program should
| be a C source, i.e., no classes, namespaces, templates, etc.
Unfortunately gcc is not THAT smart. It doesn't understand templates
(even for *.cpp files ) and it doesn't recognize the new standard way for
headers ( <iostream> instead of <iostream.h> ).
Try g++ (which is quite ok, but unfortunately has no support for
namespaces. Yet...)
igorR
--
Vy vstaete s posteli, a lezhashaya ryadom devushka hvataet vas za ruku i
govorit:
- Save changes? Yes or No?
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html ]
Author: MWRon@metrowerks.com (MW Ron)
Date: 1998/12/02 Raw View
In article <741b8v$q2s$1@nnrp1.dejanews.com>, sandrosa@dcc.ufba.br wrote:
> What are the available compiler that supports this new C++ features ?
I assume you are looking for UNIX compilers but since the question is
about compilers for C++ standards I'd like to tout Metrowerks CodeWarrior.
While not 100% compliant I believe it is one of if not the most compliant
C++ compilers for Macintosh and Windows (32 bit x86) and this spring Linux
(x86./PPC) Our Sun hosted CodeWarrior uses GCC.
For more information check out our web site <www.metrowerks.com>
Ron
--
Battle of the Java development tools By Rex Baldazo
"When it comes time for final production, though,
I'll move over to CodeWarrior"
http://www.builder.com/Servers/RexTech/111698/?dd.cn
http://www.zdnet.com/pcweek/stories/news/0,4153,361176,00.html
CW Pro 4.0 C++ compiler 30% edge in Tak benchmark over VC++ 6.0
METROWERKS - Ron Liechty - MWRon@metrowerks.com
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html ]
Author: ncm@nospam.cantrip.org (Nathan Myers)
Date: 1998/12/03 Raw View
Igor Rafienko <igorr@ifi.uio.no> wrote:
>Alexandre Oliva <oliva@dcc.unicamp.br> writes:
>| sandrosa@dcc.ufba.br wrote:
>|
>| > Do the widely available compilers (gcc, cc, etc) have support for
>| > C++ Standards?
>|
>| cc is only a C compiler. gcc, on the other hand, is a compilation
>| driver for various languages, and it will select the compiler for
>| the appropriate language based on the extension of the source file.
>| So, if you ask it to compile a file named .cc or .cpp, it will run
>| the C++ compiler, but if the file is named .c, your program should
>| be a C source, i.e., no classes, namespaces, templates, etc.
>
>Unfortunately gcc is not THAT smart. It doesn't understand templates
>(even for *.cpp files ) and it doesn't recognize the new standard way for
>headers ( <iostream> instead of <iostream.h> ).
>
>Try g++ (which is quite ok, but unfortunately has no support for
>namespaces. Yet...)
The above posting is likely to mislead people.
gcc does understand templates. g++ does too. However, this
depends on *which* gcc you are talking about. gcc-2.7.x, now
four years old, had rather primitive support. gcc-2.8.x, about
a year old, had better template support, but was buggy. (The
gcc-2.8.x development line is now dead, dead, dead.) The Egcs
project has taken over development of the GNU compilers.
The Egcs project produces compilers for a variety of languages.
Its compilers gcc and g++ are industrial-grade reliable. The
current release, 1.1, has support for namespaces, though its library
doesn't use them. Its namespace implementation has some obscure
bugs that are fixed in 1.1.1. (The next release, Egcs-1.1.1, will
be out shortly.)
--
Nathan Myers
ncm@nospam.cantrip.org http://www.cantrip.org/
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html ]
Author: sandrosa@dcc.ufba.br
Date: 1998/12/01 Raw View
Hi friends,
I'm a new member and I already have a question.
Do the widely available compilers (gcc, cc, etc) have support for
C++ Standards ? I had tried to compile some programs (using cc) that has the
namespace keyword and the bool type and I have no success.
What are the available compiler that supports this new C++ features ?
Thanks in advance,
Sandro Santos Andrade
~~~~~~~~~~~~~~~~~~~~~
Undergraduate Computer Science Student at University of Bahia, Brazil
Researcher in Medical Datasets Visualization.
http://www.dcc.ufba.br/~sandrosa
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html ]
Author: Alexandre Oliva <oliva@dcc.unicamp.br>
Date: 1998/12/01 Raw View
On Dec 1, 1998, sandrosa@dcc.ufba.br wrote:
> Do the widely available compilers (gcc, cc, etc) have support for
> C++ Standards?
cc is only a C compiler. gcc, on the other hand, is a compilation
driver for various languages, and it will select the compiler for the
appropriate language based on the extension of the source file. So,
if you ask it to compile a file named .cc or .cpp, it will run the C++
compiler, but if the file is named .c, your program should be a C
source, i.e., no classes, namespaces, templates, etc.
--
Alexandre Oliva http://www.dcc.unicamp.br/~oliva aoliva@{acm.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Universidade Estadual de Campinas, SP, Brasil
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@ncar.ucar.edu ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html ]