Setting the line endings and keywords on a bunch of new text files
[freeglut] / README.mingw_cross
1 Cross-compilation from GNU/Linux (static and shared DLL)
2 ========================================================
3
4 Install MinGW32 and prepare FreeGLUT on Debian/Ubuntu:
5
6   apt-get install mingw32
7   ./configure --host=i586-mingw32msvc --prefix=/freeglut
8
9 Install MinGW32 and prepare FreeGLUT on Fedora:
10
11   yum install mingw32-gcc
12   ./configure --host=i686-pc-mingw32 --prefix=/freeglut
13
14 Cross-compile!
15
16   make
17   make install DESTDIR=$(pwd)
18
19 Everything is in the new freeglut/ directory.
20 The .dll is in the freeglut/bin/.
21
22
23 Compilation of your own programs is done as usual.
24 See README.cygwin_mingw for details.