From: lpickup@xanadu.btv.ibm.com (Lance Pickup) Subject: Re: BOOT PROBLEM ---- NEED AS86 SOURCE TO FIX Date: 1 Jun 1992 16:22:57 GMT
In article <22103@castle.ed.ac.uk>, gaa@castle.ed.ac.uk (Gerard A. Allan) writes:
|> Since nobody seems to be able to solve my boot problem (see below )I'd like to
|> fix it myself. I believe I can compile up linux using the djgpp version of
|> gcc, but I connot compile the bootsect.S etc without as86(and ld86).
...
Gerard,
Let me know how you use djgpp. I had no luck with it. I think it's
because it assumes it's loaded at a different place than the Linux
loader loads it at.
As a workaround to not being able to compile bootsect.S, I simply
extracted the first n (can't remember off-hand what n is) sectors
of the boot image to extract the object code. I also had to modify
the image builder program to handle raw code instead of .o files.
This of course doesn't help you if need to significantly change the
boot loader, but you can do simple patches using DEBUG.