<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Setup_mingw</title><link>https://sourceforge.net/p/plplot/wiki/Setup_mingw/</link><description>Recent changes to Setup_mingw</description><atom:link href="https://sourceforge.net/p/plplot/wiki/Setup_mingw/feed" rel="self"/><language>en</language><lastBuildDate>Sat, 03 Nov 2018 21:16:21 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/plplot/wiki/Setup_mingw/feed" rel="self" type="application/rss+xml"/><item><title>Setup_mingw modified by Alan W. Irwin</title><link>https://sourceforge.net/p/plplot/wiki/Setup_mingw/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -1,3 +1,15 @@
+
+
 Setup MinGW command line tools
 ------------------------------

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alan W. Irwin</dc:creator><pubDate>Sat, 03 Nov 2018 21:16:21 -0000</pubDate><guid>https://sourceforge.netfc3c490e5dea69b1e31f68f55de402929ef2af18</guid></item><item><title>Setup_mingw modified by Alan W. Irwin</title><link>https://sourceforge.net/p/plplot/wiki/Setup_mingw/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alan W. Irwin</dc:creator><pubDate>Sun, 05 Oct 2014 20:02:17 -0000</pubDate><guid>https://sourceforge.net7c9a5ddc932cad96927f58fcc005c85c70f6abfe</guid></item><item><title>Setup_mingw modified by Alan W. Irwin</title><link>https://sourceforge.net/p/plplot/wiki/Setup_mingw/</link><description>&lt;div class="markdown_content"&gt;&lt;h2 id="setup-mingw-command-line-tools"&gt;Setup MinGW command line tools&lt;/h2&gt;
&lt;p&gt;MinGW (&lt;a class="" href="http://www.mingw.org" rel="nofollow"&gt;MinGW Homepage&lt;/a&gt;) a collection of freely available and freely distributable Windows specific header files and import libraries, augmenting the GNU Compiler Collection, (GCC), and its associated tools, (GNU binutils). MinGW provides a complete Open Source programming tool set which is suitable for the development of native Windows programs that do not depend on any 3rd-party C runtime DLLs.&lt;/p&gt;
&lt;h3 id="download-and-install"&gt;Download and install&lt;/h3&gt;
&lt;h4 id="official-mingw-44"&gt;Official MinGW 4.4&lt;/h4&gt;
&lt;p&gt;Recently a new version (4.4) of the MinGW command line tools were released. Since the MinGW installer only installs the old version (3.4.5) here are the instructions to install version 4.4 manually.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Download from &lt;a class="" href="http://sourceforge.net/project/showfiles.php?group_id=2435"&gt;1&lt;/a&gt;:&lt;ul&gt;
&lt;li&gt;GNU Binutils (binutils-2.19.1-mingw32-bin.tar.gz)&lt;/li&gt;
&lt;li&gt;GCC Version 4 (gcc-core-4.4.0-mingw32-bin.tar.gz, gcc-core-4.4.0-mingw32-dll.tar.gz, gcc-c++-4.4.0-mingw32-bin.tar.gz, gcc-c++-4.4.0-mingw32-dll.tar.gz, gmp-4.2.4-mingw32-dll.tar.gz, mpfr-2.4.1-mingw32-dll.tar.gz)&lt;/li&gt;
&lt;li&gt;MINGW Runtime (mingwrt-3.16-mingw32-dev.tar.gz, mingwrt-3.16-mingw32-dll.tar.gz)&lt;/li&gt;
&lt;li&gt;Windows 32 API (w32api-3.13-mingw32-dev.tar.gz)&lt;/li&gt;
&lt;li&gt;GNU Make (mingw32-make-3.81-20080326-3.tar.gz)&lt;/li&gt;
&lt;li&gt;MinGW Utilities (mingw-utils-0.3.tar.gz)&lt;/li&gt;
&lt;li&gt;GNU Source-Level Debugger (gdb-6.8-mingw-3.tar.bz2) - optional&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id="alternative-tdms-experimental-builds"&gt;Alternative - TDM's experimental builds&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;The easiest way is to download the latest &lt;a class="" href="http://sourceforge.net/projects/tdm-gcc/files/TDM-MinGW%20Installer"&gt;On demand TDM/MinGW Installer&lt;/a&gt; (&lt;a class="" href="http://www.tdragon.net/recentgcc" rel="nofollow"&gt;TDM's Experimental GCC/MinGW32 Builds&lt;/a&gt;) and run it. This installer allows you to download and install the official MinGW command line tools 3.4.5 and the unofficial TDM's experimental GCC/MinGW32 builds (gcc 4.4.1).&lt;/li&gt;
&lt;li&gt;Run the installer and press 'Create'. As installation directory I chose &lt;tt&gt;c:\MinGW-3.4.5&lt;/tt&gt; or &lt;tt&gt;c:\MinGW-4.4.1&lt;/tt&gt; depending on the gcc version I selected. To install gcc 4.4.1 choose the 'TDM-GCC Recommended, C/C++' type of install for gcc 3.4.5 choose 'MinGW stable, C/C++'. In addtion you can choose a fortran, ada, objc and objc++ language extension. After clicking 'Install' the packages will be downloaded and installed in the given directory.&lt;/li&gt;
&lt;li&gt;The only thing which is not installed is the make tool. Therefore go to the &lt;a class="" href="http://sourceforge.net/project/showfiles.php?group_id=2435&amp;amp;package_id=23918&amp;amp;release_id=587379"&gt;file release site of MinGW&lt;/a&gt; and download &lt;tt&gt;mingw32-make-3.81-20080326-3.tar.gz&lt;/tt&gt; and extract the content with &lt;a class="" href="http://www.7-zip.org" rel="nofollow"&gt;your favorite zip tool&lt;/a&gt; in to the MinGW installation directory.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="setup"&gt;Setup&lt;/h3&gt;
&lt;p&gt;To configure and compile plplot with MinGW it is best to use the Windows CLI. Please follow the instructions in &lt;a class="" href="../Setup_Windows_CLI"&gt;Setup Windows CLI&lt;/a&gt; to get the Windows Command Line Interface ready for development. Then open your &lt;a class="" href="http://www.scintilla.org/SciTE.html" rel="nofollow"&gt;favorite text editor&lt;/a&gt; and enter the following CLI commands&lt;/p&gt;
&lt;p&gt;&lt;code&gt;@echo off&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;rem setup MinGW compiler&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;set MINGWDIR=C:\\MinGW-4.3.1&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;set PATH=%MINGWDIR%\\bin;%PATH%&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;rem add Ada support if you installed the ada package&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;set CMAKE_LIBRARY_PATH=%MINGWDIR%\\lib\\gcc\\mingw32\\4.3.1\\adalib;%CMAKE_LIBRARY_PATH%&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;rem setup PLplot library&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;set PLPLOTDIR=path_to_plplot&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;set PLPLOT_LIB=%PLPLOTDIR%\\data&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;set PATH=%PLPLOTDIR%\\dll;%PATH%&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;and save this to e.g. &lt;tt&gt;mingwvars.bat&lt;/tt&gt;. If you installed the MinGW 3.4.5 command line tools, exchange in the script &lt;tt&gt;4.3.1&lt;/tt&gt; with &lt;tt&gt;3.4.5&lt;/tt&gt; (twice). Start you Windows CLI, cd into the directory where the batch file was saved and run &lt;tt&gt;mingwvars.bat&lt;/tt&gt;. Run &lt;tt&gt;gcc --version&lt;/tt&gt;, &lt;tt&gt;gfortran --version&lt;/tt&gt; and &lt;tt&gt;gnat&lt;/tt&gt; to see if everything works. Your MinGW developing environment is now ready.&lt;/p&gt;
&lt;p&gt;The content of this page is available under the &lt;a class="" href="http://www.gnu.org/copyleft/fdl.html" rel="nofollow"&gt;GNU Free Documentation License 1.2&lt;/a&gt;.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alan W. Irwin</dc:creator><pubDate>Sat, 04 Oct 2014 06:12:32 -0000</pubDate><guid>https://sourceforge.net5efcd58bad7f45a6dc6625ae3cf7e00ef2ce1237</guid></item></channel></rss>