![]() |
|
Home | Help | Status | Forums | Glossary | Account
|
log in |
Message boards : Pirate Applications : platform 'powerpc64-unknown-linux-gnu' not found
Author | Message |
---|---|
What are the chances of either getting powerpc64 added or source code to compile it myself? | |
ID: 8336 | Rating: 0 | rate:
![]() ![]() ![]() | |
trigggl wrote: What are the chances of either getting powerpc64 added or source code to compile it myself? If the PPC version will run on PPC64 then I could simply add the platform, the way I've done with x86. You can also get the source code for all our apps and compile them yourself. See the notes for the Hello, World app to get started, there is a section there on how to get the source code, either as a tarball or via CVS. For a Mac you'll also want to read Building BOINC and BOINC Applications on MacOS X , which I am now in the process of transfering to the wiki. I have just gotten an Intel Mac, so I need to go through this myself to set it up (and revise the notes in the process), and then we'll have native Intel apps for Mac, not PPC emulation. Not what you asked for, but it's one thing I'm working on now, so our interests may overlap. If you build an app yourself from source code then you will also want to study up on the Anonymous platform ____________ -- Eric Myers "Education is not the filling of a pail, but the lighting of a fire." -- William Butler Yeats | |
ID: 8337 | Rating: 0 | rate:
![]() ![]() ![]() | |
Thanks for the reply. | |
ID: 8354 | Rating: 0 | rate:
![]() ![]() ![]() | |
I just compiled from source. I compiled using: | |
ID: 8355 | Rating: 0 | rate:
![]() ![]() ![]() | |
trigggl wrote: I just compiled from source. I compiled using: Ah, I saw PPC and thought Mac. I have an old clamshell running Yellow Dog, but building on that would not be 64 bit, so I think what you are doing now is the best bet. ____________ -- Eric Myers "Education is not the filling of a pail, but the lighting of a fire." -- William Butler Yeats | |
ID: 8356 | Rating: 0 | rate:
![]() ![]() ![]() | |
I think it's working, but it's hard to tell with the absence of available work. I figured out what changes to make in the Makefile for the correct name and, of course, the CXXFLAGS. | |
ID: 8358 | Rating: 0 | rate:
![]() ![]() ![]() | |
'hello' is working. | |
ID: 8359 | Rating: 0 | rate:
![]() ![]() ![]() | |
trigggl wrote: 'hello' is working. Welcome aboard. We should have 'yello' up next. ____________ -- Eric Myers "Education is not the filling of a pail, but the lighting of a fire." -- William Butler Yeats | |
ID: 8360 | Rating: 0 | rate:
![]() ![]() ![]() | |
I don't know if this is helpful to anyone, but I figure I might as well post what edits I typically make to the Makefile's to compile on my ppc64. There's nothing really complicated about it. BUILD_ARCH=powerpc64-unknown-linux-gnu
BOINC_BUILD= /home/user/boinc #this is where I put the boinc source
BOINC_PREFIX=/usr #where gentoo installs boinc
CFLAGS = -O3 -pipe -mcpu=power3 -mtune=power3 #when used
CXXFLAGS = -O3 -pipe -mcpu=power3 -mtune=power3 Really the only thing that needs to be done is to change BOINC_BUILD and BOINC_PREFIX. I think changing BUILD_ARCH just gives the apps the proper name. I use '-mcpu=power3 -mtune=power3' because that's the processor my IBM Power uses. I'm using gcc-4.2 because support for power3 is broken in 4.1. 4.1 would work. I just couldn't specify the mcpu and mtune. '-O3' is just personal preference and I don't know if it helps or hurts. '-pipe' is just something Gentoo advises. I could really just get by with BUILD_ARCH=powerpc64-unknown-linux-gnu
BOINC_BUILD= /home/user/boinc #this is where I put the boinc source
BOINC_PREFIX=/usr #where gentoo installs boinc
CFLAGS =
CXXFLAGS = Someday I hope that Boinc projects will support ppc and ppc64 the way they support i686. After all, there are a lot of people who still have old Macs running Linux and a few like me that are determined to run Linux on IBM Power. There are also quite a few people running Linux on PS3. A generic ppc64 build should work on all of them, I would think. | |
ID: 8438 | Rating: 0 | rate:
![]() ![]() ![]() | |
Message boards : Pirate Applications : platform 'powerpc64-unknown-linux-gnu' not found
Home | Help | Status | Forums | Glossary | Account
|