compiling parts of kernel in userland

John-Mark Gurney jmg at funkthat.com
Wed Jun 10 22:46:59 UTC 2015


I'm not the only one doing this (libzpool does this w/ zfs_context.h),
but what do we need to do to make it easier/more standard to be able
to compile kernel code into a userland program for testing and other
purposes.

I know I'm now the only one to do it, but I can't seem to find any
docs on how people are doing this, and exactly what issues people have
run into when doing this.

My goal is to have documentation and integrated necessary code into
FreeBSD to make this as simple as possible.  My main goal is to make
it easier to compile kernel code into userland test harnesses.

Thanks.

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."


More information about the freebsd-arch mailing list