Build setup:
- Win XP SP1
- Visual C++ 2005 Express Edition (http://www.microsoft.com/express/2005/) and
Microsoft Platform SDK (http://www.microsoft.com/downloads/details.aspx?familyid=EBA0128F-A770-45F1-86F3-7AB010B398A3)
- MinGW/MSYS with gcc-4.3.0 (gcc-3.4.5 has Pattern and Matcher classes not implemented):
mingw-runtime-3.14, w32api-3.11, binutils-2.17.50-20060824-1, gcc-4.3.0
- SWT 3.1.2 (3139)
Scripts to be configured/run:
- swt/win32-3139/build.bat (SWT natives static library)
- swt/buildclass.sh (SWT .class files for the classpath when compiling javahexeditor)
- swt/buildnonnative.sh (SWT non natives static library)
- javahexeditor/compc.sh (javahexeditor launcher object file)
- javahexeditor/buildnonnative.sh (javahexeditor non natives static library)
- javahexeditor/compres.sh (javahexeditor icon and user guide resource object files)
- javahexeditor/link.sh (win32 executable)
As a last step I use UPX (upx.sourceforge.net) to reduce the file size:
upx --brute javahexeditor-win32_.exe