来自专业的译者、企业、网页和免费的翻译库。
bibliothèque statique
static library
最后更新: 2014-08-20
使用频率: 1
质量:
bibliothèque statique (libtool)
static library (libtool)
最后更新: 2014-08-20
使用频率: 2
质量:
bibliothèque partagée et statique
shared and static library
最后更新: 2014-08-20
使用频率: 1
质量:
statique
static ipv4
最后更新: 2012-12-27
使用频率: 7
质量:
statique.
2000.
最后更新: 2018-02-13
使用频率: 1
质量:
dans le cas où deux versions sont nécessaires, je recommande de différencier les noms en appelant libname_s.a la bibliothèque statique.
in the case of two types of libraries, i would recommend naming them libname_s.a, so that it will be easier to control whether to load a static or dynamic library.
selon que ld(1) trouve libnom.so ou libnom.a, l'édition des liens est effectuée en tant que bibliothèque partagée ou statique.
if ld(1) finds a libname.so file, it links it as if it was a shared library, while if it finds a file libname.a, it will link the modules obtained from this if they resolved any of the unresolved references.
si vous compilez vos propres jeux, le problème principal avec les bibliothèques sera soit que gcc ne trouve pas une bibliothèque statique, soit que la bibliothèque n'est pas présente sur votre système.
when playing games from binary, your library woes will be either be that ld.so can't find the library or the library doesn't exist on your system.
dans ce cas, plutôt que de remplacer main par winmain, vous pouvez lier avec la bibliothèque statique sfml_main et ainsi garder un point d'entrée main portable et standard.
in such case, to avoid replacing main by winmain, you can link with sfml_main static library and keep a standard and portable main entry point.
si au contraire vous souhaitez créer une bibliothèque statique (ou si les deux versions sont nécessaires afin de pouvoir offrir des programmes liés statiquement), nous allons maintenant décrire les étapes à suivre.
if on the other hand, one would like to make a static library (or two versions are needed to be able to offer statically linked copies) then one has to proceed as follows:
dans une bibliothèque statique, il est inutile d'inclure les fonctions rarement utilisées ; il suffit de placer ces fonctions dans leur propre module, et elles ne seront pas liées dans les programmes qui ne les référencent pas.
in a static library it is unnecessary to include functions whose usage is infrequent; as long as those functions are contained in their own module, they will not be linked in to those programs that do not required them.
dans le cas où deux versions sont nécessaires, je recommande de différencier les noms en appelant libname_s.a la bibliothèque statique. il sera ainsi plus facile de contrôler quelle version de bibliothèque est effectivement utilisée à l'édition de liens.
in the case of two types of libraries, i would recommend naming them libname_s.a, so that it will be easier to control whether to load a static or dynamic library.