TLIB64.EXE: Der Bibliotheksmanager für 64-Bit-Windows

Aus RAD Studio

Nach oben zu Befehlszeilenhilfsprogramme - Index

TLIB64.EXE ist ein Bibliotheksmanager für C++Builder-Objektdateien und -Bibliotheken für 64-Bit-Windows:

  • Die Objektdateien haben das ELF-Format mit der Erweiterung .o.
  • Die Bibliotheken haben das GNU-Format ar mit der Erweiterung .a.

TLIB64 kann wie TLIB.EXE, dem 32-Bit-Windows-Gegenstück auch OMF-Dateien verwalten. In Hilfethemen, in denen die Verwendung von TLIB beschrieben ist, gelten alle Schritte und Beschreibungen, die TLIB.EXE betreffen, auch für TLIB64.EXE. Weitere Informationen über die Verwendung von TLIB64 finden Sie unter TLIB.EXE: Der Bibliotheksmanager.

Ausführen von TLIB64 unter 64-Bit-Windows mit der Option \A

Um für TLIB64 Bibliotheken im ELF-Format zu aktivieren, müssen Sie in der Befehlszeile die Option /A angeben:

/A

(Schreiben von Archiven im GNU-AR-Format für ELF-Objektdateien)

Befehlszeilenhilfe

Im Folgenden finden Sie die Befehlszeilenhilfe für 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)

Siehe auch