delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/21/00:36:27

From: yorka AT dlc DOT fi (aYk)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Stubbing a Program?
Date: Sat, 20 Jun 1998 10:09:19 GMT
Organization: Majik
Lines: 22
Message-ID: <358b8895.496452@news.dlc.fi>
References: <1998061922412800 DOT SAA26297 AT ladder03 DOT news DOT aol DOT com>
NNTP-Posting-Host: kou90.pp.dlc.fi
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

First you need to compile your program into a coff object with, say:

gcc -o program program.c

This will result in you having two compiled components, program.exe
and program (the coff object). Now do:

copy /B pmodstub.exe + program program.exe

And program.exe should work as expected.

- aYk -

>Whenever I try to stub my gcc object file with the pmodstub.exe and run the
>program it tells me that there is no DPMI.  But when i use pmodetsr.exe
>everything works, but the mouse.  I don't want to use a tsr. So how do i use
>pmodstub.exe?
>
>once more,
>Malcolm
>malcolmj7 AT aol DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019