Re: [debutant] dynamically ou statically linked

2002-09-09 Par sujet Arnaud

Le Samedi 7 Septembre 2002 07:25, vous avez écrit :
 Bonjour

 C'est quoi la différence entre : linux binary - statically linked et
 linux binary - dynamically linked

Salut,
j'ai trouvé ça sur ta question dynamically ou statically linked


That depends on your system. If you have a fairly new distribution, the 
dynamically linked core should be fine. 'Dynamically linked' means that the 
program is linked against certain libraries which it expects to be on your 
system. This saves RAM and harddisk space if the same library is used by many 
programs.
f you have an older linux distribution (2-3 years or so), or you get a 
'couldn't find library libxyz.so' error on starting the program, then you 
should get the statically linked core. 'Statically linked' means that the 
program contains all the functions it needs and doesn't expect any specific 
library to be already installed on your system. Statically linked programs 
are bigger than dynamically linked ones, but they should work right away. You 
will also need the statically linked core if you are running the donkey 
chroot'ed (but if you do that you probably know that anyway).

Lu sur :
http://users.aber.ac.uk/tpm01/guihome.html#CORE

A+
Arnaud.



Vous souhaitez acquerir votre Pack ou des Services MandrakeSoft?
Rendez-vous sur http://www.mandrakestore.com;



Re: [debutant] dynamically ou statically linked

2002-09-09 Par sujet Arnaud

Le Samedi 7 Septembre 2002 07:25, vous avez écrit :
 Bonjour

 C'est quoi la différence entre : linux binary - statically linked et
 linux binary - dynamically linked

Salut,
j'ai trouvé ça sur ta question dynamically ou statically linked


That depends on your system. If you have a fairly new distribution, the 
dynamically linked core should be fine. 'Dynamically linked' means that the 
program is linked against certain libraries which it expects to be on your 
system. This saves RAM and harddisk space if the same library is used by many 
programs.
f you have an older linux distribution (2-3 years or so), or you get a 
'couldn't find library libxyz.so' error on starting the program, then you 
should get the statically linked core. 'Statically linked' means that the 
program contains all the functions it needs and doesn't expect any specific 
library to be already installed on your system. Statically linked programs 
are bigger than dynamically linked ones, but they should work right away. You 
will also need the statically linked core if you are running the donkey 
chroot'ed (but if you do that you probably know that anyway).

Lu sur :
http://users.aber.ac.uk/tpm01/guihome.html#CORE

A+
Arnaud.




Vous souhaitez acquerir votre Pack ou des Services MandrakeSoft?
Rendez-vous sur http://www.mandrakestore.com;



Re: [debutant] dynamically ou statically linked

2002-09-09 Par sujet LEFEBVRE Herve

Le Lundi 9 Septembre 2002 19:02, Arnaud a écrit :
 Le Samedi 7 Septembre 2002 07:25, vous avez écrit :
  Bonjour
 
  C'est quoi la différence entre : linux binary - statically linked et
  linux binary - dynamically linked

 Salut,
 j'ai trouvé ça sur ta question dynamically ou statically linked

En résumé et en simplifié :

Si tu écris une application QT (par exemple), lors de la compilation tu as le 
choix entre l'édition de lien statique ou dynamique.

En mode dynamique, ça veut dire que les liens seront résolus lorsque tu 
exécuteras le programme, ce sont des liens externes. En décodé, ça veut dire 
que pour que le programme marche, il faudra que le gars il ait installé la 
librairie libqt.so sur son PC

En lien statique, le code de la librairie QT sera inclus dans l'exécutable. 
Donc ça simplifie bcp les choses pour celui qui va installer ton application 
(il n'a pas à installer de librairies en plus pour que ça marche).

L'inconvénient du statique, c'est que comme ta librairie QT (encore une 
fois, c'est un exemple) est incluse dans l'exécutable, si jamais tu as 2 
applis QT statiques sur ton disque dur, ben tu gaspilles 2 fois l'espace de 
stockage de la librairie QT.

Autre problème, si tu exécutes 2 applications QT liées statiquement, ben tu 
gaspilles 2 fois la RAM occupée par la Qt lib.


C'est clair ? (des fois j'arrive pas à savoir su je suis compréhensible).



 That depends on your system. If you have a fairly new distribution, the
 dynamically linked core should be fine. 'Dynamically linked' means that the
 program is linked against certain libraries which it expects to be on your
 system. This saves RAM and harddisk space if the same library is used by
 many programs.
 f you have an older linux distribution (2-3 years or so), or you get a
 'couldn't find library libxyz.so' error on starting the program, then you
 should get the statically linked core. 'Statically linked' means that the
 program contains all the functions it needs and doesn't expect any specific
 library to be already installed on your system. Statically linked programs
 are bigger than dynamically linked ones, but they should work right away.
 You will also need the statically linked core if you are running the donkey
 chroot'ed (but if you do that you probably know that anyway).

 Lu sur :
 http://users.aber.ac.uk/tpm01/guihome.html#CORE

 A+
 Arnaud.




Vous souhaitez acquerir votre Pack ou des Services MandrakeSoft?
Rendez-vous sur http://www.mandrakestore.com;



Re: [debutant] dynamically ou statically linked

2002-09-09 Par sujet Troumad

LEFEBVRE Herve wrote:

Le Lundi 9 Septembre 2002 19:02, Arnaud a écrit :
  

Le Samedi 7 Septembre 2002 07:25, vous avez écrit :


Bonjour

C'est quoi la différence entre : linux binary - statically linked et
linux binary - dynamically linked
  

Salut,
j'ai trouvé ça sur ta question dynamically ou statically linked



En résumé et en simplifié :

Si tu écris une application QT (par exemple), lors de la compilation tu as le 
choix entre l'édition de lien statique ou dynamique.

En mode dynamique, ça veut dire que les liens seront résolus lorsque tu 
exécuteras le programme, ce sont des liens externes. En décodé, ça veut dire 
que pour que le programme marche, il faudra que le gars il ait installé la 
librairie libqt.so sur son PC

En lien statique, le code de la librairie QT sera inclus dans l'exécutable. 
Donc ça simplifie bcp les choses pour celui qui va installer ton application 
(il n'a pas à installer de librairies en plus pour que ça marche).

L'inconvénient du statique, c'est que comme ta librairie QT (encore une 
fois, c'est un exemple) est incluse dans l'exécutable, si jamais tu as 2 
applis QT statiques sur ton disque dur, ben tu gaspilles 2 fois l'espace de 
stockage de la librairie QT.

Autre problème, si tu exécutes 2 applications QT liées statiquement, ben tu 
gaspilles 2 fois la RAM occupée par la Qt lib.


C'est clair ? (des fois j'arrive pas à savoir su je suis compréhensible).

Oui! Largement que la traduct de http://babelfish.altavista.com/tr car 
l'anglais et moi ça fait...


  

That depends on your system. If you have a fairly new distribution, the
dynamically linked core should be fine. 'Dynamically linked' means that the
program is linked against certain libraries which it expects to be on your
system. This saves RAM and harddisk space if the same library is used by
many programs.
f you have an older linux distribution (2-3 years or so), or you get a
'couldn't find library libxyz.so' error on starting the program, then you
should get the statically linked core. 'Statically linked' means that the
program contains all the functions it needs and doesn't expect any specific
library to be already installed on your system. Statically linked programs
are bigger than dynamically linked ones, but they should work right away.
You will also need the statically linked core if you are running the donkey
chroot'ed (but if you do that you probably know that anyway).

Lu sur :
http://users.aber.ac.uk/tpm01/guihome.html#CORE

A+
Arnaud.




  



Vous souhaitez acquerir votre Pack ou des Services MandrakeSoft?
Rendez-vous sur http://www.mandrakestore.com;
  



-- 

Amicalement vOOo http://www.openoffice-fr.orgtre

Troumad


troumad.free.fr http://troumad.free.fr Web étudiants 
http://www.web-etudiants.fr.st Math étudiants 
http://www.math-etudiants.fr.st
Elec étudiants http://www.elec-etudiants.fr.st Sectes 
http://www.sectes.fr.fm [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]






Vous souhaitez acquerir votre Pack ou des Services MandrakeSoft?
Rendez-vous sur http://www.mandrakestore.com;



[debutant] dynamically ou statically linked

2002-09-06 Par sujet Troumad

Bonjour




C'est quoi la différence entre : linux binary - statically linked et 
linux binary - dynamically linked

-- 

Amicalement vOOo http://www.openoffice-fr.orgtre

Troumad


troumad.free.fr http://troumad.free.fr Web étudiants 
http://www.web-etudiants.fr.st Math étudiants 
http://www.math-etudiants.fr.st
Elec étudiants http://www.elec-etudiants.fr.st Sectes 
http://www.sectes.fr.fm [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]





Vous souhaitez acquerir votre Pack ou des Services MandrakeSoft?
Rendez-vous sur http://www.mandrakestore.com;