Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jul 2006 00:36:50 +0530
From:      "Joseph Koshy" <joseph.koshy@gmail.com>
To:        "Leubner, Achim" <Achim_Leubner@adaptec.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Driver compilation for amd64
Message-ID:  <84dead720607051206r384bef5gdb389ceff653af3a@mail.gmail.com>
In-Reply-To: <EF6AF37986D67948AD48624A3E5D93AFAA9326@mtce2k01.adaptec.com>
References:  <EF6AF37986D67948AD48624A3E5D93AFAA9326@mtce2k01.adaptec.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?84dead720607051206r384bef5gdb389ceff653af3a>