> Date: Fri, 5 Dec 2014 09:49:55 +0100
> From: [email protected]
> To: [email protected]
> Subject: Re: [Mingw-w64-public] adding dos stub program with ld to PE binary
> 
> 2014-12-05 6:45 GMT+01:00 bulk88 <[email protected]>:
> > What is the GCC ld equivalent of Visual C's -stub ?
> > http://msdn.microsoft.com/en-us/library/7z0585h5.aspx I need to add a MZ
> > header-ed dos program to my PE binary instead of the default "This
> > program cannot be run in DOS mode" program.
> >
> 
> Hmm, interesting option.  AFAI know does ld do not provide such
> feature.  It wouldn't be too hard to implement it.
> So sorry, for now this feature isn't present.
> 
> Kai

I found the default dos header lives in _bfd_XXi_only_swap_filehdr_out() but 
that code is beyond what I can do.
                                          
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to