<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Cross-compiling the GLib package</title>
-<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="GLib Reference Manual">
<link rel="up" href="glib.html" title="GLib Overview">
<link rel="prev" href="glib-building.html" title="Compiling the GLib package">
<link rel="next" href="glib-compiling.html" title="Compiling GLib Applications">
-<meta name="generator" content="GTK-Doc V1.13 (XML mode)">
+<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
-<link rel="chapter" href="glib.html" title="GLib Overview">
-<link rel="chapter" href="glib-fundamentals.html" title="GLib Fundamentals">
-<link rel="chapter" href="glib-core.html" title="GLib Core Application Support">
-<link rel="chapter" href="glib-utilities.html" title="GLib Utilities">
-<link rel="chapter" href="glib-data-types.html" title="GLib Data Types">
-<link rel="chapter" href="tools.html" title="GLib Tools">
-<link rel="index" href="api-index-full.html" title="Index">
-<link rel="index" href="api-index-deprecated.html" title="Index of deprecated symbols">
-<link rel="index" href="api-index-2-2.html" title="Index of new symbols in 2.2">
-<link rel="index" href="api-index-2-4.html" title="Index of new symbols in 2.4">
-<link rel="index" href="api-index-2-6.html" title="Index of new symbols in 2.6">
-<link rel="index" href="api-index-2-8.html" title="Index of new symbols in 2.8">
-<link rel="index" href="api-index-2-10.html" title="Index of new symbols in 2.10">
-<link rel="index" href="api-index-2-12.html" title="Index of new symbols in 2.12">
-<link rel="index" href="api-index-2-14.html" title="Index of new symbols in 2.14">
-<link rel="index" href="api-index-2-16.html" title="Index of new symbols in 2.16">
-<link rel="index" href="api-index-2-18.html" title="Index of new symbols in 2.18">
-<link rel="index" href="api-index-2-20.html" title="Index of new symbols in 2.20">
-<link rel="index" href="api-index-2-22.html" title="Index of new symbols in 2.22">
-<link rel="index" href="api-index-2-24.html" title="Index of new symbols in 2.24">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
<th width="100%" align="center">GLib Reference Manual</th>
<td><a accesskey="n" href="glib-compiling.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr></table>
-<div class="refentry" title="Cross-compiling the GLib package">
+<div class="refentry">
<a name="glib-cross-compiling"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
</td>
<td valign="top" align="right"></td>
</tr></table></div>
-<div class="refsect1" title="Building the Library for a different architecture">
+<div class="refsect1">
<a name="cross"></a><h2>Building the Library for a different architecture</h2>
<p>
Cross-compilation is the process of compiling a program or
of these won't need to be set in most cases.
</p>
</div>
-<div class="refsect1" title="Cache file variables">
+<div class="refsect1">
<a name="cache-file-variables"></a><h2>Cache file variables</h2>
-<p title="glib_cv_long_long_format=[ll/q/I64]"><b>glib_cv_long_long_format=[ll/q/I64]. </b>
+<p><b>glib_cv_long_long_format=[ll/q/I64]. </b>
Format used by <code class="function">printf()</code> and
<code class="function">scanf()</code> for 64 bit integers. "ll" is
the C99 standard, and what is used by the 'trio' library
insufficiently capable.
Doesn't need to be set if you are compiling using trio.
</p>
-<p title="glib_cv_stack_grows=[yes/no]"><b>glib_cv_stack_grows=[yes/no]. </b>
+<p><b>glib_cv_stack_grows=[yes/no]. </b>
Whether the stack grows up or down. Most places will want "no",
A few architectures, such as PA-RISC need "yes".
</p>
-<p title="glib_cv_working_bcopy=[yes/no]"><b>glib_cv_working_bcopy=[yes/no]. </b>
+<p><b>glib_cv_working_bcopy=[yes/no]. </b>
Whether your <code class="function">bcopy()</code> can handle overlapping
copies. Only needs to be set if you don't have
<code class="function">memmove()</code>. (Very unlikely)
</p>
-<p title="glib_cv_sane_realloc=[yes/np]"><b>glib_cv_sane_realloc=[yes/np]. </b>
+<p><b>glib_cv_sane_realloc=[yes/np]. </b>
Whether your <code class="function">realloc()</code> conforms to ANSI C
and can handle <code class="literal">NULL</code> as the first argument.
Defaults to "yes" and probably doesn't need to be set.
</p>
-<p title="glib_cv_have_strlcpy=[yes/no]"><b>glib_cv_have_strlcpy=[yes/no]. </b>
+<p><b>glib_cv_have_strlcpy=[yes/no]. </b>
Whether you have <code class="function">strlcpy()</code> that matches
OpenBSD. Defaults to "no", which is safe, since GLib uses a
built-in version in that case.
</p>
-<p title="glib_cv_va_val_copy=[yes/no]"><b>glib_cv_va_val_copy=[yes/no]. </b>
+<p><b>glib_cv_have_qsort_r=[yes/no]. </b>
+ Whether you have <code class="function">qsort_r()</code> that matches
+ BSD. Defaults to "no", which is safe, since GLib uses a
+ built-in version in that case.
+ </p>
+<p><b>glib_cv_va_val_copy=[yes/no]. </b>
Whether <span class="type">va_list</span> can be copied as a pointer. If set
to "no", then <code class="function">memcopy()</code> will be used. Only
matters if you don't have <code class="function">va_copy()</code> or
<code class="function">__va_copy()</code>. (So, doesn't matter for GCC.)
Defaults to "yes" which is slightly more common than "no".
</p>
-<p title="glib_cv_rtldglobal_broken=[yes/no]"><b>glib_cv_rtldglobal_broken=[yes/no]. </b>
+<p><b>glib_cv_rtldglobal_broken=[yes/no]. </b>
Whether you have a bug found in OSF/1 v5.0. Defaults to "no".
</p>
-<p title="glib_cv_uscore=[yes/no]"><b>glib_cv_uscore=[yes/no]. </b>
+<p><b>glib_cv_uscore=[yes/no]. </b>
Whether an underscore needs to be prepended to symbols when
looking them up via <code class="function">dlsym()</code>. Only needs to
be set if your system uses
<code class="function">dlopen()</code>/<code class="function">dlsym()</code>.
</p>
-<p title="ac_cv_func_posix_getpwuid_r=[yes/no]"><b>ac_cv_func_posix_getpwuid_r=[yes/no]. </b>
+<p><b>ac_cv_func_posix_getpwuid_r=[yes/no]. </b>
Whether you have a getpwuid_r function (in your C library,
not your thread library) that conforms to the POSIX spec.
(Takes a 'struct passwd **' as the final argument)
</p>
-<p title="ac_cv_func_nonposix_getpwuid_r=[yes/no]"><b>ac_cv_func_nonposix_getpwuid_r=[yes/no]. </b>
+<p><b>ac_cv_func_nonposix_getpwuid_r=[yes/no]. </b>
Whether you have some variant of <code class="function">getpwuid_r()</code>
that doesn't conform to to the POSIX spec, but GLib might be able
to use (or might segfault.) Only needs to be set if
<code class="literal">ac_cv_func_posix_getpwuid_r</code> is not set. It's
safest to set this to "no".
</p>
-<p title="ac_cv_func_posix_getgrgid_r=[yes/no]"><b>ac_cv_func_posix_getgrgid_r=[yes/no]. </b>
+<p><b>ac_cv_func_posix_getgrgid_r=[yes/no]. </b>
Whether you have a getgrgid_r function that conforms to
the POSIX spec.
</p>
-<p title="glib_cv_use_pid_surrogate=[yes/no]"><b>glib_cv_use_pid_surrogate=[yes/no]. </b>
+<p><b>glib_cv_use_pid_surrogate=[yes/no]. </b>
Whether to use a <code class="function">setpriority()</code> on the PID of
the thread as a method for setting the priority of threads. This
only needs to be set when using POSIX threads.
</p>
-<p title="ac_cv_func_printf_unix98=[yes/no]"><b>ac_cv_func_printf_unix98=[yes/no]. </b>
+<p><b>ac_cv_func_printf_unix98=[yes/no]. </b>
Whether your <code class="function">printf()</code> family supports Unix98
style <code class="literal">%N$</code> positional parameters. Defaults to
"no".
</p>
-<p title="ac_cv_func_vsnprintf_c99=[yes/no]"><b>ac_cv_func_vsnprintf_c99=[yes/no]. </b>
+<p><b>ac_cv_func_vsnprintf_c99=[yes/no]. </b>
Whether you have a <code class="function">vsnprintf()</code> with C99
semantics. (C99 semantics means returning the number of bytes
that would have been written had the output buffer had enough
</div>
<div class="footer">
<hr>
- Generated by GTK-Doc V1.13</div>
+ Generated by GTK-Doc V1.18</div>
</body>
</html>
\ No newline at end of file