woer@otter.hpl.hp.com (Ascan Woermann) (06/04/90)
I am running an experimental Mach system (4.3BSD compatible) on an HP 9000/s300 workstation. After some enquiries on how we might get C++ for this O.S./hardware configuration, we decided to port AT&T C++ 2.0 ourselves. However, according to the release notes for C++ 2.0, a prerequisite is a C compiler and linker that support structures as legal arguments to functions and as return values from functions, as well as supporting structure assignments. The current C compiler on our Mach system doesn't support these requirements. Does anyone know to what extent AT&T's C++ 2.0 depends on these facilities and under what conditions we are likely to encounter problems. Also, any alternative suggestions for how we might get C++ for this O.S./hardware combination, or how we might get/port a C compiler that supports these more recent C enhancements. Comments or thoughts appreciated, Ascan ---------------------------------------- Ascan Woermann Hewlett-Packard Laboratories, Bristol, U.K. Email: woer@hplb.hpl.hp.com woer@hplb.hp.co.uk
keller@saturn.ucsc.edu (Jeffrey M. Keller) (06/05/90)
It sounds like what you want is GCC. With luck, G++ will already have been ported; if not, you can do that. In any case, GCC does run on the HP9000/300 series and is ANSII compatible. (I assume the port was for the standard OS on that system, but that shouldn't be too much of a problem.) GCC is the Gnu C Compiler; G++ is the C++ front-end for same. Both are distributed by the Free Software Foundation (Cambridge, MA) and should be ftp-able from prep.ai.mit.edu and other places. (They'll also ship you a tape, for a couple hundred dollars or so.) Try the newsgroup gnu.g++ for more info. (If you want to market the resulting compiler, then this isn't the thing for you; but you can market the object code it produces, provided you use your own libraries.) -- Jeff Keller keller@saturn.ucsc.edu (408)425-5416 THIS LIFE IS A TEST. IT IS ONLY A TEST. HAD THIS BEEN A REAL LIFE, YOU WOULD HAVE BEEN GIVEN INSTRUCTIONS ON WHERE TO GO AND WHAT TO DO.