Getting Down to the Basics

GMime 2.6 tutorial
Prev |  | Next

# Chapter 4. Getting Down to the Basics

# 4.1. Compiling

The first thing you need to learn how to do is compile your program with the proper compiler flags so that your program will include the correct GMime headers and linker flags.

To compile and link a simple program, you'll want to do the following:

`gcc -g -Wall -o simple simple.c `pkg-config --cflags --libs gmime-2.4``

Prev | Home | Next
Getting Started |  | GMimeStream Basics