|
From: Robert C. <rob...@it...> - 2001-10-15 17:40:34
|
Further to my last email...
I can see there is multiboot stuff in freeloader already. Doh!
Also, the current make file will fail because mingw gcc is built with
only PE emulation by default, which may be causing problems as you are
trying to link to a 'binary' target - which PE is not supported for.
Now, using grub as further inspiration...
===
# General rule for making a raw binary.
%: %.exec
$(OBJCOPY) -O binary $< $@
===
so for something like freeldr.sys which I'm assuming is actually a raw
binary, all you need is
freeldr.sys: freeldr.exec
../bootsect/stubit ../bootsect/fatstub.bin freeldr.exec freeldr.sys
freeldr.exec: asmcode.a c_code.a \
./bootsect/stubit ../bootsect/fatstub.bin
And that could possibly be simpler if the stub is included in the main
source dir.
Rob
====================================================
= To remove yourself from this mailing list, go to =
= http://www.reactos.com/home/mailing.html =
====================================================
|