delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2008/06/26/22:15:24

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Rugxulo <rugxulo AT gmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Disable EXE file creation on linking
Date: Thu, 26 Jun 2008 19:05:47 -0700 (PDT)
Organization: http://groups.google.com
Lines: 18
Message-ID: <bdabfe98-4a6c-49c7-9b1e-6984320a16b6@t54g2000hsg.googlegroups.com>
References: <6cibtrF3fserjU1 AT mid DOT individual DOT net> <200806262033 DOT m5QKXKBS029968 AT envy DOT delorie DOT com>
<6cie06F1gurclU1 AT mid DOT individual DOT net> <200806262102 DOT m5QL2Dfp030919 AT envy DOT delorie DOT com>
<6cif2mF3grqnkU1 AT mid DOT individual DOT net> <200806262116 DOT m5QLGnCm031339 AT envy DOT delorie DOT com>
<6ciffuF3fo1boU1 AT mid DOT individual DOT net> <200806262132 DOT m5QLWpfO031724 AT envy DOT delorie DOT com>
<6cih5bF3g9282U1 AT mid DOT individual DOT net> <200806262205 DOT m5QM5CS5032590 AT envy DOT delorie DOT com>
NNTP-Posting-Host: 65.13.115.246
Mime-Version: 1.0
X-Trace: posting.google.com 1214532347 11923 127.0.0.1 (27 Jun 2008 02:05:47 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Fri, 27 Jun 2008 02:05:47 +0000 (UTC)
Complaints-To: groups-abuse AT google DOT com
Injection-Info: t54g2000hsg.googlegroups.com; posting-host=65.13.115.246;
posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO
User-Agent: G2/1.0
X-HTTP-UserAgent: Opera/9.50 (Windows NT 6.0; U; en),gzip(gfe),gzip(gfe)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id m5R2F2mV028295
Reply-To: djgpp AT delorie DOT com

On Jun 26, 5:05 pm, DJ Delorie <d DOT  DOT  DOT  AT delorie DOT com> wrote:
>
> > AFAIK stubify does not even allow you to specify a new stub.
>
> Another feature you could add ;-)

"exe2coff myfile.exe" will give you "myfile". You can also (on an
uncompressed file) use "upx --coff myfile.exe -o myfile.coff" (outputs
compressed only, and UPX *will* add a stub if you unpack it) or even
D3X's "stubx -u myfile.exe" (which results in "myfile.exe" although
it's raw COFF only). If the file is already UPX'd compressed, you can
then "upx -d myfile.exe --coff -o myfile" and it will be pure COFF.

P.S. Just for reference, here's the D3X URL (although UPX doesn't
currently like packing .EXEs using it, for whatever reason ...
probably a minor bug):

http://www.geocities.com/dborca/assembly/d3x/d3x.htm

- Raw text -


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