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 <[email protected]> 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:            [email protected]
> 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
>
> >------------------------------------------------------------------------
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"[email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/lists.berkeley.edu/d/msgid/casper/CAG1GKSnK1w4%3Dgxe%3DA8k-fZt3PBU3hYT4OXyPz7HWk6k1Rym%3DhA%40mail.gmail.com.

Reply via email to