~ubuntu-branches/debian/squeeze/glib2.0/squeeze

« back to all changes in this revision

Viewing changes to docs/reference/glib/html/glib-cross-compiling.html

  • Committer: Bazaar Package Importer
  • Author(s): Gustavo Noronha Silva
  • Date: 2009-02-15 13:00:43 UTC
  • mfrom: (1.3.1 upstream) (69.1.10 intrepid)
  • Revision ID: james.westby@ubuntu.com-20090215130043-q47fbt3owmt42m2f
Tags: 2.18.4-2
* Release to unstable
* debian/rules:
- bump SHVER, since we are already forcing a 2.18.0 dependecy on the
  symbols introduced in the development versions
* debian/control.in:
- added Homepage and Vcs-* control fields

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
2
<html>
3
3
<head>
4
 
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
 
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>Cross-compiling the GLib package</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
7
 
<link rel="start" href="index.html" title="GLib Reference Manual">
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.74.0">
 
7
<link rel="home" href="index.html" title="GLib Reference Manual">
8
8
<link rel="up" href="glib.html" title="GLib Overview">
9
9
<link rel="prev" href="glib-building.html" title="Compiling the GLib package">
10
10
<link rel="next" href="glib-compiling.html" title="Compiling GLib Applications">
11
 
<meta name="generator" content="GTK-Doc V1.9 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
<link rel="chapter" href="glib.html" title="GLib Overview">
14
14
<link rel="chapter" href="glib-fundamentals.html" title="GLib Fundamentals">
26
26
<link rel="index" href="ix08.html" title="Index of new symbols in 2.12">
27
27
<link rel="index" href="ix09.html" title="Index of new symbols in 2.14">
28
28
<link rel="index" href="ix10.html" title="Index of new symbols in 2.16">
 
29
<link rel="index" href="ix11.html" title="Index of new symbols in 2.18">
29
30
</head>
30
31
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
31
32
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
40
41
<div class="refnamediv"><table width="100%"><tr>
41
42
<td valign="top">
42
43
<h2><span class="refentrytitle">Cross-compiling the GLib package</span></h2>
43
 
<p>Cross-compiling the GLib Package &#8212; 
 
44
<p>Cross-compiling the GLib Package — 
44
45
How to cross-compile GLib
45
46
</p>
46
47
</td>
92
93
</div>
93
94
<div class="refsect1" lang="en">
94
95
<a name="cache-file-variables"></a><h2>Cache file variables</h2>
95
 
<p><b>glib_cv_long_long_format=[ll/q/I64].&#160;</b>
 
96
<p><b>glib_cv_long_long_format=[ll/q/I64]. </b>
96
97
           Format used by <code class="function">printf()</code> and 
97
98
           <code class="function">scanf()</code> for 64 bit integers. "ll" is 
98
99
           the C99 standard, and what is used by the 'trio' library
100
101
           insufficiently capable.
101
102
           Doesn't need to be set if you are compiling using trio.
102
103
        </p>
103
 
<p><b>glib_cv_stack_grows=[yes/no].&#160;</b>
 
104
<p><b>glib_cv_stack_grows=[yes/no]. </b>
104
105
           Whether the stack grows up or down. Most places will want "no",
105
106
           A few architectures, such as PA-RISC need "yes".
106
107
        </p>
107
 
<p><b>glib_cv_working_bcopy=[yes/no].&#160;</b>
 
108
<p><b>glib_cv_working_bcopy=[yes/no]. </b>
108
109
           Whether your <code class="function">bcopy()</code> can handle overlapping 
109
110
           copies. Only needs to be set if you don't have 
110
111
           <code class="function">memmove()</code>. (Very unlikely)
111
112
        </p>
112
 
<p><b>glib_cv_sane_realloc=[yes/np].&#160;</b>  
 
113
<p><b>glib_cv_sane_realloc=[yes/np]. </b>  
113
114
            Whether your <code class="function">realloc()</code> conforms to ANSI C 
114
115
            and can handle <code class="literal">NULL</code> as the first argument. 
115
116
            Defaults to "yes" and probably doesn't need to be set.
116
117
        </p>
117
 
<p><b>glib_cv_have_strlcpy=[yes/no].&#160;</b>
 
118
<p><b>glib_cv_have_strlcpy=[yes/no]. </b>
118
119
            Whether you have <code class="function">strlcpy()</code> that matches 
119
120
            OpenBSD. Defaults to "no", which is safe, since GLib uses a 
120
121
            built-in version in that case.
121
122
        </p>
122
 
<p><b>glib_cv_va_val_copy=[yes/no].&#160;</b>
 
123
<p><b>glib_cv_va_val_copy=[yes/no]. </b>
123
124
            Whether <span class="type">va_list</span> can be copied as a pointer. If set 
124
125
            to "no", then <code class="function">memcopy()</code> will be used. Only 
125
126
            matters if you don't have <code class="function">va_copy()</code> or 
126
127
            <code class="function">__va_copy()</code>. (So, doesn't matter for GCC.) 
127
128
            Defaults to "yes" which is slightly more common than "no".
128
129
        </p>
129
 
<p><b>glib_cv_rtldglobal_broken=[yes/no].&#160;</b>
 
130
<p><b>glib_cv_rtldglobal_broken=[yes/no]. </b>
130
131
            Whether you have a bug found in OSF/1 v5.0. Defaults to "no".
131
132
         </p>
132
 
<p><b>glib_cv_uscore=[yes/no].&#160;</b>
 
133
<p><b>glib_cv_uscore=[yes/no]. </b>
133
134
            Whether an underscore needs to be prepended to symbols when
134
135
            looking them up via <code class="function">dlsym()</code>. Only needs to 
135
136
            be set if your system uses
136
137
            <code class="function">dlopen()</code>/<code class="function">dlsym()</code>.
137
138
         </p>
138
 
<p><b>ac_cv_func_posix_getpwuid_r=[yes/no].&#160;</b>
 
139
<p><b>ac_cv_func_posix_getpwuid_r=[yes/no]. </b>
139
140
            Whether you have a getpwuid_r function (in your C library,
140
141
            not your thread library) that conforms to the POSIX spec.
141
142
            (Takes a 'struct passwd **' as the final argument)
142
143
         </p>
143
 
<p><b>ac_cv_func_nonposix_getpwuid_r=[yes/no].&#160;</b>
 
144
<p><b>ac_cv_func_nonposix_getpwuid_r=[yes/no]. </b>
144
145
            Whether you have some variant of <code class="function">getpwuid_r()</code>
145
146
            that doesn't conform to to the POSIX spec, but GLib might be able
146
147
            to use (or might segfault.) Only needs to be set if 
147
148
            <code class="literal">ac_cv_func_posix_getpwuid_r</code> is not set. It's 
148
149
            safest to set this to "no".
149
150
         </p>
150
 
<p><b>glib_cv_use_pid_surrogate=[yes/no].&#160;</b>
 
151
<p><b>glib_cv_use_pid_surrogate=[yes/no]. </b>
151
152
            Whether to use a <code class="function">setpriority()</code> on the PID of 
152
153
            the thread as a method for setting the priority of threads. This 
153
154
            only needs to be set when using POSIX threads.
154
155
         </p>
155
 
<p><b>ac_cv_func_printf_unix98=[yes/no].&#160;</b>
 
156
<p><b>ac_cv_func_printf_unix98=[yes/no]. </b>
156
157
           Whether your <code class="function">printf()</code> family supports Unix98 
157
158
           style <code class="literal">%N$</code> positional parameters. Defaults to
158
159
        "no".
159
160
         </p>
160
 
<p><b>ac_cv_func_vsnprintf_c99=[yes/no].&#160;</b>
 
161
<p><b>ac_cv_func_vsnprintf_c99=[yes/no]. </b>
161
162
            Whether you have a <code class="function">vsnprintf()</code> with C99 
162
163
            semantics. (C99 semantics means returning the number of bytes 
163
164
            that would have been written had the output buffer had enough 
165
166
         </p>
166
167
</div>
167
168
</div>
 
169
<div class="footer">
 
170
<hr>
 
171
          Generated by GTK-Doc V1.11</div>
168
172
</body>
169
173
</html>