summaryrefslogtreecommitdiff
path: root/portaudio/doc/src/tutorial/compile_windows_mingw.dox
blob: 30143dc501de9f1e89db8e314203c8830c6c764e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/** @page compile_windows_mingw Building Portaudio for Windows with MinGW
@ingroup tutorial

@section comp_mingw1 Portaudio for Windows With MinGW

<strong>This document contains old or out-of-date information. Please see
a draft of new MinGW information on our
Wiki: <a href="https://github.com/PortAudio/portaudio/wiki/Notes_about_building_PortAudio_with_MinGW">
PortAudio Wiki: Notes about building PortAudio with MinGW</a></strong>

= MinGW/MSYS =

From the [http://www.mingw.org MinGW projectpage]:

MinGW: 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.

MSYS: A Minimal SYStem providing a POSIX compatible Bourne shell
environment, with a small collection of UNIX command line
tools. Primarily developed as a means to execute the configure
scripts and Makefiles used to build Open Source software, but
also useful as a general purpose command line interface to
replace Windows cmd.exe.

MinGW provides a compiler/linker toolchain while MSYS is required
to actually run the PortAudio configure script.

Once MinGW and MSYS are installed (see the [http://www.mingw.org/MinGWiki MinGW-Wiki]) open an MSYS shell and run the famous:

@code
./configure
make
make install
@endcode

The above should create a working version though you might want to
provide '--prefix=<path-to-install-dir>' to configure.

'./configure --help' gives details as to what can be tinkered with.

--- Mikael Magnusson

To update your copy or check out a fresh copy of the source

[wiki:UsingThePortAudioSvnRepository  SVN instructions]

--- Bob !McGwier

Back to the Tutorial: \ref tutorial_start

*/