TLIB64.EXE, le gestionnaire de bibliothèques pour Windows 64 bits

De RAD Studio

Remonter à Utilitaires de ligne de commande - Index

TTLIB64.EXE est un gestionnaire de bibliothèques qui traite les bibliothèques et les fichiers objets C++Builder Windows 64 bits :

  • Les fichiers objet sont au format ELF et ont l'extension .o.
  • Les bibliothèques sont au format GNU ar (GNU ar format) et ont l'extension .a.

TLIB64 peut aussi gérer des fichiers OMF, tout comme TLIB.EXE, son équivalent Windows 32 bits. Dans les rubriques d'aide qui décrivent l'utilisation de TLIB, toutes les étapes et descriptions concernant TLIB.EXE peuvent aussi s'appliquer à TLIB64.EXE. Pour plus d’informations sur l'utilisation de TLIB64, voir TLIB.EXE, le gestionnaire de bibliothèques..

Exécutez TLIB64 avec le commutateur \A sur Windows 64 bits

Pour activer les bibliothèques de format ELF avec TLIB64, vous devez spécifier l'option /A sur la ligne de commande :

/A

(écrivez des archives au format GNU AR avec les objets ELF)

Aide de la ligne de commande

Voici l'aide de la ligne de commande de TLIB64.EXE :

TLIB64 7.3 Copyright (c) 1987-2026 Embarcadero Technologies, Inc.
Syntax: TLIB [options] libname [ operands ] [, listfile]
    options     switches beginning with '/' (see below); optional
    libname     library file pathname (required)
    operands    modules/files to act on (see below); zero or more
    , listfile  optional listing file, introduced by a comma

New syntax (simpler for scripts and tooling):
  With /N the old +/- operators are disabled, so '+' and '-' may
  appear in file names. Set a default action, then list plain
  file/module names; the action holds for every following operand
  until you set a different one, so one command can mix actions.
    /N          select new syntax
    /a          add module to the library
    /d          delete module from the library
    /e          extract module without removal
    /r          replace module in the library
    /u          update module: replace it, or add it if not present
    /x          extract module and remove it from the library
  Example: TLIB mylib /N /a add1.obj add2.obj /d drop.obj

Old syntax (command operators; the default): each operand is
[<symbol>]module; a symbol sets that operand's action, overriding
any default.
    /O          select old syntax (the default)
    +           add module (does NOT replace an existing member; use -+)
    -           delete module from the library
    *           extract module without removing it
    -+ or +-    replace module in the library
    -* or *-    extract module and remove it

General switches:
    /8          output encoding is utf-8
    /F          force new library
    /Q          quiet: reduce output messages

OMF library switches:
    /0          purge comment records
    /1          purge like /0 but keep the compiler-version comment
    /C          case-sensitive library
    /E          build the extended dictionary
    /L          write listfile to stdout
    /Pnn        set the library page size to nn

GNU ar / ELF archive switches:
    /A          write GNU AR format archive with ELF objs
    /Z          zero AR member timestamps for reproducible builds

Response files (read further arguments from a file or stdin):
    @filepath   read further arguments from filepath
    /B          response-file lines are newline-terminated, so no
                trailing '&' is needed (recommended)
    &           otherwise, end each continued line with '&'
                (the final line takes none)

Voir aussi