Somebody knows a tool like LIBMAN.EXE ( Library-Manager ) ?

Somebody knows a tool like LIBMAN.EXE ( Library-Manager ) ?

Postby ukoenig » Wed Jul 02, 2008 8:50 pm

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 :lol:
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.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Postby Natter » Wed Jul 02, 2008 10:24 pm

TLib.exe
Natter
 
Posts: 1224
Joined: Mon May 14, 2007 9:49 am

TLIB from Borland to handle Librarys

Postby ukoenig » Wed Jul 02, 2008 11:09 pm

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 :lol:
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.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Postby Antonio Linares » Thu Jul 03, 2008 7:03 am

Have a look at free ELIB tool from Andrés Reyes:

http://www.mediafire.com/?bm3tyoajtbn
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42122
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Library manager ELIB.exe

Postby ukoenig » Thu Jul 03, 2008 12:19 pm

I tested ELIB.exe

It is really much better to handle, as Borland's TLIB.exe

Best Regards

Uwe :lol:
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.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 49 guests