Mail Archives: djgpp/2001/11/28/15:51:36
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 -