Afficher un message
Vieux 20/10/2007, 17h05   #7
Mark McIntyre
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: static library and dynamic library

On Fri, 19 Oct 2007 21:29:37 +1000, in comp.lang.c , "cr88192"
<cr88192@nospam.hotmail.com> wrote:

>
>"Even" <szhang@winbond.com> wrote in message
>news:1192760673.817902.310890@t8g2000prg.googlegr oups.com...
>> Thanks for your all reply, especially cr88192.
>>
>> That is, in linux different processes share the the same code(Dlls),
>> but in window they copy the code to their space.
>>

>
>linux usually shares code. this is because shared-objects tend to be
>compiled with position-independent-code.


Would you please stop answering this highly-offtopic question in CLC?
The OP will start to think they can get all their programming
questions answered here, and next time it may be even more wildly
offtopic

>windows tries to share pages, but does not if the hard-coded address can't
>be used (many DLLs are pre-relocated to be loaded at certain addresses...).


And please don't say "well ,where /can/ you ask about windows _and_
linux at the same time" because thats not relevant. I've no idea where
you ask about bondage _and_ buddism at the same time, but that doesn't
make it topical in CLC ....

--
Mark McIntyre

"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it."
--Brian Kernighan
  Réponse avec citation
 
Page generated in 0,05276 seconds with 9 queries