Hello
in old clipper-times, there was a microsoft-tool
LIBMAN.EXE to manage OBJ-files in lib's
Add, Delete, View and more.
The old LIBMAN.exe i found, can only handle 16 Bit Librarys.
Lib.exe in MS-Visual-Studio can handle 32-Bit libs's.
Somebody knows still more programs ( maybe not stand alone ),
where a tool like that is included ?
Best regards
Uwe
Somebody knows a tool like LIBMAN.EXE ( Library-Manager ) ?
Somebody knows a tool like LIBMAN.EXE ( Library-Manager ) ?
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
i work with FW.
If you have any questions about special functions, maybe i can help.
TLIB from Borland to handle Librarys
Thank you very much,
I had a look at TLIB
In internet i found some doc's :
Static libraries have an extension of .LIB
They contain object files and a table which tells what they contain.
They are convenient because they remove the need to remember the
source file name for every function that you use.
The linker assembles the object files you give it, making a list of the items
(mostly the public names of functions) that you provide and those which you use.
For any that are used but have not been provided it searches the libraries
for matching names. Each object file in the library that has a needed name
will be linked into the executable. Object files in the library that do not
contain a needed item will not be linked in.
Static libraries are created with the librarian, Tlib.exe.
Assume that you have the object files one.obj, two.obj and three.obj
and wish to create a static library named Numbers.LIB which contains them.
A command line to create that library could be:
tlib /C Numbers -+one-+two-+three,Numbers
The /C says the library should be case-sensitive, necessary for C and C++ languages.
The librarian knows the default extensions for each of the arguments so
you do not need to type them in.
The first (leftmost) word Numbers is the name of the library and refers
to Numbers.LIB. If it does not exist, tlib.exe will create it.
The -+ before the names of each object file to put in the library are
commands specifying what to do. The '-' says to delete any existing object
file of that name from the library. The '+' says to add this one to the library.
If you are creating the library for the first time or if the object files are not
already in the library it will warn you that it did not find them in there.
The ending (rightmost) word Numbers following the comma is optional.
It is the name of a listing file which shows what is in the library.
Its name is Numbers.LST
Static libraries usually contain many object files, too many to fit on a command line.
Tlib is most often used with a response file, a text file from which it will take commands.
Below is an example of a command and file to do the same thing as we did with above:
tlib /C numbers @numbers.rsp
// -----Numbers.rsp------
-+one &
-+two &
-+three,numbers
I will have a look at Visual-Studio's LIB.exe as well,
to test how it works.
Best Regards
Uwe
I had a look at TLIB
In internet i found some doc's :
Static libraries have an extension of .LIB
They contain object files and a table which tells what they contain.
They are convenient because they remove the need to remember the
source file name for every function that you use.
The linker assembles the object files you give it, making a list of the items
(mostly the public names of functions) that you provide and those which you use.
For any that are used but have not been provided it searches the libraries
for matching names. Each object file in the library that has a needed name
will be linked into the executable. Object files in the library that do not
contain a needed item will not be linked in.
Static libraries are created with the librarian, Tlib.exe.
Assume that you have the object files one.obj, two.obj and three.obj
and wish to create a static library named Numbers.LIB which contains them.
A command line to create that library could be:
tlib /C Numbers -+one-+two-+three,Numbers
The /C says the library should be case-sensitive, necessary for C and C++ languages.
The librarian knows the default extensions for each of the arguments so
you do not need to type them in.
The first (leftmost) word Numbers is the name of the library and refers
to Numbers.LIB. If it does not exist, tlib.exe will create it.
The -+ before the names of each object file to put in the library are
commands specifying what to do. The '-' says to delete any existing object
file of that name from the library. The '+' says to add this one to the library.
If you are creating the library for the first time or if the object files are not
already in the library it will warn you that it did not find them in there.
The ending (rightmost) word Numbers following the comma is optional.
It is the name of a listing file which shows what is in the library.
Its name is Numbers.LST
Static libraries usually contain many object files, too many to fit on a command line.
Tlib is most often used with a response file, a text file from which it will take commands.
Below is an example of a command and file to do the same thing as we did with above:
tlib /C numbers @numbers.rsp
// -----Numbers.rsp------
-+one &
-+two &
-+three,numbers
I will have a look at Visual-Studio's LIB.exe as well,
to test how it works.
Best Regards
Uwe
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
i work with FW.
If you have any questions about special functions, maybe i can help.
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Library manager ELIB.exe
I tested ELIB.exe
It is really much better to handle, as Borland's TLIB.exe
Best Regards
Uwe
It is really much better to handle, as Borland's TLIB.exe
Best Regards
Uwe
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
i work with FW.
If you have any questions about special functions, maybe i can help.