Date: Tue, 19 Nov 1996 09:22:43 +0000 From: Bill Currie Subject: Re: coff boot loader To: Kuang-Chun Cheng Cc: djgpp AT delorie DOT com Reply-to: billc AT blackmagic DOT tait DOT co DOT nz Message-id: <32917C63.A4A@blackmagic.tait.co.nz> Organization: Tait Electronics NZ MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit References: <56p523$jg2 AT gate DOT sinica DOT edu DOT tw> This post is to help people find me. Kuang-Chun Cheng wrote: > > Hi, > > I am sorry about asking this question on this programming group. I > need a COFF boot loader for djgpp compiled code. The one I found from > djgpp web page (http://www.delorie.com/djgpp/other-res.html > ---> http://www.abwillms.demon.co.uk/prog/kerne.arj) > didn't work. Could someone point me a location to find > a working version or similar stuff. Thanks a lot. It was working when I posted it to Alaric. What was the problem you encountered and how were you usinging it. Just thought of something! Are you using djgpp v2.01 with the new binutils (2.7)? If so that MIGHT be the cause of your problem. The new ld automatically stubbs coff files unless told otherwise. To tell ld otherwise, include the '-oformat coff-go32' option on the command line, or use a linker script that has 'OUTPUT_FORMAT("coff-go32")' as the first line of the file (same as the linker script in DJDIR/lib) Hope this helps Bill -- Leave others their otherness.