Autoconf Creating Automatic Configuration Scripts for Version 2.69, 24 April 2012

Total Page:16

File Type:pdf, Size:1020Kb

Autoconf Creating Automatic Configuration Scripts for Version 2.69, 24 April 2012 Autoconf Creating Automatic Configuration Scripts for version 2.69, 24 April 2012 David MacKenzie Ben Elliston Akim Demaille This manual (24 April 2012) is for GNU Autoconf (version 2.69), a package for creating scripts to configure source code packages using templates and an M4 macro package. Copyright c 1992-1996, 1998-2012 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover texts, and no Back-Cover Texts. A copy of the license is included in the section entitled \GNU Free Documentation License." i Table of Contents 1 Introduction::::::::::::::::::::::::::::::::::::: 1 2 The GNU Build System:::::::::::::::::::::::: 3 2.1 Automake:::::::::::::::::::::::::::::::::::::::::::::::::::::: 3 2.2 Gnulib ::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 3 2.3 Libtool::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 4 2.4 Pointers:::::::::::::::::::::::::::::::::::::::::::::::::::::::: 4 3 Making configure Scripts :::::::::::::::::::::: 5 3.1 Writing `configure.ac' :::::::::::::::::::::::::::::::::::::::: 6 3.1.1 A Shell Script Compiler ::::::::::::::::::::::::::::::::::: 6 3.1.2 The Autoconf Language ::::::::::::::::::::::::::::::::::: 7 3.1.3 Standard `configure.ac' Layout :::::::::::::::::::::::::: 9 3.2 Using autoscan to Create `configure.ac'::::::::::::::::::::: 10 3.3 Using ifnames to List Conditionals:::::::::::::::::::::::::::: 11 3.4 Using autoconf to Create configure ::::::::::::::::::::::::: 11 3.5 Using autoreconf to Update configure Scripts ::::::::::::::: 13 4 Initialization and Output Files ::::::::::::::: 17 4.1 Initializing configure::::::::::::::::::::::::::::::::::::::::: 17 4.2 Dealing with Autoconf versions:::::::::::::::::::::::::::::::: 18 4.3 Notices in configure ::::::::::::::::::::::::::::::::::::::::: 18 4.4 Finding configure Input ::::::::::::::::::::::::::::::::::::: 19 4.5 Outputting Files :::::::::::::::::::::::::::::::::::::::::::::: 20 4.6 Performing Configuration Actions ::::::::::::::::::::::::::::: 21 4.7 Creating Configuration Files :::::::::::::::::::::::::::::::::: 23 4.8 Substitutions in Makefiles ::::::::::::::::::::::::::::::::::::: 23 4.8.1 Preset Output Variables :::::::::::::::::::::::::::::::::: 23 4.8.2 Installation Directory Variables::::::::::::::::::::::::::: 27 4.8.3 Changed Directory Variables ::::::::::::::::::::::::::::: 30 4.8.4 Build Directories ::::::::::::::::::::::::::::::::::::::::: 31 4.8.5 Automatic Remaking::::::::::::::::::::::::::::::::::::: 32 4.9 Configuration Header Files :::::::::::::::::::::::::::::::::::: 33 4.9.1 Configuration Header Templates:::::::::::::::::::::::::: 34 4.9.2 Using autoheader to Create `config.h.in'::::::::::::::: 35 4.9.3 Autoheader Macros :::::::::::::::::::::::::::::::::::::: 36 4.10 Running Arbitrary Configuration Commands ::::::::::::::::: 37 4.11 Creating Configuration Links::::::::::::::::::::::::::::::::: 38 4.12 Configuring Other Packages in Subdirectories::::::::::::::::: 38 4.13 Default Prefix:::::::::::::::::::::::::::::::::::::::::::::::: 39 ii Autoconf 5 Existing Tests:::::::::::::::::::::::::::::::::: 41 5.1 Common Behavior :::::::::::::::::::::::::::::::::::::::::::: 41 5.1.1 Standard Symbols :::::::::::::::::::::::::::::::::::::::: 41 5.1.2 Default Includes:::::::::::::::::::::::::::::::::::::::::: 41 5.2 Alternative Programs ::::::::::::::::::::::::::::::::::::::::: 43 5.2.1 Particular Program Checks ::::::::::::::::::::::::::::::: 43 5.2.2 Generic Program and File Checks :::::::::::::::::::::::: 46 5.3 Files :::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 49 5.4 Library Files :::::::::::::::::::::::::::::::::::::::::::::::::: 49 5.5 Library Functions ::::::::::::::::::::::::::::::::::::::::::::: 50 5.5.1 Portability of C Functions :::::::::::::::::::::::::::::::: 50 5.5.2 Particular Function Checks ::::::::::::::::::::::::::::::: 53 5.5.3 Generic Function Checks ::::::::::::::::::::::::::::::::: 61 5.6 Header Files :::::::::::::::::::::::::::::::::::::::::::::::::: 63 5.6.1 Portability of Headers :::::::::::::::::::::::::::::::::::: 63 5.6.2 Particular Header Checks::::::::::::::::::::::::::::::::: 65 5.6.3 Generic Header Checks ::::::::::::::::::::::::::::::::::: 70 5.7 Declarations :::::::::::::::::::::::::::::::::::::::::::::::::: 71 5.7.1 Particular Declaration Checks :::::::::::::::::::::::::::: 71 5.7.2 Generic Declaration Checks :::::::::::::::::::::::::::::: 71 5.8 Structures :::::::::::::::::::::::::::::::::::::::::::::::::::: 73 5.8.1 Particular Structure Checks :::::::::::::::::::::::::::::: 73 5.8.2 Generic Structure Checks::::::::::::::::::::::::::::::::: 74 5.9 Types::::::::::::::::::::::::::::::::::::::::::::::::::::::::: 74 5.9.1 Particular Type Checks :::::::::::::::::::::::::::::::::: 74 5.9.2 Generic Type Checks ::::::::::::::::::::::::::::::::::::: 77 5.10 Compilers and Preprocessors ::::::::::::::::::::::::::::::::: 78 5.10.1 Specific Compiler Characteristics :::::::::::::::::::::::: 78 5.10.2 Generic Compiler Characteristics :::::::::::::::::::::::: 78 5.10.3 C Compiler Characteristics :::::::::::::::::::::::::::::: 80 5.10.4 C++ Compiler Characteristics :::::::::::::::::::::::::: 86 5.10.5 Objective C Compiler Characteristics:::::::::::::::::::: 86 5.10.6 Objective C++ Compiler Characteristics :::::::::::::::: 87 5.10.7 Erlang Compiler and Interpreter Characteristics ::::::::: 87 5.10.8 Fortran Compiler Characteristics :::::::::::::::::::::::: 88 5.10.9 Go Compiler Characteristics::::::::::::::::::::::::::::: 96 5.11 System Services :::::::::::::::::::::::::::::::::::::::::::::: 96 5.12 Posix Variants ::::::::::::::::::::::::::::::::::::::::::::::: 98 5.13 Erlang Libraries ::::::::::::::::::::::::::::::::::::::::::::: 98 iii 6 Writing Tests ::::::::::::::::::::::::::::::::: 101 6.1 Language Choice::::::::::::::::::::::::::::::::::::::::::::: 101 6.2 Writing Test Programs ::::::::::::::::::::::::::::::::::::::: 103 6.2.1 Guidelines for Test Programs :::::::::::::::::::::::::::: 103 6.2.2 Test Functions :::::::::::::::::::::::::::::::::::::::::: 103 6.2.3 Generating Sources:::::::::::::::::::::::::::::::::::::: 104 6.3 Running the Preprocessor :::::::::::::::::::::::::::::::::::: 107 6.4 Running the Compiler ::::::::::::::::::::::::::::::::::::::: 108 6.5 Running the Linker :::::::::::::::::::::::::::::::::::::::::: 108 6.6 Checking Runtime Behavior :::::::::::::::::::::::::::::::::: 109 6.7 Systemology ::::::::::::::::::::::::::::::::::::::::::::::::: 111 6.8 Multiple Cases ::::::::::::::::::::::::::::::::::::::::::::::: 111 7 Results of Tests :::::::::::::::::::::::::::::: 113 7.1 Defining C Preprocessor Symbols::::::::::::::::::::::::::::: 113 7.2 Setting Output Variables::::::::::::::::::::::::::::::::::::: 114 7.3 Special Characters in Output Variables::::::::::::::::::::::: 116 7.4 Caching Results:::::::::::::::::::::::::::::::::::::::::::::: 117 7.4.1 Cache Variable Names :::::::::::::::::::::::::::::::::: 118 7.4.2 Cache Files ::::::::::::::::::::::::::::::::::::::::::::: 119 7.4.3 Cache Checkpointing :::::::::::::::::::::::::::::::::::: 119 7.5 Printing Messages:::::::::::::::::::::::::::::::::::::::::::: 120 8 Programming in M4 ::::::::::::::::::::::::: 123 8.1 M4 Quotation ::::::::::::::::::::::::::::::::::::::::::::::: 123 8.1.1 Active Characters ::::::::::::::::::::::::::::::::::::::: 123 8.1.2 One Macro Call ::::::::::::::::::::::::::::::::::::::::: 124 8.1.3 Quoting and Parameters :::::::::::::::::::::::::::::::: 125 8.1.4 Quotation and Nested Macros ::::::::::::::::::::::::::: 126 8.1.5 changequote is Evil::::::::::::::::::::::::::::::::::::: 127 8.1.6 Quadrigraphs ::::::::::::::::::::::::::::::::::::::::::: 128 8.1.7 Dealing with unbalanced parentheses :::::::::::::::::::: 129 8.1.8 Quotation Rule Of Thumb :::::::::::::::::::::::::::::: 131 8.2 Using autom4te:::::::::::::::::::::::::::::::::::::::::::::: 132 8.2.1 Invoking autom4te :::::::::::::::::::::::::::::::::::::: 132 8.2.2 Customizing autom4te :::::::::::::::::::::::::::::::::: 136 8.3 Programming in M4sugar :::::::::::::::::::::::::::::::::::: 137 8.3.1 Redefined M4 Macros ::::::::::::::::::::::::::::::::::: 137 8.3.2 Diagnostic messages from M4sugar :::::::::::::::::::::: 140 8.3.3 Diversion support ::::::::::::::::::::::::::::::::::::::: 141 8.3.4 Conditional constructs :::::::::::::::::::::::::::::::::: 144 8.3.5 Looping constructs :::::::::::::::::::::::::::::::::::::: 147 8.3.6 Evaluation Macros :::::::::::::::::::::::::::::::::::::: 151 8.3.7 String manipulation in M4 :::::::::::::::::::::::::::::: 155 8.3.8 Arithmetic computation in M4 :::::::::::::::::::::::::: 158 8.3.9 Set manipulation in M4 ::::::::::::::::::::::::::::::::: 160 8.3.10 Forbidden Patterns :::::::::::::::::::::::::::::::::::: 164 8.4 Debugging via autom4te ::::::::::::::::::::::::::::::::::::: 164 iv Autoconf 9 Programming in M4sh ::::::::::::::::::::::: 167 9.1 Common Shell Constructs:::::::::::::::::::::::::::::::::::: 167 9.2 Support for indirect variable names :::::::::::::::::::::::::: 170 9.3 Initialization Macros ::::::::::::::::::::::::::::::::::::::::: 173 9.4 File Descriptor Macros ::::::::::::::::::::::::::::::::::::::: 175 10 Writing Autoconf Macros :::::::::::::::::: 177 10.1 Macro Definitions ::::::::::::::::::::::::::::::::::::::::::: 177 10.2 Macro Names ::::::::::::::::::::::::::::::::::::::::::::::: 178 10.3 Reporting Messages ::::::::::::::::::::::::::::::::::::::::: 179 10.4 Dependencies
Recommended publications
  • Glibc and System Calls Documentation Release 1.0
    Glibc and System Calls Documentation Release 1.0 Rishi Agrawal <[email protected]> Dec 28, 2017 Contents 1 Introduction 1 1.1 Acknowledgements...........................................1 2 Basics of a Linux System 3 2.1 Introduction...............................................3 2.2 Programs and Compilation........................................3 2.3 Libraries.................................................7 2.4 System Calls...............................................7 2.5 Kernel.................................................. 10 2.6 Conclusion................................................ 10 2.7 References................................................ 11 3 Working with glibc 13 3.1 Introduction............................................... 13 3.2 Why this chapter............................................. 13 3.3 What is glibc .............................................. 13 3.4 Download and extract glibc ...................................... 14 3.5 Walkthrough glibc ........................................... 14 3.6 Reading some functions of glibc ................................... 17 3.7 Compiling and installing glibc .................................... 18 3.8 Using new glibc ............................................ 21 3.9 Conclusion................................................ 23 4 System Calls On x86_64 from User Space 25 4.1 Setting Up Arguements......................................... 25 4.2 Calling the System Call......................................... 27 4.3 Retrieving the Return Value......................................
    [Show full text]
  • Version 7.8-Systemd
    Linux From Scratch Version 7.8-systemd Created by Gerard Beekmans Edited by Douglas R. Reno Linux From Scratch: Version 7.8-systemd by Created by Gerard Beekmans and Edited by Douglas R. Reno Copyright © 1999-2015 Gerard Beekmans Copyright © 1999-2015, Gerard Beekmans All rights reserved. This book is licensed under a Creative Commons License. Computer instructions may be extracted from the book under the MIT License. Linux® is a registered trademark of Linus Torvalds. Linux From Scratch - Version 7.8-systemd Table of Contents Preface .......................................................................................................................................................................... vii i. Foreword ............................................................................................................................................................. vii ii. Audience ............................................................................................................................................................ vii iii. LFS Target Architectures ................................................................................................................................ viii iv. LFS and Standards ............................................................................................................................................ ix v. Rationale for Packages in the Book .................................................................................................................... x vi. Prerequisites
    [Show full text]
  • GNU Astronomy Utilities
    GNU Astronomy Utilities Astronomical data manipulation and analysis programs and libraries for version 0.15.58-2b10e, 23 September 2021 Mohammad Akhlaghi Gnuastro (source code, book and web page) authors (sorted by number of commits): Mohammad Akhlaghi ([email protected], 1812) Pedram Ashofteh Ardakani ([email protected], 54) Raul Infante-Sainz ([email protected], 34) Mos`eGiordano ([email protected], 29) Vladimir Markelov ([email protected], 18) Sachin Kumar Singh ([email protected], 13) Zahra Sharbaf ([email protected], 12) Nat´aliD. Anzanello ([email protected], 8) Boud Roukema ([email protected], 7) Carlos Morales-Socorro ([email protected], 3) Th´er`eseGodefroy ([email protected], 3) Joseph Putko ([email protected], 2) Samane Raji ([email protected], 2) Alexey Dokuchaev ([email protected], 1) Andreas Stieger ([email protected], 1) Fran¸coisOchsenbein ([email protected], 1) Kartik Ohri ([email protected], 1) Leindert Boogaard ([email protected], 1) Lucas MacQuarrie ([email protected], 1) Madhav Bansal ([email protected], 1) Miguel de Val-Borro ([email protected], 1) Sepideh Eskandarlou ([email protected], 1) This book documents version 0.15.58-2b10e of the GNU Astronomy Utilities (Gnuastro). Gnuastro provides various programs and libraries for astronomical data manipulation and analysis. Copyright c 2015-2021, Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
    [Show full text]
  • Linux from Scratch 版本 R11.0-36-中⽂翻译版 发布于 2021 年 9 ⽉ 21 ⽇
    Linux From Scratch 版本 r11.0-36-中⽂翻译版 发布于 2021 年 9 ⽉ 21 ⽇ 由 Gerard Beekmans 原著 总编辑:Bruce Dubbs Linux From Scratch: 版本 r11.0-36-中⽂翻译版 : 发布于 2021 年 9 ⽉ 21 ⽇ 由 由 Gerard Beekmans 原著和总编辑:Bruce Dubbs 版权所有 © 1999-2021 Gerard Beekmans 版权所有 © 1999-2021, Gerard Beekmans 保留所有权利。 本书依照 Creative Commons License 许可证发布。 从本书中提取的计算机命令依照 MIT License 许可证发布。 Linux® 是Linus Torvalds 的注册商标。 Linux From Scratch - 版本 r11.0-36-中⽂翻译版 ⽬录 序⾔ .................................................................................................................................... viii i. 前⾔ ............................................................................................................................ viii ii. 本书⾯向的读者 ............................................................................................................ viii iii. LFS 的⽬标架构 ............................................................................................................ ix iv. 阅读本书需要的背景知识 ................................................................................................. ix v. LFS 和标准 ..................................................................................................................... x vi. 本书选择软件包的逻辑 .................................................................................................... xi vii. 排版约定 .................................................................................................................... xvi viii. 本书结构 .................................................................................................................
    [Show full text]
  • Pulse Connect Secure 8.2R5 Attributions
    Pulse Connect Secure 8.2R5 Attributions Revision Date 08/18/16 © 2016 by Pulse Secure, LLC. All rights reserved 1 Pulse Connect Secure 8.2R3 Attributions Pulse Secure, LLC 2700 Zanker Road, Suite 200 San Jose, CA 95134 http://www.pulsesecure.net © 2016 by Pulse Secure, LLC. All rights reserved Pulse Secure and the Pulse Secure logo are trademarks of Pulse Secure, LLC in the United States. All other trademarks, service marks, registered trademarks, or registered service marks are the property of their respective owners. Pulse Secure, LLC assumes no responsibility for any inaccuracies in this document. Pulse Secure, LLC reserves the right to change, modify, transfer, or otherwise revise this publication without notice. Pulse Policy Secure Enterprise Guest Access Solution Configuration Guide The information in this document is current as of the date on the title page. END USER LICENSE AGREEMENT The Pulse Secure product that is the subject of this technical documentation consists of (or is intended for use with) Pulse Secure software. Use of such software is subject to the terms and conditions of the End User License Agreement (“EULA”) posted at http://www.pulsesecure.net/support/eula. By downloading, installing or using such software, you agree to the terms and conditions of that EULA. © 2016 by Pulse Secure, LLC. All rights reserved 2 Pulse Connect Secure 8.2R5 Attributions Table of Contents This document contains information on the following products or licenses: Table of Contents .....................................................................................................................................
    [Show full text]
  • Pipenightdreams Osgcal-Doc Mumudvb Mpg123-Alsa Tbb
    pipenightdreams osgcal-doc mumudvb mpg123-alsa tbb-examples libgammu4-dbg gcc-4.1-doc snort-rules-default davical cutmp3 libevolution5.0-cil aspell-am python-gobject-doc openoffice.org-l10n-mn libc6-xen xserver-xorg trophy-data t38modem pioneers-console libnb-platform10-java libgtkglext1-ruby libboost-wave1.39-dev drgenius bfbtester libchromexvmcpro1 isdnutils-xtools ubuntuone-client openoffice.org2-math openoffice.org-l10n-lt lsb-cxx-ia32 kdeartwork-emoticons-kde4 wmpuzzle trafshow python-plplot lx-gdb link-monitor-applet libscm-dev liblog-agent-logger-perl libccrtp-doc libclass-throwable-perl kde-i18n-csb jack-jconv hamradio-menus coinor-libvol-doc msx-emulator bitbake nabi language-pack-gnome-zh libpaperg popularity-contest xracer-tools xfont-nexus opendrim-lmp-baseserver libvorbisfile-ruby liblinebreak-doc libgfcui-2.0-0c2a-dbg libblacs-mpi-dev dict-freedict-spa-eng blender-ogrexml aspell-da x11-apps openoffice.org-l10n-lv openoffice.org-l10n-nl pnmtopng libodbcinstq1 libhsqldb-java-doc libmono-addins-gui0.2-cil sg3-utils linux-backports-modules-alsa-2.6.31-19-generic yorick-yeti-gsl python-pymssql plasma-widget-cpuload mcpp gpsim-lcd cl-csv libhtml-clean-perl asterisk-dbg apt-dater-dbg libgnome-mag1-dev language-pack-gnome-yo python-crypto svn-autoreleasedeb sugar-terminal-activity mii-diag maria-doc libplexus-component-api-java-doc libhugs-hgl-bundled libchipcard-libgwenhywfar47-plugins libghc6-random-dev freefem3d ezmlm cakephp-scripts aspell-ar ara-byte not+sparc openoffice.org-l10n-nn linux-backports-modules-karmic-generic-pae
    [Show full text]
  • GNU Gnulib Updated $Date: 2004/09/29 10:58:47 $
    GNU Gnulib updated $Date: 2004/09/29 10:58:47 $ [email protected] This manual is for GNU Gnulib (updated $Date: 2004/09/29 10:58:47 $), which is a library of common routines intended to be shared at the source level. Copyright c 2004 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with the Front-Cover Texts being “A GNU Manual,” and with the Back-Cover Texts as in (a) below. A copy of the license is included in the section entitled “GNU Free Documentation License.” (a) The FSF’s Back-Cover Text is: “You have freedom to copy and modify this GNU Manual, like GNU software. Copies published by the Free Software Foundation raise funds for GNU development.” i Table of Contents 1 Gnulib .................................... 1 1.1 Comments .................................................. 1 1.2 Header files ................................................. 1 1.3 ctime ....................................................... 2 1.4 inet ntoa ................................................... 2 1.5 Out of memory handling ..................................... 2 2 Invoking gnulib-tool........................ 4 2.1 Initial import ............................................... 4 2.2 Importing updated files ...................................... 6 2.3 Finishing touches............................................ 6 Appendix A Copying This Manual ........... 8 A.1 GNU Free Documentation License ........................... 8 A.1.1 ADDENDUM: How to use this License for your documents ........................................................ 14 Index ....................................... 15 Chapter 1: Gnulib 1 1 Gnulib This is not a real manual. It’s just a place to store random notes until someone (you?) gets around to actually writing a manual.
    [Show full text]
  • Inference of Static Semantics for Incomplete C Programs∗
    Inference of Static Semantics for Incomplete C Programs∗ LEANDRO T. C. MELO, UFMG, Brazil RODRIGO G. RIBEIRO, UFOP, Brazil MARCUS R. DE ARAÚJO, UFMG, Brazil FERNANDO MAGNO QUINTÃO PEREIRA, UFMG, Brazil Incomplete source code naturally emerges in software development: during the design phase, while evolving, testing and analyzing programs. Therefore, the ability to understand partial programs is a valuable asset. However, this problem is still unsolved in the C programming language. Difficulties stem from the fact that parsing C requires, not only syntax, but also semantic information. Furthermore, inferring types so that they respect C’s type system is a challenging task. In this paper we present a technique that lets us solve these problems. We provide a unification-based type inference capable of dealing with C intricacies. The ideaswe present let us reconstruct partial C programs into complete well-typed ones. Such program reconstruction has several applications: enabling static analysis tools in scenarios where software components may be absent; improving static analysis tools that do not rely on build-specifications; allowing stub-generation and testing tools to work on snippets; and assisting programmers on the extraction of reusable data-structures out of the program parts that use them. Our evaluation is performed on source code from a variety of C libraries such as GNU’s Coreutils, GNULib, GNOME’s GLib, and GDSL; on implementations from Sedgewick’s books; and on snippets from popular open-source projects like CPython, FreeBSD, and Git. CCS Concepts: • Theory of computation → Type structures; Type theory; Program analysis; Parsing; • Software and its engineering → Source code generation; Constraints; Syntax; Parsers; Additional Key Words and Phrases: Partial Programs, Parsing, Type Inference, C Language ACM Reference Format: Leandro T.
    [Show full text]
  • Guix, Functional Package Management for the People
    Guix, Functional Package Management for the People Ludovic Courtes` [email protected] GNU Hackers Meeting, July 2012, Dusseldorf¨ GNUten Tag, Dusseldorf!¨ GNUten Tag, Dusseldorf!¨ I functional package manager! I written in Guile Scheme! I a new programming layer for Nix I Nix? what’s Guix? http://gitorious.org/guix/ I it’s the new thing! I IPA: /gi:ks/ I written in Guile Scheme! I a new programming layer for Nix I Nix? what’s Guix? http://gitorious.org/guix/ I it’s the new thing! I IPA: /gi:ks/ I functional package manager! I a new programming layer for Nix I Nix? what’s Guix? http://gitorious.org/guix/ I it’s the new thing! I IPA: /gi:ks/ I functional package manager! I written in Guile Scheme! I Nix? what’s Guix? http://gitorious.org/guix/ I it’s the new thing! I IPA: /gi:ks/ I functional package manager! I written in Guile Scheme! I a new programming layer for Nix what’s Guix? http://gitorious.org/guix/ I it’s the new thing! I IPA: /gi:ks/ I functional package manager! I written in Guile Scheme! I a new programming layer for Nix I Nix? but the one i use works great too! I functional, again? I of course it does! more on this later... so what’s Nix? http://nixos.org/nix/ I a functional package manager but the one i use works great too! I of course it does! more on this later... so what’s Nix? http://nixos.org/nix/ I a functional package manager I functional, again? I of course it does! more on this later..
    [Show full text]
  • GNU Coreutils Core GNU Utilities for Version 9.0, 20 September 2021
    GNU Coreutils Core GNU utilities for version 9.0, 20 September 2021 David MacKenzie et al. This manual documents version 9.0 of the GNU core utilities, including the standard pro- grams for text and file manipulation. Copyright c 1994{2021 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the section entitled \GNU Free Documentation License". i Short Contents 1 Introduction :::::::::::::::::::::::::::::::::::::::::: 1 2 Common options :::::::::::::::::::::::::::::::::::::: 2 3 Output of entire files :::::::::::::::::::::::::::::::::: 12 4 Formatting file contents ::::::::::::::::::::::::::::::: 22 5 Output of parts of files :::::::::::::::::::::::::::::::: 29 6 Summarizing files :::::::::::::::::::::::::::::::::::: 41 7 Operating on sorted files ::::::::::::::::::::::::::::::: 47 8 Operating on fields ::::::::::::::::::::::::::::::::::: 70 9 Operating on characters ::::::::::::::::::::::::::::::: 80 10 Directory listing:::::::::::::::::::::::::::::::::::::: 87 11 Basic operations::::::::::::::::::::::::::::::::::::: 102 12 Special file types :::::::::::::::::::::::::::::::::::: 125 13 Changing file attributes::::::::::::::::::::::::::::::: 135 14 File space usage ::::::::::::::::::::::::::::::::::::: 143 15 Printing text :::::::::::::::::::::::::::::::::::::::
    [Show full text]
  • GNU Coreutils Red Hat Ondˇrejvaˇs´Ikand Kamil Dudka 2009-09-11
    GNU coreutils Red Hat OndˇrejVaˇs´ıkand Kamil Dudka 2009-09-11 Abstract Set of core utilities for shell script usage and command line operations. At the moment there is aproximately 100 utilities and the number is still rising. History of GNU coreutils Project started in September 2002 by merging of Fileutils, Shellutils and Textutils projects. GNU coreutils and gnulib GNU coreutils tarball consists from two separate projects: 1 GNU coreutils higher level source code of common utilities http://www.gnu.org/software/coreutils 2 gnulib GNU portability library used by other GNU projects as well (e.g. findutils) http://www.gnu.org/software/gnulib Section 1 Development of GNU coreutils Development of GNU coreutils Basic characteristics of the coreutils project Conservative some things kept because of historical reasons hard to justify new options in common utilities Strict solution has to be as portable as possible otherwise very likely rejected Progressive 1st project to require automake 1.11 for build of stable release 1st project to distribute tarballs in lzma format (and now in xz) instead of bzip2 Development of GNU coreutils Development of GNU coreutils Maintainers Jim Meyering, Paul Eggert, P´adraigBrady, Eric Blake, ... relatively small amount of contributors (so far only 65) only 7 contributors with more than 20 commits Finished? No! Approx. 30 commits per month... Development of GNU coreutils Opened tasks better xattrs, ACL and SELinux support multibyte (i18n) support documentation improvement performance improvement memory consumption improvement new features few segfaults, nothing is perfect obscure date formats (simple Bison parser resolves date) obscure situations/options are not always handled correctly Section 2 Development of gnulib Development of gnulib Development of gnulib Maintainers Jim Meyering, Bruno Haible, Paul Eggert, Karl Berry, Simon Josefsson, Eric Blake, ..
    [Show full text]
  • Unix Et Programmation Shell
    Unix et Programmation Shell Philippe Langevin d´epartment d'informatique UFR sciences et technique universit´edu sud Toulon Var Automne 2013 Philippe Langevin (imath/ustv) Unix et Programmation Shell Automne 2013 1 / 33 document brouillon en r´evision site du cours : http://langevin.univ-tln.fr/cours/UPS/upsh.html localisation du fichier : http://langevin.univ-tln.fr/cours/UPS/doc/intro.pdf Philippe Langevin (imath/ustv) Unix et Programmation Shell Automne 2013 2 / 33 derni`eresmodifications intro.tex 2013-06-23 10:07:23.697660496 +0200 macros.tex 2013-06-22 23:42:16.868263946 +0200 prologue.tex 2013-06-22 22:10:45.967471216 +0200 upsh.tex 2013-06-22 11:24:27.941744751 +0200 tools.tex 2013-06-22 11:24:27.940741957 +0200 term.tex 2013-06-22 11:24:27.934741399 +0200 syntaxe.tex 2013-06-22 11:24:27.931741678 +0200 proc.tex 2013-06-22 11:24:27.927741678 +0200 piped.tex 2013-06-22 11:24:27.922741399 +0200 perm.tex 2013-06-22 11:24:27.921741678 +0200 part.tex 2013-06-22 11:24:27.918742237 +0200 man.tex 2013-06-22 11:24:27.911741957 +0200 langage.tex 2013-06-23 10:04:58.364659987 +0200 file.tex 2013-06-22 11:24:27.896741119 +0200 dup.tex 2013-06-22 11:24:27.885741678 +0200 fic.tex 2013-06-22 11:24:27.885741678 +0200 bash.tex 2013-06-22 11:24:27.881741957 +0200 Philippe Langevin (imath/ustv) Unix et Programmation Shell Automne 2013 3 / 33 shell unix 1 - shell unix origine unices GNU/linux distribution shell unix GUI vs CLI exemple Philippe Langevin (imath/ustv) Unix et Programmation Shell Automne 2013 4 / 33 1969 Ken Thompson cr´eele syst`eme UNICS 1971 Dennis Ritchie cr´ee Le langage C utile pour le d´eveloppement d'unix.
    [Show full text]