Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!wuarchive!uunet!mcsun!inria!litp!sylvie From: sylvie@litp.ibp.fr (Sylvie LEMARIE) Newsgroups: comp.lang.c++ Subject: Re: porting C++ to tranputers Keywords: ports, transputers Message-ID: <3390@litp.ibp.fr> Date: 15 Oct 90 14:40:31 GMT References: <1011@oscsunb.osc.edu> Reply-To: sylvie@litp.ibp.fr.UUCP (Sylvie LEMARIE) Organization: Institut Blaise Pascal, Paris, France Lines: 32 1 About C++ porting on transputer Our research group is involved in development of environment for transputer-based machine. We run Helios as our basic system support. We are porting C++ (2.0) to be run with the helios C. This C compiler is almost C-ansi but the C++ compiler optimizes some declarations which are not accepted by the Helios C, for example struct A { ... } struct B { A* a; } B b; The ATT C++ (2.0) compiler does not generate the A structure since just a pointer is used. This botches the Helios C compiler. So we have modified the ATT compiler to cope with Helios C. Some other minor problems occur, requiring minor extensions. Other problems include : - the C Helios does not have an independent preprocessor stage, we have ported the Gnu-CPP to run in front of the ATT-cfront. - _main is an Helios function - ... I can't distribute these sources since ATT copyrighted but if some vendors are interested, business could be business. 2 About cross-compiler We have a cross-compiler Sun -> Helios. Our header files are just mounted by NFS and we use the -I directive. Sylvie Lemarie Philippe Gautron, UUCP: gautron@rxf.ibp.fr Rank Xerox France / LITP Universite de Paris VI 4 place Jussieu, 75252 PARIS CEDEX 05 FRANCE