compiling on a PPC
Benjamin Francom
bfrancom at gmail.com
Tue Nov 23 08:53:02 MST 2010
I got rid of my G4 several years ago. It was running Debian at the time.
First thing that comes to mind to find out if Altivec is on there is:
cat /proc/cpuinfo | grep altivec
>From IBM's site on a Power 7 processor and RHEL:
http://www.ibm.com/developerworks/wikis/display/LinuxP/RHEL+5.5+Checklist+for+POWER7
#cat /proc/cpuinfo | grep cpu -m 1
cpu : POWER6 (architected), altivec supported
Not sure about the back-end compiler. A quick search brought up distcc.
http://www.gentoo.org/doc/en/cross-compiling-distcc.xml
-Ben
On Tue, Nov 23, 2010 at 12:33 AM, Technomage Hawke
<technomage.hawke at gmail.com> wrote:
>
> ok,
> I am not as familiar with the PPC arch as I should be. the CPU in my powerbook is a G3 750. according to a couple of searches, this chip comes with AltiVec instructions. However, the version of linux (Ubuntu 10.10) was apparently not compiled with that option in mind.
>
> my question is: how can I determine if the CPU in my machine is capable of using Altivec and if so, how can I setup a compiler back-end to offload the lion's share of the compiling to?
>
> -Eric
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
More information about the PLUG-discuss
mailing list