Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

ranlib(1) [opensolaris man page]

ranlib(1)							   User Commands							 ranlib(1)

ranlib - convert archives to random libraries SYNOPSIS
ranlib archive DESCRIPTION
The ranlib utility was used in SunOS 4.x to add a table of contents to archive libraries, which converted each archive to a form that could be linked more rapidly. This is no longer needed, as the ar(1) command automatically provides all the functionality ranlib used to provide. This script is provided as a convenience for software developers who need to maintain Makefiles that are portable across a variety of oper- ating systems. EXIT STATUS
ranlib has exit status 0. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWbtool | +-----------------------------+-----------------------------+ SEE ALSO
ar(1), ar.h(3HEAD), attributes(5) SunOS 5.11 28 Jun 2007 ranlib(1)

Check Out this Related Man Page

RANLIB(5)						      BSD File Formats Manual							 RANLIB(5)

ranlib -- archive (library) table-of-contents format SYNOPSIS
#include <mach-o/ranlib.h> DESCRIPTION
The archive table-of-contents command ranlib creates a table of contents for archives, containing object files, to be used by the link-editor ld(1). It operates on archives created with the utility ar(1). The Ranlib function prepends a new file to the archive which has three separate parts. The first part is a standard archive header, which has a special name field, "__.SYMDEF" or "__.SYMDEF SORTED". If the archive does not have multiple members that define symbol then "__.SYMDEF SORTED" should be used and the table of contents should be sorted by name. The second part is a ``long'' followed by a list of ranlib structures. The long is the size, in bytes, of the list of ranlib structures. Each of the ranlib structures consists of a zero based offset into the next section (a string table of symbols) and an offset from the begin- ning of the archive to the start of the archive file which defines the symbol. The actual number of ranlib structures is this number divided by the size of an individual ranlib structure. The third part is a ``long'' followed by a string table. The long is the size, in bytes of the string table. SEE ALSO
ar(1), ranlib(1) Darwin November 16, 2001 Darwin
Man Page

4 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Grep help

I want to grep a range of times from a file. File looks like this: Jun 1 8:50:18 Jun 1 8:53:22 Jun 1 8:59:43 Jun 1 9:34:23 Jun 1 10:02:00 Jun 1 11:02:00 Jun 1 11:03:00 Jun 1 12:02:00 Jun 1 23:55:59 I want to grep for "Jun 1" but I want times 8-11. I know its... (3 Replies)
Discussion started by: flood
3 Replies

2. Shell Programming and Scripting

random script termination

I'm writing a script to archive data. First, the files are all rsync'd to the archive directory via NFS mounts(I know not the most efficient, but the only choice in this situation), then I use md5sum to validate the transfers. During execution of the script, it will exit for no apparent reason. It... (6 Replies)
Discussion started by: mph
6 Replies

3. Shell Programming and Scripting

script to archive and purge

Hi, I am writing a shell script for archive data from a table. The design is as follows. Step 1: Execute the select query and extract the data into a text file. Step 2: The primary key for this table is TRACKING_NUM, TRACKING_NUM_SUFFIX, TIMESTAMP_UPDATED. So These three fields will be read... (1 Reply)
Discussion started by: kmanivan82
1 Replies

4. Shell Programming and Scripting

Changing the Login Path

Hi frnds! i m installing a software named 'Gamit' by using bash. bt i recieved the follwoing error: .. removing any existing Makefiles or archive files from libraries directories /root/Documents/ISP/Gamit_10.4/com/rmfresh: Permission denied. .. removing any existing Makefiles or... (1 Reply)
Discussion started by: Engr. Shoaib
1 Replies