lorder man page on SmartOS

Man page or keyword search:  
man Server   16655 pages
apropos Keyword Search (all sections)
Output format
SmartOS logo
[printable version]

LORDER(1)							     LORDER(1)

       lorder - find ordering relation for an object or library archive

       lorder filename...

       The  input  is  one  or	more  object or library archive filenames (see
       ar(1)). The standard output is a list of pairs of object	 file  or  ar‐
       chive member names; the first file of the pair refers to external iden‐
       tifiers defined in the second. The output may be processed by  tsort(1)
       to  find	 an  ordering of a library suitable for one-pass access by ld.
       Note that the link editor ld is capable of multiple passes over an  ar‐
       chive  in  the  portable	 archive format (see ar.h(3HEAD)) and does not
       require that lorder be used when building an  archive.	The  usage  of
       the  lorder  command may, however, allow for a more efficient access of
       the archive during the link edit process.

       The following example builds a new library from existing .o files.

       ar -cr library `lorder *.o | tsort`

			 temporary files

			 temporary files

			 usually /var/tmp but can be redefined by setting  the
			 environment  variable	TMPDIR	(see tempnam() in tmp‐

       ar(1), ld(1), tsort(1), tmpnam(3C), ar.h(3HEAD), attributes(5)

       lorder will accept as input any object or archive file,	regardless  of
       its suffix, provided there is more than one input file. If there is but
       a single input file, its suffix must be .o.

       The length of the filename  for	TMPDIR	is  limited  to	 whatever  sed

				 Oct 29, 1991			     LORDER(1)

List of man pages available for SmartOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net