delorie.com/archives/browse.cgi | search |
Message-ID: | <3C05551D.7000600@vif.com> |
From: | Sahab Yazdani <sahaby AT vif DOT com> |
Organization: | PheonixSoft Interactive |
User-Agent: | Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.6+) Gecko/20011121 |
X-Accept-Language: | en-us |
MIME-Version: | 1.0 |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: upx vs stubify |
References: | <20011128144902 DOT B20677 AT kendall DOT sfbr DOT org> |
Cache-Post-Path: | www.vif.com!unknown AT ip216-239-69-122 DOT vif DOT net |
X-Cache: | nntpcache 2.4.0b4 (see http://www.nntpcache.org/) |
Lines: | 37 |
NNTP-Posting-Date: | Wed, 28 Nov 2001 15:22:11 CST |
X-Trace: | sv3-zuE0bRxOlkPLe7sys5uAR41z0hIbT5cXkz7SdPv5Baw1kBZLDxEP5m+fYpXD77WpRxSbP1kwkNjAMYB!LyOf10Go/naajZlxUsIyHCaM4PDN4nVSpocf9RBD+Iw7LhubaWgvOfI= |
X-Complaints-To: | abuse AT GigaNews DOT Com |
X-DMCA-Notifications: | http://www.giganews.com/info/dmca.html |
X-Abuse-Info: | Please be sure to forward a copy of ALL headers |
X-Abuse-Info: | Otherwise we will be unable to process your complaint properly |
Date: | Wed, 28 Nov 2001 21:22:11 GMT |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
why would you want to invoke UPX automatically? from my experience, it is much better to leave the program with all the debug info on, and then for a release simply run UPX on it and then package it. this way if the program crashes while I am testing it, I can symify it... i don't know, my coding doesn't get to be too sophistimicated so there probably is a reason... JT Williams wrote: > Can makefiles be (easily) told to use upx instead of the stock djgpp > stubify when converting the coff image to an exe? If not, it seems that > the stubification will have to be an explicit command in the makefile > (e.g., using $(stubify)=stubify or $(stubify)=upx as desired), which I > hoped to avoid. > > From the notes for upx 1.20: > > First of all, it is recommended to use UPX *instead* of strip. strip has > the very bad habit of replacing your stub with its own (outdated) > version. Additionally UPX corrects a bug/feature in strip v2.8.x: it > will fix the 4 KByte aligment of the stub. > > UPX includes the full functionality of stubify. This means it will > automatically stubify your COFF files. > > -- ************************************************************** * Sahab Yazdani * "So its decided then, you get the monkeys * * Thornhill S.S * and I'll get the typewriters..." * ************************************************************** * http://pheonixsoft.virtualave.net/ * :) * **************************************************************
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |