Migrating from x86 (32) to amd64

Danny Braniss danny at cs.huji.ac.il
Sat Mar 10 12:50:41 UTC 2007


> Yoshihiro Ota wrote:
> > About one year ago, I was able to do the regular procedure after enabling i386 compat.
> > It was just another make world for me.
> >
> > options         COMPAT_IA32
> >
> > What I mean is:
> >
> > #  1.  `cd /usr/src'       (or to the directory containing your source tree).
> > #  2.  `make buildworld'
> > #  3.  `make buildkernel KERNCONF=3DYOUR_KERNEL_HERE'     (default is GENERIC).
> 
> But if you already have an i386 kernel running, wouldn't running "make
> buildkernel" just make another i386 kernel?

try
	make buildkernel TARGET_ARCH=amd64 KERNCONF=YOUR_KERNEL_HERE

works for me,
	danny





More information about the freebsd-stable mailing list