Thank you Jack!
> -----原始邮件----- > 发件人: "Jack Hickish" <jackhick...@gmail.com> > 发送时间: 2019-06-25 02:20:23 (星期二) > 收件人: "zhang laiyu" <zhan...@ihep.ac.cn> > 抄送: casper <casper@lists.berkeley.edu> > 主题: Re: How to add g++ complier on ROACH2 ? > > Hi Zhang, > > If you can get your ROACH2 on the internet, you'll be able to install > g++ (or any other packages) via normal linux routes. (I think your > roach2 probably supports "apt-get install build-essential"?) > > You could also cross-compile your program for the PowerPC architecture > on any old x86 box -- see, for example, > https://stackoverflow.com/questions/32104775/how-to-compile-hello-world-program-for-powerpc > > Cheers > Jack > > On Sun, 23 Jun 2019 at 23:01, zhang laiyu <zhan...@ihep.ac.cn> wrote: > > > > Hi,Jack > > > > I encounted a problem on compliing C++ code in RAOCH2. > > > > The C++ files can be 'make' in ROACH1 by g++ complier.When I moved > > these C++ files to RAOCH2,and want to make those C++ files and encounter a > > error. It indicated that there is no g++ command on ROACH2. The gcc > > version of ROACH2 is 4.4.5 (Debian 4.4.5-8) and no g++ complier in ROACH2. > > > > The PowerPC of ROACH2 is little endian. From internet,I can not find > > suitable g++ version for ROACH2. So how to install g++ on RAOCH2? Is there > > any other path to solved it? Thank you! > > > > Attachment is the C++ files and Makefile (From MUSIC poject) > > > > > > > > > > > > > > > > Cheers! > > > > >------------------------------------------------------------------------ > > ZHANG Laiyu > > Phone(China) 010-88236415 > > Cellphone(China) 13681385567 > > E-mail: zhan...@ihep.ac.cn > > Address: 19B Yuquan Road,Shijingshan District,Beijing,China > > Department: Center for Particle Astrophysics > > Office: Astrophysics Building 205 > > > > Institute of High Energy Physics, CAS > > web: http://www.ihep.cas.cn > > > > >------------------------------------------------------------------------ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- Cheers! >------------------------------------------------------------------------ ZHANG Laiyu Phone(China) 010-88236415 Cellphone(China) 13681385567 E-mail: zhan...@ihep.ac.cn Address: 19B Yuquan Road,Shijingshan District,Beijing,China Department: Center for Particle Astrophysics Office: Astrophysics Building 205Institute of High Energy Physics, CAS web: http://www.ihep.cas.cn>------------------------------------------------------------------------ -- You received this message because you are subscribed to the Google Groups "casper@lists.berkeley.edu" group. To unsubscribe from this group and stop receiving emails from it, send an email to casper+unsubscr...@lists.berkeley.edu. To view this discussion on the web visit https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/3b283f12.71b1.16b9273001f.Coremail.zhangly%40ihep.ac.cn.