[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to make a cross build ?




Hello,

I don't manage to build the cross-tools on my Pentium box for neither alpha nor
sparc.
i.e. when I do, in /usr/src, make TARGET=sparc cross-tools, I get the 
following error...

> cc -O2  -g   -I/usr/src/gnu/usr.bin/ld
> -I/usr/src/gnu/usr.bin/ld/sparc -DCROSS_LINKER -DXHOST=i386
> -I/usr/src/gnu/usr.bin/ld/../../../sys/arch/sparc/include
> -I/usr/src/gnu/usr.bin/ld/../../../include -I/usr/src/gnu/usr.bin/ld/../../..
> -nostdinc -idirafter //usr/include -c /usr/src/gnu/usr.bin/ld/sparc/md.c
> In file included from /usr/src/gnu/usr.bin/ld/sparc/md.h:37,
>                  from /usr/src/gnu/usr.bin/ld/ld.h:37,
>                  from /usr/src/gnu/usr.bin/ld/sparc/md.c:43:
> /usr/src/gnu/usr.bin/ld/../../../sys/arch/sparc/include/exec.h:34:
> warning: `__LDPGSZ' redefined
> /usr/include/machine/exec.h:33: warning: this is the location of the previous
> definition
> /usr/src/gnu/usr.bin/ld/../../../sys/arch/sparc/include/exec.h:59:
> warning: `relocation_info' redefined
> /usr/include/machine/exec.h:47: warning: this is the location of the previous
> definition
> /usr/src/gnu/usr.bin/ld/../../../sys/arch/sparc/include/exec.h:62:
> warning:`ELF_TARG_DATA' redefined
> /usr/include/machine/exec.h:50: warning: this is the location of the previous
> definition
> /usr/src/gnu/usr.bin/ld/../../../sys/arch/sparc/include/exec.h:63:
> warning: `ELF_TARG_MACH' redefined
> /usr/include/machine/exec.h:52: warning: this is the location of the previous
> definition
> /tmp/cca25771.s: Assembler messages:
> /tmp/cca25771.s:556: Error: no such 386 instruction: `iflush'
> /tmp/cca25771.s:560: Error: no such 386 instruction: `iflush'
> /tmp/cca25771.s:564: Error: no such 386 instruction: `iflush'
> /tmp/cca25771.s:608: Error: no such 386 instruction: `iflush'
> /tmp/cca25771.s:612: Error: no such 386 instruction: `iflush'
> /tmp/cca25771.s:616: Error: no such 386 instruction: `iflush'
> 
> *** Error code 1
> 
> Stop.
> *** Error code 1
> 
> Stop.

What am I doing wrong ? What do I miss ?

	Thierry

PGP signature