On Wed, Apr 7, 2010 at 8:22 PM, Nathan Mentley <nathanmentley@xxxxxxxxx> wrote: > About GCC and Haiku Executables. Correct me if I'm wrong... I'm by far not > an expert here, but I was under the impression that the haiku bootloader and > kernel are standard 64bit ELF binaries... If that's the case then the > current GCC 4 should be able to output the kernel and second stage of the > bootloader. They're actually ELF32 at the moment, so not entirely the same. > I do have another question tho. I haven't found any 16bit BeOS code, but > does any exist? 16-bit BeOS code, no. However, Haiku's VESA driver does use vm86 calls to switch out of protected mode and initiate bios calls for video mode switching which might (not familiar enough with the specifics here as to what is and isn't allowed in x86_64 mode) be affected. Regards, Rene