On Tuesday, February 06, 2007 Francesco Montorsi wrote: 

> Doug Currie ha scritto:
>> [...]
>> I am building with "../configure make"

> with cygwin or msys under windows, I guess...

Yes, MSYS on WinXP.

>> 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 :)

Ah. A MinGW/MSYS user (such as myself) would rarely consider such a thing.

> 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).

Yeah, probably not MinGW; from Earnie Boyd in 2002
http://www.cygwin.com/ml/cygwin/2002-07/msg02188.html

> John Platts wrote:
>> 
>> Why do mingw32 users continue to use a runtime library dependent of
>> MSVCRT.DLL?
> 
> Because that's what MinGW is.

So, I guess there's nothing else for a MinGW user to gain from
RUNTIME_LIBS=static.

I suspect there's little for any Windows developer to gain unless the
application has some dependency on a specific ("71" or "8" digits
appended) version of MSVCRT.

e

--
Doug Currie
Londonderry, NH, USA


-------------------------------------------------------------------------
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