Doug Currie ha scritto:
> On Saturday, February 03, 2007 Francesco Montorsi wrote: 
> 
>> Doug Currie ha scritto:
>>> On Wednesday, January 31, 2007 Francesco Montorsi wrote: 
>>>
>>>> Also, just out of curiosity, how much the size of the final EXE increases 
>>>> using
>>>> RUNTIME_LIBS==static?
>>> WinXP MinGW wxMSW-2.8.0 (static) wxLua-2.8.0.0 (static)
>>>
>>> wxluasudoku.exe     7.90 MB (8,290,489 bytes)
>>>
>>> wxluasudoku_upx.exe 2.18 MB (2,291,385 bytes)
>> sorry - are you sure you're using RUNTIME_LIBS==static  and not rather
>> the SHARED=0 option?
> 
>> It seems strange you're using RUNTIME_LIBS==static with wxLua also 
>> because I haven't added support for it yet :D
> 
> I am building with "../configure make"
with cygwin or msys under windows, I guess...


> I am wondering what is NOT included in the exe (what are the external
> dependencies) when the "../configure make" option is used?
> 
> Using Dependency Walker, I find only system DLLs in the list of
> dependencies. What else can be statically linked?
those system DLLs :)

Well, really only the "msvcrt[d].dll" lib (or one with a very similar 
name with e.g. the "71" or "8" digits appended), can be statically 
linked. And you can obtain that compiling _all_ your code with the right 
compiler flag (which I don't happen to remember right now). The right 
compiler flag is enabled for wxWidgets compilation (and now also for 
wxLua) using RUNTIME_LIBS=static option from command-like of win32-like 
compilers (msvc, borland, maybe mingw).


Francesco




-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to