Message-ID: X-Mailer: XFMail 1.4.6 on Linux X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="_=XFMail.1.4.6.Linux:20010130223341:2983=_" X-no-Archive: yes Return-Read-To: markus DOT oberhumer AT jk DOT uni-linz DOT ac DOT at Return-Received-To: markus DOT oberhumer AT jk DOT uni-linz DOT ac DOT at Date: Tue, 30 Jan 2001 22:33:42 +0100 (CET) From: "Markus F.X.J. Oberhumer" To: eliz AT is DOT elta DOT co DOT il Subject: new version of stubify.c Cc: djgpp-workers AT delorie DOT com Sender: "Markus F.X.J. Oberhumer" Reply-To: djgpp-workers AT delorie DOT com This message is in MIME format --_=XFMail.1.4.6.Linux:20010130223341:2983=_ Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hello Eli, below you will find a new version of stubify.c, originally written for my internal use when building UPX. Main news: - add option `-s' to specifiy an external stub This allows to use Charles' new CWSDSTUB from Makefiles like this: stubify -v -s $(DJDIR)/bin/cwsdstub.exe $(upx_exe) - add option `-d' to de-stubify a exe =20 - print errors to stderr - add an informative usage() functinos - lots of other cleanups Because the diff would be larger than the new version it is attached as a whole. Markus ---- Markus F.X.J. Oberhumer @ http://www.oberhumer.com ---- ---- 5E CB 5C 85 DE AF 9E BF E9 DA 7E 6A 39 F8 CC 67 ---- 3 WARPS TO URANUS --_=XFMail.1.4.6.Linux:20010130223341:2983=_ Content-Disposition: attachment; filename="stubify.zip" Content-Transfer-Encoding: base64 Content-Description: stubify.zip Content-Type: application/octet-stream; name=stubify.zip; SizeOnDisk=3218 UEsDBBQAAgAIAM9gOSoIAARi/AsAADsmAAAJABUAc3R1YmlmeS5jVVQJAAO2CHA6tghwOlV4BADo A2wAzRprc9u48bP1K3DKJJEsWZYcx2n8yE3q5K655pyMz2nv6ng4FAlKqCmCQ1CO1cT/vbtYAAQp ym0uN9P6gySC+8Ji3/DuNjuV+aoQs3nJeqd9tjceT9irn9grnspC8CFTnLPTd+9/e3P24wjWE1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