Xref: news2.mv.net comp.os.msdos.djgpp:6860 From: alaric AT abwillms DOT demon DOT co DOT uk (Alaric B. Williams) Newsgroups: comp.os.msdos.djgpp Subject: Absolute runtime image Date: Tue, 06 Aug 1996 00:23:32 GMT Lines: 25 Message-ID: <839290894.22623.0@abwillms.demon.co.uk> NNTP-Posting-Host: abwillms.demon.co.uk To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp How might I make ld produce an absolute runtime image, ie a binary file already relocated, just requiring copying to the given address and executing? I am hoping to make a kind of Linux-kernel-like bootstrap, where the realmode strapper loads an image from disk into the first 640k, switches into protmode, and jumps to it. The realmode loader is not a problem. It would be nice if I could use gas and C to write my image! I know the runtime libraries and all that will be completely useless, but hey, we're not trying to do anything complex! Regards, ABW -- I have become... Comfortably numb... Alaric B. Williams Internet : alaric AT abwillms DOT demon DOT co DOT uk http://www.hardcafe.co.uk/Alaric/