Anjuta build tutorial
Copyright © 2004 Olivier Pinçon
Copyright © 2008 Sébastien Granjoux
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, no Front-Cover Texts, and no Back-Cover Texts. You may obtain a copy of the GNU Free Documentation License from the Free Software Foundation by visiting their Web site or by writing to: Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
Many of the names used by companies to distinguish their products and services are claimed as trademarks. Where those names appear in any GNOME documentation, and those trademarks are made aware to the members of the GNOME Documentation Project, the names have been printed in caps or initial caps.
- Table of Contents
- 1. Introduction
- 2. Building a project
- 2.1. Using GCC
- 2.1.1. Preprocessor
- 2.1.2. Compiler
- 2.1.3. Assembler
- 2.1.4. Linker
- 2.2. Using make
- 2.3. Using Autotools
- 2.3.1. Input files
- 2.3.2. Configure
- 2.3.3. make
- 2.4. Using Anjuta
- 2.4.1. Configure
- 2.4.2. Menu items
- 2.4.3. Options
- 3. Creating a project
- 3.1. Using Autotools
- 3.1.1. Write sources
- 3.1.2. Run Autoconf
- 3.1.3. Run Automake
- 3.1.4. Build project
- 3.1.5. Clean project
- 3.1.6. Generate project
- 3.2. Using Anjuta
- 3.2.1. Create a new project
- 3.2.2. Looking at configure.ac
- 3.2.3. Looking at Makefile.am
- 4. Adding a library
- 4.1. Using Autotools
- 4.1.1. With pkg-config
- 4.1.2. With an Autoconf macro
- 4.1.3. With hardcoded library path
- 4.2. Using Anjuta
- 4.2.1. With pkg-config
- 4.2.2. Without pkg-config
- 5. Resources
- List of Figures
- 2-1. GCC compilation stage
- 2-2. Configure process
- 2-3. Configure dialog
- 2-4. Build preferences
- 3-1. Autotools process
- 3-2. Project selection page
- 3-3. Project basic information page
- 3-4. Project options page
- 3-5. Project summary page
- 3-6. Project creation messages
- 4-1. Project package properties dialog
- 4-2. Target properties dialog
- List of Examples
- 2-1. A simple Makefile file
- 3-1. main.c:
- 3-2. minimal configure.ac:
- 3-3. minimal Makefile.am:
- 3-4. Anjuta minimal configure.ac:
- 3-5. Anjuta minimal Makefile.am:
- 4-1. main.c using libxml2:
- 4-2. main.c using libxml2:
| Next | ||
| Introduction |