I'd like to ask if someone has successfully compiled UPX/UCL.
I did this last year with DJGPP 3.02, and could try UPX 1.91 with DJGPP 3.33, but I don't think it's worth! See my post at http://upx.sourceforge.net/phpBB/viewtopic.php?t=255 (quoted below).
Lucho
Posted: Wed May 14, 2003 18:00 Post subject: Compiling UPX 1.24 with DJGPP 3.02
I compiled UPX 1.24 with DJGPP 3.02 under DOS. I only needed to change two things, as follows:
1) There are incompatibility warnings which can be avoided by inserting an extra underscore to the _, _0, _1, _2, _3, _4, _5, _6, _7, _8 structure member names (fortunately unused!), taking care of the possible duplicates, of course, for the following files:
* lefile.h * p_djgpp.h * p_exe.h * p_tmt.h * p_w32pe.h * p_w32pe.cpp
2) Because the DJGPP C++ compiler name is GPP and not g++, it must be explicitly declared in the makefile under the DJGPP section (near the CC definition there):
* CXX = gpp
That's it! The compiled UPX works. If needed, I can send patches to the authors. Thanks, and... waiting for UPX 2.0! ;-)
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Freedos-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freedos-devel
