spoonb n00b
Joined: 30 Apr 2010 Posts: 1 Location: Nashville, TN
|
Posted: Sun Jun 06, 2010 4:17 am Post subject: An odd gcc-config happening? |
|
|
I have been working on a PowerMac7,2 G5 (64bit krl, 32bit ul) and as I usually do with x86 and amd64 I updated gcc and built a ~ppc/baselayout2 stage three with emerge -e system. When it was time to compile the kernel I set the CROSS_COMPILE variable correctly which gave some errors about being unable to find the powerpc64-unknown-linux-gnu- chain.
gcc-config -l gave the following
Code: |
[1] powerpc-unknown-linux-gnu-4.3.4
[2] powerpc-unknown-linux-gnu-4.4.3 *
[3] powerpc64-unknown-linux-gnu-4.2.4
|
I am new to the PPC platform and cross compiling, but as I understand a green asterisk is for the native gcc (which I am familiar with) and a blue asterisk is non-native. Is this correct?
I noticed I was now missing the blue asterisk for the non-native, but I switch to to the powerpc64 chain and back fixed the problem and the kernel compiled.
Code: |
[1] powerpc-unknown-linux-gnu-4.3.4
[2] powerpc-unknown-linux-gnu-4.4.3 *
[3] powerpc64-unknown-linux-gnu-4.2.4 *
|
So my question is what happened here and was there a more proper way to fix this? |
|