On 09.06.2012 13:43, Aurelien Jarno wrote:
[]
> I am not able to reproduce the issue. I have tried on two different
> machines, and they are not using the prefix at all:

This is not the case on, say, partch.debian.org, where I tried to
build it.  All build-deps are satisfied, yet:

(squeeze-powerpc-dchroot)mjt@partch:~/openbios-ppc-1.0+svn1047$ 
./config/scripts/switch-arch builtin-ppc
Configuring OpenBIOS on ppc64 for builtin-ppc
Initializing build tree obj-ppc...ok.
Creating target Makefile...ok.
Creating config files...ok.
(squeeze-powerpc-dchroot)mjt@partch:~/openbios-ppc-1.0+svn1047$ cat 
obj-ppc/config.mak
ARCH=ppc
TARGET=powerpc-linux-gnu-
CFLAGS=-msoft-float -fno-builtin-bcopy -fno-builtin-log2
AS_FLAGS=
HOSTARCH?=ppc64
CROSSCFLAGS=-DSWAP_ENDIANNESS -DNATIVE_BITWIDTH_EQUALS_HOST_BITWIDTH
VERSION="1.0"

Note the setting of TARGET variable.

Here's the relevant piece of sh -x ./config/scripts/switch-arch builtin-ppc

...
+ BASEARCH=ppc
+ select_prefix powerpc
+ type powerpc-linux-gnu-gcc
+ return
...

This is because /usr/bin/powerpc-linux-gnu-gcc exists and
belong to gcc package.

Does /usr/bin/powerpc-linux-gnu-gcc not exist on your build
machine?  If it does't exist, the function will select native
gcc in the next step, and compile will go fine.

Thanks,

/mjt



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to