| |
 |
|
 |
 |
|
 |
LFS 系统必备的软件包介绍(之编译环境)
|
|
|
连续安装24小时,总算得出些经验,去虚拟机上实践后再写总结吧,这里转 lfs6.1.1里面对 LFS系统必备的软件包的介绍,其实我们可以选一些用的,定制自己专用专门功能的系统:) Linux-Libc-Headers
Installed
headers: /usr/include/{asm,linux}/*.h
Short Descriptions
|
/usr/include/{asm,linux}/*.h
|
The Linux API headers
| |
Man-pages
Installed files:
various man pages
Short Descriptions
|
man pages
|
Describe C programming language functions, important
device files, and significant configuration files
| |
Glibc
Installed
programs: catchsegv, gencat,
getconf, getent, iconv, iconvconfig, ldconfig, ldd, lddlibc4,
locale, localedef, mtrace, nscd, nscd_nischeck, pcprofiledump,
pt_chown, rpcgen, rpcinfo, sln, sprof, tzselect, xtrace, zdump,
and zic
Installed
libraries: ld.so,
libBrokenLocale.{a,so}, libSegFault.so, libanl.{a,so},
libbsd-compat.a, libc.{a,so}, libcidn.so, libcrypt.{a,so},
libdl.{a,so}, libg.a, libieee.a, libm.{a,so}, libmcheck.a,
libmemusage.so, libnsl.a, libnss_compat.so, libnss_dns.so,
libnss_files.so, libnss_hesiod.so, libnss_nis.so,
libnss_nisplus.so, libpcprofile.so, libpthread.{a,so},
libresolv.{a,so}, librpcsvc.a, librt.{a,so}, libthread_db.so,
and libutil.{a,so}
Short Descriptions
|
catchsegv
|
Can be used to create a stack trace when a program
terminates with a segmentation fault
|
|
gencat
|
Generates message catalogues
|
|
getconf
|
Displays the system configuration values for file system
specific variables
|
|
getent
|
Gets entries from an administrative database
|
|
iconv
|
Performs character set conversion
|
|
iconvconfig
|
Creates fastloading iconv module configuration
files
|
|
ldconfig
|
Configures the dynamic linker runtime bindings
|
|
ldd
|
Reports which shared libraries are required by each given
program or shared library
|
|
lddlibc4
|
Assists ldd
with object files
|
|
locale
|
Prints various information about the current locale
|
|
localedef
|
Compiles locale specifications
|
|
mtrace
|
Reads and interprets a memory trace file and displays a
summary in human-readable format
|
|
nscd
|
A daemon that provides a cache for the most common name
service requests
|
|
nscd_nischeck
|
Checks whether or not secure mode is necessary for NIS+
lookup
|
|
pcprofiledump
|
Dumps information generated by PC profiling
|
|
pt_chown
|
A helper program for grantpt to set the owner, group
and access permissions of a slave pseudo terminal
|
|
rpcgen
|
Generates C code to implement the Remote Procecure Call
(RPC) protocol
|
|
rpcinfo
|
Makes an RPC call to an RPC server
|
|
sln
|
A statically linked ln program
|
|
sprof
|
Reads and displays shared object profiling data
|
|
tzselect
|
Asks the user about the location of the system and
reports the corresponding time zone description
|
|
xtrace
|
Traces the execution of a program by printing the
currently executed function
|
|
zdump
|
The time zone dumper
|
|
zic
|
The time zone compiler
|
|
ld.so
|
The helper program for shared library executables
|
|
libBrokenLocale
|
Used internally by Glibc as a gross hack to get broken
programs (e.g., some Motif applications) running. See
comments in glibc-2.3.6/locale/broken_cur_max.c for
more information
|
|
libSegFault
|
The segmentation fault signal handler, used by
catchsegv
|
|
libanl
|
An asynchronous name lookup library
|
|
libbsd-compat
|
Provides the portability needed in order to run certain
Berkey Software Distribution (BSD) programs under Linux
|
|
libc
|
The main C library
|
|
libcidn
|
Used internally by Glibc for handling internationalized
domain names in the getaddrinfo() function
|
|
libcrypt
|
The cryptography library
|
|
libdl
|
The dynamic linking interface library
|
|
libg
|
Dummy library containing no functions. Previously was a
runtime library for g++
|
|
libieee
|
Linking in this module forces error handling rules for
math functions as defined by the Institute of Electrical
and Electronic Engineers (IEEE). The default is POSIX.1
error handling
|
|
libm
|
The mathematical library
|
|
libmcheck
|
Turns on memory allocation checking when linked to
|
|
libmemusage
|
Used by memusage to help collect
information about the memory usage of a program
|
|
libnsl
|
The network services library
|
|
libnss
|
The Name Service Switch libraries, containing functions
for resolving host names, user names, group names,
aliases, services, protocols, etc.
|
|
libpcprofile
|
Contains profiling functions used to track the amount of
CPU time spent in specific source code lines
|
|
libpthread
|
The POSIX threads library
|
|
libresolv
|
Contains functions for creating, sending, and
interpreting packets to the Internet domain name servers
|
|
librpcsvc
|
Contains functions providing miscellaneous RPC services
|
|
librt
|
Contains functions providing most of the interfaces
specified by the POSIX.1b Realtime Extension
|
|
libthread_db
|
Contains functions useful for building debuggers for
multi-threaded programs
|
|
libutil
|
Contains code for “standard” functions used in many
different Unix utilities
| |
Binutils
Installed
programs: addr2line, ar, as,
c++filt, gprof, ld, nm, objcopy, objdump, ranlib, readelf,
size, strings, and strip
Installed
libraries: libiberty.a,
libbfd.{a,so}, and libopcodes.{a,so}
Short Descriptions
|
addr2line
|
Translates program addresses to file names and line
numbers; given an address and the name of an executable,
it uses the debugging information in the executable to
determine which source file and line number are
associated with the address
|
|
ar
|
Creates, modifies, and extracts from archives
|
|
as
|
An assembler that assembles the output of
gcc into
object files
|
|
c++filt
|
Used by the linker to de-mangle C++ and Java symbols and
to keep overloaded functions from clashing
|
|
gprof
|
Displays call graph profile data
|
|
ld
|
A linker that combines a number of object and archive
files into a single file, relocating their data and tying
up symbol references
|
|
nm
|
Lists the symbols occurring in a given object file
|
|
objcopy
|
Translates one type of object file into another
|
|
objdump
|
Displays information about the given object file, with
options controlling the particular information to
display; the information shown is useful to programmers
who are working on the compilation tools
|
|
ranlib
|
Generates an index of the contents of an archive and
stores it in the archive; the index lists all of the
symbols defined by archive members that are relocatable
object files
|
|
readelf
|
Displays information about ELF type binaries
|
|
size
|
Lists the section sizes and the total size for the given
object files
|
|
strings
|
Outputs, for each given file, the sequences of printable
characters that are of at least the specified length
(defaulting to four); for object files, it prints, by
default, only the strings from the initializing and
loading sections while for other types of files, it scans
the entire file
|
|
strip
|
Discards symbols from object files
|
|
libiberty
|
Contains routines used by various GNU programs, including
getopt,
obstack,
strerror,
strtol, and
strtoul
|
|
libbfd
|
The Binary File Descriptor library
|
|
libopcodes
|
A library for dealing with opcodes—the
“readable text”
versions of instructions for the processor; it is used
for building utilities like objdump.
| |
GCC
Installed
programs: c++, cc (link to
gcc), cpp, g++, gcc, gccbug, and gcov
Installed
libraries: libgcc.a,
libgcc_eh.a, libgcc_s.so, libstdc++.{a,so}, and
libsupc++.a
Short Descriptions
|
cc
|
The C compiler
|
|
cpp
|
The C preprocessor; it is used by the compiler to expand
the #include, #define, and similar statements in the
source files
|
|
c++
|
The C++ compiler
|
|
g++
|
The C++ compiler
|
|
gcc
|
The C compiler
|
|
gccbug
|
A shell script used to help create useful bug reports
|
|
gcov
|
A coverage testing tool; it is used to analyze programs
to determine where optimizations will have the most
effect
|
|
libgcc
|
Contains run-time support for gcc
|
|
libstdc++
|
The standard C++ library
|
|
libsupc++
|
Provides supporting routines for the C++ programming
language
| |
|
|
|
TAG
LFS
系统
编译
|
|
发表于: 2007-08-10,修改于: 2007-08-10 23:02,已浏览667次,有评论0条
推荐
投诉
|
|
 |
|
 |
|  |
|
 |
|