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

Re: execute cause segmentation fault ?!



Neil Yu wrote:
> compile the examples/hello.c into hello.o in normal,
> then link with libs, every things seen ok, but when

All examples are _kernels_ that must be loaded by a multiboot-compliant
boot loader, like Grub.  And I think you should use OSKit's Makefile to
compile the examples, as programs must be turned to multiboot-compliant
kernels.  Look in examples/x86/GNUmakerules for the exact commands.

Regards
-- 
Ognyan Kulev <ogi@fmi.uni-sofia.bg>, "\"Programmer\""


Follow-Ups: References: