Driver compilation for amd64

Joseph Koshy joseph.koshy at gmail.com
Wed Jul 5 19:06:55 UTC 2006


> 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


More information about the freebsd-current mailing list