[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Compile the kernel on Win32

On Mon, 31 Dec 2001 00:31:17 Peter Björklund wrote:
> Wouldn't it be cool to take the kernel source, strip it down (remove all
> 'drivers'), replace the memory and task (ELF) system with calls to win32
> API, add Windoze specific 'drivers' (for X as well) and compile the thing
> on
> windoze.

Having a monolithic kernel run on top of another kernel is not a good idea
as in performance.

However, what you describe has already been done. This is a set of
servers without hardware support that implement UNIX on top of a kernel
is available, known as the HURD.

Porting the HURD from GNU Mach to work on top of windoze would be MUCH
easier than heavily modifying Linux for that task. I already suggested
this on debian-hurd (search for it on http://lists.debian.org/search.html)

But, after all, CYGWIN works fine for now, and with much more performance
than the above-mentioned solutions.

Robert Millan          Debian GNU/Hurd user
zeratul2 wanadoo es    http://getyouriso.dyndns.org/
Join us in civil disobedience and distribute DeCSS!!
/*    efdtt.c     Author:  Charles M. Hannum <root@ihack.net>            */
/*    Length:  434 bytes (excluding unnecessary newlines)                */
/*    Usage is:  cat title-key scrambled.vob | efdtt >clear.vob          */
/*    title-key can be read from the DVD by css-auth. (see livid.org)    */
#define m(i)(x[i]^s[i+84])<<
unsigned char x[5],y,s[2048];main(n){for(read(0,x,5);read(0,s,n=2048);write(1,s
,n))if(s[y=s[13]%8+20]/16%4==1){int i=m(1)17^256+m(0)8,k=m(2)0,j=m(4)17^m(3)9^k

Reply to: