2024-04-27 16:13:48 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
|
|
<!ENTITY % general-entities SYSTEM "../../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
|
|
|
<!ENTITY mingw-w64-download-http "https://sourceforge.net/projects/mingw-w64/files/mingw-w64/mingw-w64-release/mingw-w64-v&mingw-w64-version;.tar.bz2">
|
|
|
|
<!ENTITY mingw-w64-download-ftp " ">
|
|
|
|
]>
|
|
|
|
|
|
|
|
<sect1 id="mingw-w64-headers" xreflabel="MinGW-w64-headers-&mingw-w64-version;">
|
|
|
|
<?dbhtml filename="mingw-w64-headers.html"?>
|
|
|
|
|
|
|
|
|
|
|
|
<title>MinGW-w64-headers-&mingw-w64-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="mingw-w64-headers">
|
|
|
|
<primary sortas="a-mingw-w64-headers">mingw-w64-headers</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to MinGW-w64-headers</title>
|
|
|
|
|
|
|
|
<para>
|
2024-09-24 18:57:33 +08:00
|
|
|
MinGW-w64-headers provides header files for Windows. The rest of the
|
|
|
|
MinGW-w64 will be compiled later.
|
2024-04-27 16:13:48 +08:00
|
|
|
</para>
|
|
|
|
|
2024-10-19 02:39:05 +08:00
|
|
|
|
2024-04-27 16:13:48 +08:00
|
|
|
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download (HTTP): <ulink url="&mingw-w64-download-http;"/>
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
Download (FTP): <ulink url="&mingw-w64-download-ftp;"/>
|
|
|
|
</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of MinGW-w64-headers</title>
|
|
|
|
|
|
|
|
<sect3>
|
|
|
|
<title>x86_64 MinGW-w64-headers</title>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
Install x86_64 <application>MinGW-w64-headers</application>
|
|
|
|
by running the following commands:
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<screen><userinput>mkdir build-x86_64-headers &&
|
|
|
|
cd build-x86_64-headers
|
|
|
|
|
|
|
|
../mingw-w64-headers/configure --prefix=/usr/x86_64-w64-mingw32 \
|
|
|
|
--enable-sdk=all \
|
|
|
|
--host=x86_64-w64-mingw32</userinput></screen>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
|
|
|
|
2024-09-24 18:57:33 +08:00
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
2024-04-27 16:13:48 +08:00
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3>
|
|
|
|
<title>i686 MinGW-w64-headers</title>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
Install i686 <application>MinGW-w64-headers</application>
|
|
|
|
by running the following commands:
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<screen><userinput>mkdir build-i686-headers &&
|
|
|
|
cd build-i686-headers
|
|
|
|
|
|
|
|
../mingw-w64-headers/configure --prefix=/usr/i686-w64-mingw32 \
|
|
|
|
--enable-sdk=all \
|
|
|
|
--host=i686-w64-mingw32
|
|
|
|
</userinput></screen>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
|
|
|
|
2024-09-24 18:57:33 +08:00
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
2024-04-27 16:13:48 +08:00
|
|
|
|
|
|
|
</sect3>
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
<parameter>--prefix=/usr/*</parameter>: This option installs
|
|
|
|
the files to their respective architecture for better separation
|
|
|
|
of architectures.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
<parameter>--enable-sdk=all</parameter>: This option enables
|
|
|
|
the full SDK.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
<parameter>--host=*</parameter>: This option builds files for
|
|
|
|
the architecture passed to it.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
|
|
|
<segtitle>Installed Libraries</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
|
|
|
<seg>
|
|
|
|
None
|
|
|
|
</seg>
|
|
|
|
<seg>
|
|
|
|
None
|
|
|
|
</seg>
|
|
|
|
<seg>
|
|
|
|
/usr/{i686,x86_64}-w64-mingw32/include
|
|
|
|
</seg>
|
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
</sect1>
|