From owner-freebsd-current Sat Dec 18 11:53:16 1999 Delivered-To: freebsd-current@freebsd.org Received: from mail.scc.nl (node1374.a2000.nl [62.108.19.116]) by hub.freebsd.org (Postfix) with ESMTP id 53E7314C11 for ; Sat, 18 Dec 1999 11:53:14 -0800 (PST) (envelope-from freebsd-current@scc.nl) Received: (from daemon@localhost) by mail.scc.nl (8.9.3/8.9.3) id UAA25695 for current@FreeBSD.org; Sat, 18 Dec 1999 20:46:00 +0100 (CET) (envelope-from freebsd-current@scc.nl) Received: from GATEWAY by dwarf.hq.scc.nl with netnews for current@FreeBSD.org (current@FreeBSD.org) To: current@FreeBSD.org Date: Sat, 18 Dec 1999 20:45:55 +0100 From: Marcel Moolenaar Message-ID: <385BE473.ECD2BBED@scc.nl> Organization: SCC vof Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: Subject: Re: general multiarchitectural build question.... Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Matthew Jacob wrote: > > my i386 build fell over this morning because it found a .depend that > depended on stdio.h for alpha, or: > > -DKEYCAP_PATH="/usr/share/misc/keycap.pcvt" -I/usr/obj/usr/src/alpha/usr/include keycap.c > keycap.o keycap.po keycap.So: keycap.c /usr/obj/usr/src/alpha/usr/include/stdio.h \ > /usr/obj/usr/src/alpha/usr/include/sys/cdefs.h \ > /usr/obj/usr/src/alpha/usr/include/machine/ansi.h \ > /usr/obj/usr/src/alpha/usr/include/ctype.h \ > /usr/obj/usr/src/alpha/usr/include/runetype.h keycap.h > > Now, I share basic source (NFS mounted) for i386 && alpha (hey, it's one > spot to CVS update...)... Is a shared read-only source tree supported, or > am I abusing my luck here? The problem is probably caused by the (former) bug that usr.sbin/pcvt/keycap was built on an Alpha by the libraries target, while pcvt is not built on an Alpha. The bottomline is that libkeycap was built in the source tree. The bug has been fix recently by simply expluding usr/sbin/pcvt/keycap from the libraries target on Alpha. You may want to check the source tree for leftover Alpha files. I had hoped to be able to share the object tree as well, but this requires /usr/obj/${MACHINE_ARCH} as the prefix for all builds, not just the cross-builds. That way you can build an Alpha system on i386 and install it on an Alpha from an NFS mounted object dir. Fortunately, it only a symlink away :-) HTH, -- Marcel Moolenaar mailto:marcel@scc.nl SCC Internetworking & Databases http://www.scc.nl/ The FreeBSD project mailto:marcel@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message