home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!ux1.cso.uiuc.edu!news.iastate.edu!hobbes.physics.uiowa.edu!news.uiowa.edu!tessa!norwest
- From: norwest@tessa (norwest)
- Subject: Re: Info on IBM compatible C/C++ compiler needed!
- Message-ID: <1992Nov23.145604.28780@news.uiowa.edu>
- Sender: news@news.uiowa.edu (News)
- Date: Mon, 23 Nov 1992 14:56:04 GMT
- References: <720988601snx@trmphrst.demon.co.uk> <BxJ8tG.BEr@iat.holonet.net>
- Nntp-Posting-Host: tessa.iaf.uiowa.edu
- Organization: University of Iowa, Image Analysis Facility
- Lines: 57
-
- In article <BxJ8tG.BEr@iat.holonet.net> rkinder@iat.holonet.net (Robert J. Kinder) writes:
- >On the subject of IBM PC compatible C++ compilers...
- >
- >Check out the Glockenspiel C++ *preprocessor*, it's a front-end C++
- >preprocessor for the native C compiler on your local system. It's
- >available for VAX, UNIX, OS/2, MS-DOS, and others.
- >
- >It's available from ImageSoft in Port Haven, NY. Call 1-800 directory
- >assistance. Ask about CommonView, a portable GUI C++ interface library.
- >
- >--
- >// rkinder@holonet.net International Software Solutions, Inc. -
- >// Robert J. Kinder, Jr. Boca Raton, Florida -
- >// 1-800-788-4774 -
- >// "No thanks! I have a radio."
-
-
- We use the glockenspiel C++ preprocesser, In my opinion it and Commonvu
- are not the way to go if you want to do any serious development.
- Since the C++ preprocessor relies on the C compiler you get all sorts
- of nasty problems with the C compiler limitations, and the fact that
- you are only getting a preprocessor. For example
- on the os2 1.3 version of Glockenspiel, the preprocessor will generate
- a new block for every variable in a function, the IBM C compiler usually
- chokes after x number of blocks, and the only solution is to put blocks
- around every line of code.
-
- Also if it matters, Zortech C++ for OS2 1.3 produces code that
- runs usually at least twice as fast.
-
- Compile times are absolutely horrendous, 2x - 4x longer than
- Zortech, and IBM's C++ ( xlC ) on AIX.
-
- Debugging absolutely sucks, there are no debuggers that
- demangle Glockenspeil name mangling, you are stuck
- debugging the C output.
-
- About commonvu,
- The big things to worry about are:
- 1) no way to access command line arguments.
- 2) The Motif version is stuck at release 2.0 levels while
- the PC world is at 3.0+
- 3) There is no working converter between PM resource files to
- Motif uil resources. ( I ended up writing one ).
-
- Anyway,
- The mistake Norwest made in choosing Glockenspiel is that they
- based the decision on the idea that it is best to use the same compiler
- on os2, windows, AIX. I'd suggest a better approach is to not worry about
- the compiler brand, but to get the best compiler for the OS you have,
- and write portable source.
-
- It is just my opinion, and i'm sure that there are lots of people
- who will disagree with me.
-
- Alex.
-
-