From owner-freebsd-current@FreeBSD.ORG Wed Jul 5 19:06:55 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 60F6716A4DF for ; Wed, 5 Jul 2006 19:06:55 +0000 (UTC) (envelope-from joseph.koshy@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.174]) by mx1.FreeBSD.org (Postfix) with ESMTP id EAE9B43D66 for ; Wed, 5 Jul 2006 19:06:51 +0000 (GMT) (envelope-from joseph.koshy@gmail.com) Received: by ug-out-1314.google.com with SMTP id s2so308570uge for ; Wed, 05 Jul 2006 12:06:50 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=A+2m+D7sfNRwiOrLPXi+dJbUY2v4Q1pPicH1kYtb1UZblZerGdKv4BrjuHJxV+o7+Hhdsln4tpZSyEz45IxWlNvLUVhantbtsgcMiqDnrP6VIueIq1ZljiDJqQXAJx6ABSPjx7nwmpsFo89z1TqSDVGoWcMGe2+HTtDxMPhNrHo= Received: by 10.78.170.17 with SMTP id s17mr2463879hue; Wed, 05 Jul 2006 12:06:50 -0700 (PDT) Received: by 10.78.50.15 with HTTP; Wed, 5 Jul 2006 12:06:50 -0700 (PDT) Message-ID: <84dead720607051206r384bef5gdb389ceff653af3a@mail.gmail.com> Date: Thu, 6 Jul 2006 00:36:50 +0530 From: "Joseph Koshy" To: "Leubner, Achim" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: freebsd-current@freebsd.org Subject: Re: Driver compilation for amd64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jul 2006 19:06:55 -0000 > Is it possible to cross-compile a driver on an i386 platform > for amd64, and if possible, how should I do that? You can cross-compile an entire kernel by setting the TARGET_ARCH variable appropriately. See also the description in build(7) of the TARGET_ARCH variable and the 'buildenv', 'toolchain' and 'kernel-toolchain' targets. -- FreeBSD Volunteer, http://people.freebsd.org/~jkoshy