delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/11/28/15:51:36

X-Authentication-Warning: kendall.sfbr.org: jeffw set sender to jeffw AT darwin DOT sfbr DOT org using -f
Date: Wed, 28 Nov 2001 14:49:02 -0600
From: JT Williams <jeffw AT darwin DOT sfbr DOT org>
To: djgpp AT delorie DOT com
Subject: upx vs stubify
Message-ID: <20011128144902.B20677@kendall.sfbr.org>
Mail-Followup-To: djgpp AT delorie DOT com
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
Reply-To: djgpp AT delorie DOT com

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.

- Raw text -


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