kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #06605
Re: KiCad Windows builder
-
To:
kicad-developers@xxxxxxxxxxxxxxxxxxx
-
From:
Dick Hollenbeck <dick@xxxxxxxxxxx>
-
Date:
Fri, 05 Aug 2011 09:53:08 -0500
-
In-reply-to:
<CAKLXgrvQz1ozii_6PSgmj=ZrZaZhBTbqrih1BJkeakXOTJgidw@mail.gmail.com>
-
User-agent:
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.18) Gecko/20110617 Thunderbird/3.1.11
>> I also am afraid the use of dynamic libraries add more time to launch Kicad.
>> It fixes only the size of binaries, that is now a very minor problem.
The OS must load all dependent DLLs needed by the eeschema process. There can
be code in the DLLs that is not needed by the process, since everything has to
be in there, the entire library.
Whereas with static linking, only those portions of the library which are
actually needed are linked to the process image file, eescheme.exe. You also
remove some time to do the dynamic linking (finding of pointers) from the
process image down into the DLL.
My guess is that a statically linked binary will normally be faster to load, but
perhaps in-perceptibly so.
On linux, (which we are not talking about), the share object file may already be
loaded into RAM because of use by another processes, and this changes the
dynamics of the comparison. Windows may also have a similar ability (but I no
longer know what Windows is). This means that a second process which uses a
*shared* shared dynamic library may load faster that the first one already in RAM.
Dick
References
-
KiCad Windows builder
From: Brian Sidebotham, 2011-07-28
-
Re: KiCad Windows builder
From: Kerusey Karyu, 2011-07-30
-
Re: KiCad Windows builder
From: Dick Hollenbeck, 2011-07-31
-
Re: KiCad Windows builder
From: Kerusey Karyu, 2011-07-31
-
Re: KiCad Windows builder
From: Brian Sidebotham, 2011-08-01
-
Re: KiCad Windows builder
From: Brian Sidebotham, 2011-08-01
-
Re: KiCad Windows builder
From: Kerusey Karyu, 2011-08-03
-
Re: KiCad Windows builder
From: Dick Hollenbeck, 2011-08-04
-
Re: KiCad Windows builder
From: Dick Hollenbeck, 2011-08-04
-
Re: KiCad Windows builder
From: Brian Sidebotham, 2011-08-04
-
Re: KiCad Windows builder
From: Wayne Stambaugh, 2011-08-04
-
Re: KiCad Windows builder
From: jean-pierre charras, 2011-08-04
-
Re: KiCad Windows builder
From: Brian Sidebotham, 2011-08-04