Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Apr 2006 15:54:50 +0200
From:      "Helmut Schneider" <jumper99@gmx.de>
To:        <freebsd-arch@freebsd.org>
Subject:   targ-cpu.h
Message-ID:  <00e101c66acb$526b8000$609b65c1@vpe.de>

next in thread | raw e-mail | index | archive | help
Hi,

please forgive my noob question. I have a new CPU (AMD64) and I successfully 
played around with cross compiling to i386.
Now, a collegue of mine asked me if it is also possible to do this with ARM. 
But is seems that there are some things missing for that plattform:

root@BSDHelmut:/usr/src# make TARGET_ARCH=arm buildworld
[...]
In file included from /usr/src/gnu/usr.bin/binutils/as/obj-format.h:3,
                 from 
/usr/src/gnu/usr.bin/binutils/as/../../../../contrib/binutils/gas/config/te-freebsd.h:30,
                 from /usr/src/gnu/usr.bin/binutils/as/targ-env.h:3,
                 from 
/usr/src/gnu/usr.bin/binutils/as/../../../../contrib/binutils/gas/as.h:626,
                 from 
/usr/src/gnu/usr.bin/binutils/as/../../../../contrib/binutils/gas/config/tc-arm.c:29:
/usr/src/gnu/usr.bin/binutils/as/../../../../contrib/binutils/gas/config/obj-elf.h:42:22: 
targ-cpu.h: No such file or directory
mkdep: compile failed
*** Error code 1
root@BSDHelmut:/usr/src#

root@BSDHelmut:/usr/src# find . | grep "targ-cpu.h"
/usr/src/gnu/usr.bin/binutils/as/alpha-freebsd/targ-cpu.h
/usr/src/gnu/usr.bin/binutils/as/amd64-freebsd/targ-cpu.h
/usr/src/gnu/usr.bin/binutils/as/i386-freebsd/targ-cpu.h
/usr/src/gnu/usr.bin/binutils/as/ia64-freebsd/targ-cpu.h
/usr/src/gnu/usr.bin/binutils/as/powerpc-freebsd/targ-cpu.h
/usr/src/gnu/usr.bin/binutils/as/sparc64-freebsd/targ-cpu.h
root@BSDHelmut:/usr/src#

Where do I get as/arm-freebsd/targ-cpu.h etc. from?

Thanks, Helmut 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00e101c66acb$526b8000$609b65c1>