Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

shtool-arx(1) [linux man page]

SHTOOL-ARX.TMP(1)					      GNU Portable Shell Tool						 SHTOOL-ARX.TMP(1)

NAME
shtool-arx - GNU shtool ar(1) extensional command SYNOPSIS
shtool arx [-t|--trace] [-C|--command cmd] op archive file [file ...] DESCRIPTION
shtool arx is a wrapper around the archiving tool ar(1). It provides the ability to create archives out of existing archives, i.e., if one of file matches ""*.a"", the archive member files of file are used instead of file itself. The trick of this command is the automatic handling of archive members which is especially interesting if one wants to construct a (usually top-level) library archive out of pre-built sub-library archives (usually staying inside subdirs) in a large source tree. For GNU libtool based projects, a similar functionality is provided by GNU libtool internally, too. OPTIONS
The following command line options are available. -t, --trace Shows the actually involved shell commands. -C, --command cmd Set the used ar(1) command to cmd instead of just "ar" (searched in $PATH). EXAMPLE
# Makefile AR=ar RANLIB=ranlib : OBJS=foo.o bar.o LIBS=baz/libbaz.a quux/libquux.a : libfoo.a: $(OBJS) $(LIBS) shtool arx -C $(AR) rc libfoo.a $(OBJS) $(LIBS) $(RANLIB) libfoo.a HISTORY
The GNU shtool arx command was originally written by Ralf S. Engelschall <rse@engelschall.com> in 1999 for GNU shtool. It was prompted by need to build libraries out of sub-libraries inside the OSSP project. SEE ALSO
shtool(1), ar(1). 18-Jul-2008 shtool 2.0.8 SHTOOL-ARX.TMP(1)

Check Out this Related Man Page

SHTOOL-ARX.TMP(1)					      GNU Portable Shell Tool						 SHTOOL-ARX.TMP(1)

NAME
shtool-arx - GNU shtool ar(1) extensional command SYNOPSIS
shtool arx [-t|--trace] [-C|--command cmd] op archive file [file ...] DESCRIPTION
shtool arx is a wrapper around the archiving tool ar(1). It provides the ability to create archives out of existing archives, i.e., if one of file matches ""*.a"", the archive member files of file are used instead of file itself. The trick of this command is the automatic handling of archive members which is especially interesting if one wants to construct a (usually top-level) library archive out of pre-built sub-library archives (usually staying inside subdirs) in a large source tree. For GNU libtool based projects, a similar functionality is provided by GNU libtool internally, too. OPTIONS
The following command line options are available. -t, --trace Shows the actually involved shell commands. -C, --command cmd Set the used ar(1) command to cmd instead of just "ar" (searched in $PATH). EXAMPLE
# Makefile AR=ar RANLIB=ranlib : OBJS=foo.o bar.o LIBS=baz/libbaz.a quux/libquux.a : libfoo.a: $(OBJS) $(LIBS) shtool arx -C $(AR) rc libfoo.a $(OBJS) $(LIBS) $(RANLIB) libfoo.a HISTORY
The GNU shtool arx command was originally written by Ralf S. Engelschall <rse@engelschall.com> in 1999 for GNU shtool. It was prompted by need to build libraries out of sub-libraries inside the OSSP project. SEE ALSO
shtool(1), ar(1). 18-Jul-2008 shtool 2.0.8 SHTOOL-ARX.TMP(1)
Man Page

7 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Set User ID Bit And Shared Object

I have one app binary 'main' which is dependent on shared object libfoo.so owner of main and libfoo.so is user 'oracle:dba' > ldd main libfoo.so => ./libfoo.so libCstd.so.1 => /usr/lib/libCstd.so.1 libCrun.so.1 => /usr/lib/libCrun.so.1 libm.so.2 => ... (1 Reply)
Discussion started by: vpatil
1 Replies

2. Programming

Set User ID Bit And Shared Object

I have one app binary 'main' which is dependent on shared object libfoo.so owner of main and libfoo.so is user 'oracle:dba' > ldd main libfoo.so => ./libfoo.so libCstd.so.1 => /usr/lib/libCstd.so.1 libCrun.so.1 => /usr/lib/libCrun.so.1 libm.so.2 => ... (1 Reply)
Discussion started by: vpatil
1 Replies

3. Shell Programming and Scripting

Array error

:) Hi, I am assigning value to array in for loop, here is the code: for arg in $FILE do TMP=`dirname $arg` ${DIR}=$TMP echo ${DIR} let "i = $i + 1" done Here TMP gives, d1/data/BCR d1/data/BLM Getting following error: (3 Replies)
Discussion started by: darshakraut
3 Replies

4. Programming

C++ ld: fatal: Symbol referencing errors.

Hello. I used to compile my code including a third-party library, "libfoo.so". Now, the vendor ships a statically linked library, "libfoo.a", instead. With this library, I run into the following error: CC -mt -xarch=v9 -DCOMPILE_SOL_SPARC -ftrap=%none -xlibmil -xchip=ultra2 -xbuiltin -xO4 \... (0 Replies)
Discussion started by: acheong87
0 Replies

5. UNIX for Advanced & Expert Users

Help with archiving using find

Dear Unix Experts, I am trying to backup some legacy data based on date. I am pasting a small portion from the ls -al command from my session for reference. athena>ls -al ./nmr/exam1d_13C: total 32 drwxrwxrwx 3 root root 4096 May 1 2008 1/ drwxrwxrwx 3 root ... (1 Reply)
Discussion started by: jaison75
1 Replies

6. Shell Programming and Scripting

check if directory and file exists

cp $PATHLOGS/$DATE/*.* $TMP/logs_tmp/ cp $PATHLOGS/$DATE1/*.* $TMP/logs_tmp/ Before copying the files I have to check if the directory $DATE1 and $DATE2 exists. If directory exists then, check if the folder contains some files. if the file exists then, check if the file size is greater... (3 Replies)
Discussion started by: sandy1028
3 Replies

7. UNIX for Dummies Questions & Answers

Help needed - How to use or condition in makefile

Hi All, i get struck in between how to use OR condition in makefile. Eg: ifeq ($(PACKAGE),x) LIBS += $(STRIPPED_LIB-ONLY) else ifeq ($(PACKAGE),y) LIBS += $(STRIPPED_LIB-ONLY) else LIBS += $(LIB-ONLY) endif endif so if we look into above... (1 Reply)
Discussion started by: dhanavel
1 Replies