Path: chuka.playstation.co.uk!news From: Markku Kaurila Newsgroups: scee.yaroze.programming.codewarrior Subject: Re: C++ builds fine now! Date: Thu, 30 Sep 1999 08:10:34 +0300 Organization: Nokia Lines: 58 Message-ID: <37F2F0CA.FE5BE0DB@nokia.com> References: <37E9BC78.6DEBDCC8@nokia.com> NNTP-Posting-Host: nas-dhcp-88-197.trs.ntc.nokia.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.06 [en] (WinNT; I) Hi again! C++ works fine now in a Mac.and it was not at all complicated. By the help of Metroworks excellent customer support I got everything right.. The only thing needed in addition to the instructions in C++Support Readme.txt was that both CodeWarrior for Net Yaroze Release 2, CW NY Updater (dated Feb 13, 1998), and CW NY R2 update 2 (dated Feb 15, 1999). needed to be installed. Also these patches must be installed on top of each other (you cannot install R2 Update 2 without already having the first Updater installed). Regards, Markku Kaurila Markku Kaurila wrote: > Hi, > > Has anyone actually managed to create a C++ program for Yaroze on a Mac? > I have spent two nights now trying it and have not suceeded yet. I > started doing exactly as was explained in the instructions in C++Support > Readme.txt. I then tried to compile the 'Learn' example found in the > 'Unsupported' folder (PC side of the CodeWarrior CD, that is. This > example was lacking from the Mac version of 'Unsupported'). First it did > not compile. I finally found that '__rts_info_t__.h' file was different > in the MAC side of the CD, compared to the PC version. The Mac > '__rts_info_t__.h' had: > > SECTION extern void (*__static_init)(void); > > and the PC '__rts_info_t__.h' had: > > SECTION extern void (*__static_init[])(void); > > When I corrected the line as it is in the PC version, the 'Learn' > project compiled finally but would not link! I get the following error: > > Link Error : Incorrect ELF header in file RTS_MWC++_le.lib. Possibly > wrong endianess of the header. > > Can anyone help me? I would so much more like to use C++ since I use it > at work every day. Besides an object oriented language fits so well with > game programming. > > Regards, > Markku Kaurila > > P.S. > > Since we also have a PC at home, I then did exactly the same there - and > surprise, surprise - the learn project compiled and linked fine.