mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 06:52:14 +08:00
193 lines
5.0 KiB
XML
193 lines
5.0 KiB
XML
<?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 " ">
|
|
<!ENTITY mingw-w64-md5sum "6c621754f7076548e57cfc432ec6de51">
|
|
<!ENTITY mingw-w64-size "11 MB">
|
|
<!ENTITY mingw-w64-buildsize "UNKNOWN MB">
|
|
<!ENTITY mingw-w64-time "UNKNOWN SBU">
|
|
]>
|
|
|
|
<sect1 id="mingw-w64-crt" xreflabel="MinGW-w64-CRT-&mingw-w64-version;">
|
|
<?dbhtml filename="mingw-w64-crt.html"?>
|
|
|
|
|
|
<title>MinGW-w64-CRT-&mingw-w64-version;</title>
|
|
|
|
<indexterm zone="mingw-w64-crt">
|
|
<primary sortas="a-mingw-w64-crt">mingw-w64-crt</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to MinGW-w64-CRT</title>
|
|
|
|
<para>
|
|
MinGW-w64-CRT provides runtime libraries needed by Windows,
|
|
ranging from basic C and C++ operations to providing DirectX
|
|
libraries used by many applications including games.
|
|
</para>
|
|
|
|
&lfs121_checked;
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
<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>
|
|
<listitem>
|
|
<para>
|
|
Download MD5 sum: &mingw-w64-md5sum;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download size: &mingw-w64-size;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated disk space required: &mingw-w64-buildsize;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated build time: &mingw-w64-time;
|
|
</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<bridgehead renderas="sect3">MinGW-w64-CRT Dependencies</bridgehead>
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
<para role="required">
|
|
<xref linkend="mingw-w64-binary"/>,
|
|
<xref linkend="mingw-w64-binutils"/>, and
|
|
<xref linkend="mingw-w64-headers"/>
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of MinGW-w64-CRT</title>
|
|
|
|
<sect3>
|
|
<title>x86_64 MinGW-w64-CRT</title>
|
|
|
|
<para>
|
|
Install x86_64 <application>MinGW-w64-CRT</application>
|
|
by running the following commands:
|
|
</para>
|
|
|
|
<screen><userinput>mkdir build-x86_64-crt &&
|
|
cd build-x86_64-crt
|
|
|
|
../mingw-w64-crt/configure --prefix=/usr/x86_64-w64-mingw32 \
|
|
--disable-lib32 \
|
|
--enable-lib64 \
|
|
--host=x86_64-w64-mingw32 \
|
|
--enable-wildcard
|
|
|
|
make</userinput></screen>
|
|
|
|
<para>
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
</para>
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
</sect3>
|
|
|
|
<sect3>
|
|
<title>i686 MinGW-w64-CRT</title>
|
|
|
|
<para>
|
|
Install i686 <application>MinGW-w64-CRT</application>
|
|
by running the following commands:
|
|
</para>
|
|
|
|
<screen><userinput>mkdir build-i686-crt &&
|
|
cd build-i686-crt
|
|
|
|
../mingw-w64-crt/configure --prefix=/usr/i686-w64-mingw32 \
|
|
--disable-lib64 \
|
|
--enable-lib32 \
|
|
--host=i686-w64-mingw32 \
|
|
--enable-wildcard
|
|
|
|
make</userinput></screen>
|
|
|
|
<para>
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
</para>
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
</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>--{dis,en}able-lib{32,64}</parameter>: These options
|
|
first disable the library format not used by the architecture
|
|
then enables the library format that is used by the architecture.
|
|
</para>
|
|
|
|
<para>
|
|
<parameter>--host=*</parameter>: This option builds files for
|
|
the architecture passed to it.
|
|
</para>
|
|
|
|
<para>
|
|
<parameter>--enable-wildcard</parameter>: This option enables
|
|
command line globbing.
|
|
</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>
|
|
Various static libraries needed by Windows. To see the whole
|
|
list, visit <ulink
|
|
url="https://archlinux.org/packages/extra/any/mingw-w64-crt/"/>
|
|
and see <emphasis>"Package Contents"</emphasis>.
|
|
</seg>
|
|
<seg>
|
|
None
|
|
</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|