[okl4-developer] legacy OS

Nelson Tam nelson at ok-labs.com
Tue Jun 17 11:09:44 EST 2008


Hi Antonin,

When you build OKL4 and specify qemu as the execution target, it will  
modify the final OKL4 image depending on the target architecture.  On  
ia32 for example, it will use grub to write to the boot sector on the  
boot image.

I think the best approach would be to compile your legacy OS into a  
standalone ELF file, and get elfweaver to weave that along with other  
OKL4 binaries, and let the OKL4 build system do the tricks for making  
it bootable on qemu.

On 16/06/2008, at 7:14 PM, Antonin SUBTIL wrote:

>
> I've got some legacy OS with its own toolchain. I tuned it so it  
> would use OKL4 threads and so on....
> Yet I dunno how to make an qemu image-disk with my OS (compiled with  
> its toolchain - it would be costly to use OKL4's toolchain) and OKL4.
>
> I thought I can merge my OS elf image with OKL4 (using elfweaver),  
> will it work?

--
(nt)

Nelson Tam




More information about the Developer mailing list