Topic: Is there a C++ standard on UNIX platforms?
Author: davidc@bruce.cs.monash.edu.au (David Chatterton)
Date: 31 Aug 1994 00:07:54 GMT Raw View
Ronald F. Guilmette (rfg@netcom.com) wrote:
: In article <199408210906.AA16818@zeus.datasrv.co.il> summer@zeus.datasrv.co.il (4th Dimension) writes:
: >Hello,
: >
: >I want to develop a product in C++ in many UNIX platforms(SunOS,HP-UX,
: >Solaris, AIX, NCR, Pyramid, ...)
: >
: >1) Is there a C++ standard that I may rely on?
: Nope.
: >2) Is there a compiler which supports this standard across
: > multiple Unix platforms?
: Nope. (There are some compilers that work for multiple platforms, but
: singe there is no standard yet, none of them fully support the as-yet
: non-existant standard. None of them even fully support the current
: *draft* of the standard, despite all marketing claims to the contrary.)
GNU g++ is probably the only compiler available on all those platforms,
and its free. Therefore if you stick to g++ on all the platforms, you have
a much beeter chance of porting your software with minimal system
dependancies.
: >3) Can I assume that features like templates and exception handling
: >work under all platforms?
: Nope.
g++'s templates are reasonable, but exceptions have only just been added
and are not stable. Unfortunately the way g++ does templates is very
different from cfront, so it is difficult to cleanly port between these two
compilers.
David
David Chatterton | "A new character has come on the scene (I am sure I did
Comp Sci Department, | not invent him, I did not even want him, though I like
Monash Uni, Clayton, | him, but there he came, walking out of the woods of
Australia, 3168. | Ithilien): Faramir, the brother of Boromir."
Phone: 03 905 5375 | - in a letter from JRR Tolkien to his son, 4 May 1944.
email: davidc@bruce.cs.monash.edu.au
Author: summer@zeus.datasrv.co.il (4th Dimension)
Date: 21 Aug 1994 04:05:41 -0500 Raw View
Hello,
I want to develop a product in C++ in many UNIX platforms(SunOS,HP-UX,
Solaris, AIX, NCR, Pyramid, ...)
1) Is there a C++ standard that I may rely on?
2) Is there a compiler which supports this standard across
multiple Unix platforms?
3) Can I assume that features like templates and exception handling
work under all platforms?
Please answer by E-mail.
summer@zeus.datasrv.co.il
Thanks
Yoram Bar-On
Author: rfg@netcom.com (Ronald F. Guilmette)
Date: Mon, 22 Aug 1994 23:04:03 GMT Raw View
In article <199408210906.AA16818@zeus.datasrv.co.il> summer@zeus.datasrv.co.il (4th Dimension) writes:
>Hello,
>
>I want to develop a product in C++ in many UNIX platforms(SunOS,HP-UX,
>Solaris, AIX, NCR, Pyramid, ...)
>
>1) Is there a C++ standard that I may rely on?
Nope.
>2) Is there a compiler which supports this standard across
> multiple Unix platforms?
Nope. (There are some compilers that work for multiple platforms, but
singe there is no standard yet, none of them fully support the as-yet
non-existant standard. None of them even fully support the current
*draft* of the standard, despite all marketing claims to the contrary.)
>3) Can I assume that features like templates and exception handling
>work under all platforms?
Nope.
--
-- Ron Guilmette, Sunnyvale, CA ---------- RG Consulting -------------------
---- domain addr: rfg@netcom.com ----------- Purveyors of Compiler Test ----
---- uucp addr: ...!uunet!netcom!rfg ------- Suites and Bullet-Proof Shoes -