glibc 使用手册

上传人:简****9 文档编号:107477851 上传时间:2019-10-19 格式:PDF 页数:24 大小:129.65KB
返回 下载 相关 举报
glibc 使用手册_第1页
第1页 / 共24页
glibc 使用手册_第2页
第2页 / 共24页
glibc 使用手册_第3页
第3页 / 共24页
glibc 使用手册_第4页
第4页 / 共24页
glibc 使用手册_第5页
第5页 / 共24页
点击查看更多>>
资源描述

《glibc 使用手册》由会员分享,可在线阅读,更多相关《glibc 使用手册(24页珍藏版)》请在金锄头文库上搜索。

1、 Glibc 2 HOWTO Table of Contents Glibc 2 HOWTO.1 Eric Green, ejg3cornell.edu 1 1.Introduction.1 2.Choosing your installation method.1 3.Getting the library.1 4.Installing as a test library1 5.Installing as the primary C library1 6.Compiling with the nonprimary libc2 7.Compiling C+ programs.2 8.Probl

2、ems.2 9.Reporting bugs2 10.Sample specs file. 2 11.Miscellanea.2 1.Introduction.2 1.1 About glibc 2.2 1.2 About this document3 1.3 Recent changes in this document.3 2.Choosing your installation method.4 3.Getting the library.4 4.Installing as a test library5 4.1 Compiling and installing. .5 Prerequi

3、sites6 Extracting the source6 Configuring.6 Compiling and installing. 7 4.2 Updating the dynamic loader.7 4.3 Configuring for gcc7 4.4 Updating header file links8 4.5 Testing your installation8 5.Installing as the primary C library9 5.1 Building the library from source9 Prerequisites9 Extracting the

4、 source10 Configuring.10 Compiling.10 5.2 Preparing for installation. .11 5.3 Installing from the binary package12 5.4 Installing from the source13 5.5 Updating the gcc specs. 13 5.6 Testing your installation14 6.Compiling with the nonprimary libc14 6.1 A warning when using nonprimary libcs. 14 6.2

5、Compiling programs with a test glibc15 6.3 Compiling programs with libc 5 when glibc is primary library. 15 7.Compiling C+ programs.16 7.1 Installing libg+ for a test glibc install16 7.2 Installing libg+ for a primary glibc install.17 Glibc 2 HOWTO i Table of Contents 7.3 Compiling C+ programs with

6、the nonprimary libc.17 8.Problems.17 8.1 Host names do not resolve.17 9.Reporting bugs18 10.Sample specs file. 18 11.Miscellanea.19 11.1 Further information20 Web pages.20 Newgroups20 Mailing lists20 11.2 Credits20 11.3 Feedback21 11.4 Copyright.21 Glibc 2 HOWTO ii Glibc 2 HOWTO Eric Green, ejg3corn

7、ell.edu v1.6, 22 June 1998 The glibc 2 HOWTO covers installing and using the GNU C Library version 2 (libc 6) on Linux systems. 1.Introduction. 1.1 About glibc 2. 1.2 About this document. 1.3 Recent changes in this document. 2.Choosing your installation method. 3.Getting the library. 4.Installing as

8、 a test library. 4.1 Compiling and installing. 4.2 Updating the dynamic loader. 4.3 Configuring for gcc. 4.4 Updating header file links. 4.5 Testing your installation. 5.Installing as the primary C library. 5.1 Building the library from source. 5.2 Preparing for installation. 5.3 Installing from the

9、 binary package. 5.4 Installing from the source. 5.5 Updating the gcc specs. 5.6 Testing your installation. Glibc 2 HOWTO1 6.Compiling with the nonprimary libc. 6.1 A warning when using nonprimary libcs. 6.2 Compiling programs with a test glibc. 6.3 Compiling programs with libc 5 when glibc is prima

10、ry library. 7.Compiling C+ programs. 7.1 Installing libg+ for a test glibc install. 7.2 Installing libg+ for a primary glibc install. 7.3 Compiling C+ programs with the nonprimary libc. 8.Problems. 8.1 Host names do not resolve. 9.Reporting bugs. 10.Sample specs file. 11.Miscellanea. 11.1 Further in

11、formation. 11.2 Credits. 11.3 Feedback. 11.4 Copyright. 1.Introduction. 1.1 About glibc 2. Glibc 2 is the latest version of the GNU C Library. It currently runs unmodified on GNU Hurd systems and Linux i386, m68k, and alpha systems. Support for Linux PowerPC, MIPS, Sparc, Sparc 64, and Arm will be G

12、libc 2 HOWTO 6.Compiling with the nonprimary libc.2 in version 2.1. In the future support for other architectures and operating systems will be added. On Linux, glibc 2 is used as the libc with major version 6, the successor of the Linux libc 5. It is intended by the Linux libc developers to eventua

13、lly replace libc 5. As of 2.0.6, glibc is considered production quality. Version 2.1 (due out in the near future) will be ready for main stream use along with adding more ports and features. There are three optional addons available for glibc 2: Crypt The UFCcrypt package. It is seperate because of

14、export restrictions. LinuxThreads An implementation of the Posix 1003.1c “pthread“ interface. Locale data Contains the data needed to build the locale data files to use the internationalization features of the glibc. The crypt and LinuxThreads addons are strongly recommended. not using them risks to

15、 be incompatible with the libraries of other systems. (If you do not wish to use them, you must add the option disablesanitychecks when you run configure.) 1.2 About this document. This HOWTO covers installing the glibc 2 library on an existing Linux system. It is tailored for users of Intel based s

16、ystems currently using libc 5, but users of other systems and alternate libraries (such as glibc 1) should be able to use this information by substituting the proper filenames and architecture names in the appropriate places. The latest copy of this HOWTO can be found as part of the Linux Documentation Project or from 1.3 Recent changes in this document. Differences between version 1.6 and 1.5: Fixed the install inst

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 商业/管理/HR > 管理学资料

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号