diff options
Diffstat (limited to 'doc/developer/reference-html/x67.html')
-rw-r--r-- | doc/developer/reference-html/x67.html | 32 |
1 files changed, 19 insertions, 13 deletions
diff --git a/doc/developer/reference-html/x67.html b/doc/developer/reference-html/x67.html index 425a70b..db78e88 100644 --- a/doc/developer/reference-html/x67.html +++ b/doc/developer/reference-html/x67.html @@ -1,14 +1,14 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"> +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML ><HEAD ><TITLE >Linking with libgutenprint</TITLE ><META NAME="GENERATOR" -CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK +CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK REL="HOME" TITLE="The Developer's Guide to Gutenprint" -HREF="index.html"><LINK +HREF="book1.html"><LINK REL="UP" TITLE="Using libgutenprint" HREF="c48.html"><LINK @@ -17,14 +17,11 @@ TITLE="Using libgutenprint" HREF="c48.html"><LINK REL="NEXT" TITLE="Integrating libgutenprint" -HREF="x79.html"></HEAD +HREF="x79.html"><META +http-equiv="Content-Type" +content="text/html; charset=UTF-8"></HEAD ><BODY CLASS="sect1" -BGCOLOR="#FFFFFF" -TEXT="#000000" -LINK="#0000FF" -VLINK="#840084" -ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE @@ -74,13 +71,13 @@ CLASS="sect1" CLASS="sect1" ><A NAME="AEN67" ->2.2. Linking with libgutenprint</A +>Linking with libgutenprint</A ></H1 ><P > To link a program with libgutenprint, the option - <CODE + <VAR CLASS="option" ->-lgutenprint</CODE +>-lgutenprint</VAR > needs to be passed to the compiler when linking. For example, to compile and link <TT @@ -89,6 +86,12 @@ CLASS="filename" > the following commands would be used: </P +><TABLE +BORDER="0" +BGCOLOR="#E0E0E0" +WIDTH="100%" +><TR +><TD ><PRE CLASS="screen" ><SAMP @@ -105,6 +108,9 @@ CLASS="prompt" CLASS="userinput" >gcc -o stpimage -lgutenprint stpimage.o</KBD ></PRE +></TD +></TR +></TABLE ><P > The compiler and linker flags needed may vary depending on the options Gutenprint was configured with when it was built. The @@ -140,7 +146,7 @@ WIDTH="34%" ALIGN="center" VALIGN="top" ><A -HREF="index.html" +HREF="book1.html" ACCESSKEY="H" >Home</A ></TD |