[fpc-devel]Re: [fpc-devel]win and dos exes in one file?

XHajT03 at mbox.vol.cz XHajT03 at mbox.vol.cz
Tue Feb 13 21:28:23 CET 2001

Date sent:      	Tue, 13 Feb 2001 16:59:47 +0100 (NFT)
From:           	Jonas Maebe <jonas at zeus.rug.ac.be>
To:             	fpc-devel at deadlock.et.tudelft.nl
Subject:        	Re: [fpc-devel]Re: [fpc-devel]win and dos exes in one file?
Send reply to:  	fpc-devel at deadlock.et.tudelft.nl

> > > In theory it cerainly should be possible, but there is no built-in
> > > support for such a thing nor do I know of anyone who has already
> > > done this with FPC.
> > 
> > can be this as feature in new version ?
> If someone writes a patch for the compiler (or a post-processing
> utility) to allow it.

 I suspect you'd have to patch the GO32v2 stub first of all; it does 
some integrity checks currently, so running the DOS part of a bound 
executable outputs something like "not a COFF, check for viruses". 
The binding itself is very easy, tools for this can be freely 
downloaded from Internet.


More information about the fpc-devel mailing list