-current cross compile for -stable

LI Xin delphij at delphij.net
Mon Aug 27 18:15:36 PDT 2007


Danny Braniss wrote:
> till now I used a stable box to cross compile for other arch/stable|current.
> today i decided to try out -current as  a base to cross compile. does it
> work? since i get:
> 
> export MAKEOBJDIRPREFIX=/r+d/obj/cs4
> cd /r+d/6.2/src; make  TARGET_ARCH=amd64 buildworld
> ...
> /r+d/6.2/src/gnu/usr.bin/binutils/as/../../../../contrib/binutils/gas/config/tc
> -i386.h:451: error: array type has incomplete element type
> *** Error code 1
> 
> Stop in /r+d/6.2/src/gnu/usr.bin/binutils/as.

This won't work.  In order to build -STABLE you have to install a
chrooted RELENG_6 environment and chroot into it to make it work.

Cheers,
-- 
Xin LI <delphij at delphij.net>	http://www.delphij.net/
FreeBSD - The Power to Serve!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20070828/09babb4f/signature.pgp


More information about the freebsd-current mailing list