HPlogo HP-UX/HP C Compiler: HP C/HP-UX Reference Manual > Chapter 10 HP C/HP-UX Implementation Topics

Location of Files

» 

Technical documentation

Complete book in PDF

 » Table of Contents

Table 10-5 “Location of Files ” lists the location of the HP C files.

Table 10-5 Location of Files

File or Library

Location

Driver

/opt/ansic/bin/cc
/opt/ansic/bin/c89

Preprocessor

/opt/langtools/lbin/cpp (Compatibility mode) /opt/langtools/lbin/cpp.ansi (ANSI mode)

Compiler

/opt/ansic/lbin/ccom

Assembler

/usr/ccs/bin/as

Linker

/usr/ccs/bin/ld - a "wrapper" that determines if the link is a 32-bit link or a 64-bit link. It then invokes one of /usr/ccs/lbin/ld32 or /usr/ccs/lbin/ld64.

64-bit dynamic loader/usr/lib/pa20_64/dld.sl

Advanced Optimizing Code Generator

/opt/langtools/lbin/ucomp (32-bit mode)
/opt/langtools/lib/libcomp.sl (64-bit mode)

C libraries (libc)

/usr/lib/libc.a1
/lib/libc.sl

Debugging Aid Routines

/opt/langtools/lib/end.o

64-bit libraries

/opt/langtools/lib/pa20_64/libl.a
/opt/langtools/lib/pa20_64/liby.a

libraries for threads

/opt/langtools/lib/libl_thread.a
/opt/langtools/lib/pa20_64/libl_thread.a

manpages

/opt/ansic/share/man/man1.Z/cb.1 (English)

/opt/ansic/share/man/man1.Z/cc.1 (English)

/opt/ansic/share/man/man1.Z/cflow.1 (English)

/opt/ansic/share/man/man1.Z/cxref.1 (English)

/opt/ansic/share/man/man1.Z/lint.1 (English)

/opt/ansic/share/man/man1.Z/protogen.1 (English)

/opt/langtools/share/man/man1.Z/cpp.1 (English)

/opt/langtools/share/man/man1.Z/lex.1 (English)

/opt/langtools/share/man/man1.Z/yacc.1 (English)

Message Catalogs

/opt/ansic/lib/nls/msg/C/cc.cat (English)

/opt/ansic/lib/nls/msg/C/cb.cat (English)

/opt/ansic/lib/nls/msg/C/cflow.cat (English)

/opt/ansic/lib/nls/msg/C/cxref.cat (English)

/opt/ansic/lib/nls/msg/C/lint.cat (English)

/opt/ansic/lib/nls/msg/C/protogen.cat (English)

/opt/langtools/lib/nls/msg/C/cpp.cat (English)

/opt/langtools/lib/nls/msg/C/lex.cat (English)

/opt/langtools/lib/nls/msg/C/yacc.cat (English)

/opt/langtools/lib/nls/msg/C/libmp.cat (English)

Normal startup

opt/langtools/lib/crt0.o

PBO startup

/opt/langtools/lib/icrt0.o

PBO Shared Libraries startup2

/opt/langtools/lib/scrt0.o

gprof startup

/opt/langtools/lib/gcrt0.o

prof startup

/opt/langtools/lib/mcrt0.o

crt0.o for +Oparallel

/opt/langtools/lib/mpcrt0.o

crt0.o for +Oparallel and gprof

/opt/langtools/lib/mpgcrt0.o

Assembler prefix file

/usr/lib/pcc_prefix.s

Profiled C library

/usr/lib/libp/libc.a

Temporary files

/var/tmp3

Math libraries4,5

/usr/lib/libm.a (PA-RISC 1.0, archive)

/usr/lib/libp/libm.a (a profiled version of /usr/lib/libm.a)

/usr/lib/libm.sl (PA-RISC 1.0, shared)

/usr/lib/pa1.1/libm.a (PA-RISC 1.1, archive)6

Parallel Runtime Library

/opt/langtools/lib/libmp.a

Standard Include Files

/usr/include

Online Help

/opt/ansic/html/guide/C

C Tools

/opt/ansic/bin

/opt/ansic/lbin

/opt/langtools/bin

/opt/langtools/lbin

 

1You can change the search path for libc.a through the -Ldir option. See Chapter 9 “Compiling and Running HP C Programs” for details.

2See the HP-UX Linker and Libraries Online User Guide for more information on PBO of shared libraries.

3You can change the default location for the temporary files used and created by the C compiler by setting the environment variable TMPDIR. If the compiler cannot write to $TMPDIR, it uses the default location /var/tmp. See the HP-UX Reference for details.

4The appropriate library file is automatically selected based upon the options selected on the command line.

5The libM library, which formerly supported XPG and POSIX while the libm library supported SVID, is obsolete now that these standards are compatible. The various versions of libM now exist only as symbolic links to the corresponding versions of libm. The symbolic links will eventually disappear.

6For performance reasons, HP provides the PA1.1 version of libm.a only as an archive library. For information about performance issues related to shared and archive libraries, refer to the HP-UX Floating Point Guide.

© Hewlett-Packard Development Company, L.P.