Path: chuka.playstation.co.uk!news From: Developer Support Newsgroups: scee.yaroze.programming.gnu_compiler Subject: Re: C++ compiler? Date: Tue, 17 Jun 1997 13:39:33 +0100 Organization: Sony Computer Entertainment Europe Lines: 39 Message-ID: <33A68585.7991@interactive.sony.com> References: <335E5198.242@compuserve.com> <335DFC97.1481@interactive.sony.com> <01bc78c5$f605d8c0$c793989e@fourny.demon.co.uk> Reply-To: N/A-Use-Newsgroup NNTP-Posting-Host: 194.203.13.10 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.01 (Win95; I) Grim wrote: > > I'm pretty much at the stage of giving up on PC Codewarrior, especially > after seeing those compiler benchmarks. So I'm trying out gcc > > I downloaded the gnu docs to get the compiler options for c++, and wrote a > wee simple c++ program to test it out, not using any psx libraries or > header files > > The problem is that > > gcc -x c++ demo.cpp > > doesnt work. It doesnt even try to compile it. It gives 'unrecognised > language c++'. You can check up the docs yourself; you're not even supposed > to need the -x c++ bit. > > In another thread someone says this is gcc 2.7 something then according to > the docs the c++ compiler is integrated and not a separate program. This > makes me think that the compiler has not been built correctly - the docs > dont say anything about c++ not working on MIPS. > > Can anyone at sony confirm this is true? Is it deliberate? > > Has anyone got further than this? On the gcc recompiles for amiga and > linux, does c++ work there? Despite references to C++ usage, I don't think that the Yaroze build did cater for C++. I think this is because Yaroze is derived from the normal Development Kit for PlayStation, and that kit enables the use of C++ but doesn't encourage it (eg lack of tech support for people developing C++ games on PSX). See the new CodeWarrior patch/update however, I'm fairly sure that deals with C++.