New EXE

Jakob Eriksson jakob at vmlinux.org
Sun Aug 31 08:51:03 CDT 2003


Ferenc Wagner wrote:

>Jakob Eriksson <jakob at vmlinux.org> writes:
>
>  
>
>>http://vmlinux.org/jakov/Wine/regrtest.exe
>>    
>>
>
>How could you make it this small?  400 kB vs. 2.9 MB,
>that is, the tenth of mine!  It makes a good difference
>in download.
>  
>

First all tests are stripped from symbols.  I guess you did that too. 
Secondly,
not all tests are included. I disabled a few who would not build with 
cross-mingw.
Lastly, and most important; I ran the "upx" packer on the resulting exe.
(apt-get install upx, if you are on debian.)
This took the size down from 1632290 to 408098 bytes.


>On XP it produced rather strange results where the programs
>showed their possible tests, like:
>
>..............................................................
>
>Running 'C:\Temp\winertest\comctl32_crosstest.exe':
>dpa: 4 tests executed, 0 marked as todo, 0 failures.
>dpa: 4 tests executed, 0 marked as todo, 0 failures.
>
>--------------------------------------------------------------
>
>
>
>..............................................................
>
>Running 'C:\Temp\winertest\comctl32_crosstest.exe':
>Usage: C:\Temp\winertest\comctl32_crosstest.exe test_name
>
>Valid test names:
>    dpa
>    dpa
>
>--------------------------------------------------------------
>
>  
>

No, this is a bug and I do not know why it happens.  I am working on 
sprucing up the
source so you can have a look and maybe point out what is wrong.


regards,
Jakob





More information about the wine-devel mailing list